Files
nixpkgs/pkgs/servers/sql/postgresql/ext/pg_topn.nix
2026-07-27 12:52:15 +00:00

28 lines
711 B
Nix

{
fetchFromGitHub,
lib,
postgresql,
postgresqlBuildExtension,
}:
postgresqlBuildExtension rec {
pname = "pg_topn";
version = "2.7.1";
src = fetchFromGitHub {
owner = "citusdata";
repo = "postgresql-topn";
tag = "v${version}";
hash = "sha256-cQW3aGCN0BZB0gmwnUtQHz+Rjt1V38eGXsTNNm9o28U=";
};
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;
};
}