summaryrefslogtreecommitdiff
path: root/pkgs/servers/sql/postgresql/ext/pg_topn.nix
blob: a0db77291f2f00976c65cbe40e66eb0a18f4a019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  fetchFromGitHub,
  lib,
  postgresql,
  postgresqlBuildExtension,
}:

postgresqlBuildExtension rec {
  pname = "pg_topn";
  version = "2.7.0";

  src = fetchFromGitHub {
    owner = "citusdata";
    repo = "postgresql-topn";
    tag = "v${version}";
    hash = "sha256-lP6Iil/BUv4ga+co+oBpKv1FBqFuBGfNjueEolM6png=";
  };

  meta = {
    description = "Efficient querying of 'top values' for PostgreSQL";
    homepage = "https://github.com/citusdata/postgresql-topn";
    changelog = "https://github.com/citusdata/postgresql-topn/raw/v${version}/CHANGELOG.md";
    maintainers = with lib.maintainers; [ thoughtpolice ];
    platforms = postgresql.meta.platforms;
    license = lib.licenses.agpl3Only;
  };
}