postgresqlPackages.pg_relusage: modernize

This commit is contained in:
Wolfgang Walther
2025-03-18 18:16:52 +01:00
parent 5c1b9628b8
commit 06bcba6c00
+10 -10
View File
@@ -1,9 +1,9 @@
{
lib,
stdenv,
fetchFromGitHub,
postgresql,
buildPostgresqlExtension,
fetchFromGitHub,
lib,
postgresql,
stdenv,
}:
buildPostgresqlExtension rec {
@@ -12,16 +12,16 @@ buildPostgresqlExtension rec {
src = fetchFromGitHub {
owner = "adept";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "8hJNjQ9MaBk3J9a73l+yQMwMW/F2N8vr5PO2o+5GvYs=";
repo = "pg_relusage";
tag = "${version}";
hash = "sha256-8hJNjQ9MaBk3J9a73l+yQMwMW/F2N8vr5PO2o+5GvYs=";
};
meta = with lib; {
meta = {
description = "pg_relusage extension for PostgreSQL: discover and log the relations used in your statements";
homepage = "https://github.com/adept/pg_relusage";
maintainers = with maintainers; [ thenonameguy ];
maintainers = with lib.maintainers; [ thenonameguy ];
platforms = postgresql.meta.platforms;
license = licenses.postgresql;
license = lib.licenses.postgresql;
};
}