postgresqlPackages.repmgr: modernize

This commit is contained in:
Wolfgang Walther
2025-03-18 18:17:13 +01:00
parent 8f6d6a274c
commit f95649327f
+12 -12
View File
@@ -1,12 +1,12 @@
{
lib,
stdenv,
fetchFromGitHub,
postgresql,
flex,
curl,
json_c,
buildPostgresqlExtension,
curl,
fetchFromGitHub,
flex,
json_c,
lib,
postgresql,
stdenv,
}:
buildPostgresqlExtension rec {
@@ -16,8 +16,8 @@ buildPostgresqlExtension rec {
src = fetchFromGitHub {
owner = "EnterpriseDB";
repo = "repmgr";
rev = "v${version}";
sha256 = "sha256-8G2CzzkWTKEglpUt1Gr7d/DuHJvCIEjsbYDMl3Zt3cs=";
tag = "v${version}";
hash = "sha256-8G2CzzkWTKEglpUt1Gr7d/DuHJvCIEjsbYDMl3Zt3cs=";
};
nativeBuildInputs = [ flex ];
@@ -27,11 +27,11 @@ buildPostgresqlExtension rec {
json_c
];
meta = with lib; {
meta = {
homepage = "https://repmgr.org/";
description = "Replication manager for PostgreSQL cluster";
license = licenses.postgresql;
license = lib.licenses.postgresql;
platforms = postgresql.meta.platforms;
maintainers = with maintainers; [ zimbatm ];
maintainers = with lib.maintainers; [ zimbatm ];
};
}