postgresqlPackages.repmgr: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user