Merge pull request #65859 from marsam/update-postgresqlPackages.pg_auto_failover

postgresqlPackages.pg_auto_failover: 1.0.2 -> 1.0.3
This commit is contained in:
Mario Rodas 2019-08-04 09:12:36 -05:00 committed by GitHub
commit 32d359ff45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,20 +1,20 @@
{ stdenv, fetchFromGitHub, postgresql, openssl }:
{ stdenv, fetchFromGitHub, postgresql, openssl, zlib, readline }:
if stdenv.lib.versionOlder postgresql.version "10"
then throw "pg_auto_failover not supported for PostgreSQL ${postgresql.version}"
else
stdenv.mkDerivation rec {
pname = "pg_auto_failover";
version = "1.0.2";
version = "1.0.3";
src = fetchFromGitHub {
owner = "citusdata";
repo = pname;
rev = "v${version}";
sha256 = "1296zk143y9fvmcg2hjbrjdjfhi5rrd0clh16vblkghcvxrzfyvy";
sha256 = "0mggf5h6gh2mck75dmz5w63gi7d10pqs58fdp2jdpv3am75picll";
};
buildInputs = [ postgresql openssl ];
buildInputs = [ postgresql openssl zlib readline ];
installPhase = ''
install -D -t $out/bin src/bin/pg_autoctl/pg_autoctl