postgresqlPackages.pg_topn: modernize
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
postgresql,
|
||||
buildPostgresqlExtension,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
postgresql,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
buildPostgresqlExtension rec {
|
||||
@@ -13,16 +13,16 @@ buildPostgresqlExtension rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "citusdata";
|
||||
repo = "postgresql-topn";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-lP6Iil/BUv4ga+co+oBpKv1FBqFuBGfNjueEolM6png=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-lP6Iil/BUv4ga+co+oBpKv1FBqFuBGfNjueEolM6png=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
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 maintainers; [ thoughtpolice ];
|
||||
maintainers = with lib.maintainers; [ thoughtpolice ];
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = licenses.agpl3Only;
|
||||
license = lib.licenses.agpl3Only;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user