e1573ae30b
Thanks, deadnix.
28 lines
711 B
Nix
28 lines
711 B
Nix
{
|
|
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;
|
|
};
|
|
}
|