mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
28 lines
711 B
Nix
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;
|
|
};
|
|
}
|