Unverified Commit ac0e09e1 authored by jz8132543's avatar jz8132543
Browse files

postgresql15Packages.repmgr: 5.3.2 -> 5.4.0

parent fa727acb
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
{ 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 ];
  };
}