postgresqlPackages.pg_topn: modernize

This commit is contained in:
Wolfgang Walther
2025-03-18 18:16:57 +01:00
parent 72ac83aadd
commit 4d8242ed1b
+9 -9
View File
@@ -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;
};
}