postgresql15Packages.repmgr: 5.3.2 -> 5.4.0

This commit is contained in:
jz8132543 2023-05-20 12:08:48 +08:00
parent fa727acb68
commit ac0e09e17a
No known key found for this signature in database

View File

@ -1,25 +1,29 @@
{ lib, stdenv, fetchFromGitHub
{ lib
, stdenv
, fetchFromGitHub
, postgresql
, openssl
, zlib
, readline
, flex
, curl
, json_c
}:
stdenv.mkDerivation rec {
pname = "repmgr";
version = "5.3.2";
version = "5.4.0";
src = fetchFromGitHub {
owner = "2ndQuadrant";
owner = "EnterpriseDB";
repo = "repmgr";
rev = "v${version}";
sha256 = "sha256-M8FMin9y6nAiPYeT5pUUy0KyZ1dkuH708GshZ6GoXXw=";
sha256 = "sha256-QUxLqCZIopvqDncpaA8bxm9MHvO6R6jPrcd8hF8lqQs=";
};
nativeBuildInputs = [ flex ];
buildInputs = [ postgresql openssl zlib readline ];
buildInputs = [ postgresql openssl zlib readline curl json_c ];
installPhase = ''
mkdir -p $out/{bin,lib,share/postgresql/extension}
@ -38,3 +42,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ zimbatm ];
};
}