Merge pull request #232937 from jz8132543/feat-repmgr

postgresql15Packages.repmgr: 5.3.2 -> 5.4.0
This commit is contained in:
Mario Rodas 2023-05-21 18:30:52 -05:00 committed by GitHub
commit 85208753be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];
};
}