postgresqlPackages.pg_auto_failover: 1.0.2 -> 1.0.3
This commit is contained in:
parent
0423b5d762
commit
3b43d99e70
1 changed files with 4 additions and 4 deletions
|
@ -1,20 +1,20 @@
|
||||||
{ stdenv, fetchFromGitHub, postgresql, openssl }:
|
{ stdenv, fetchFromGitHub, postgresql, openssl, zlib, readline }:
|
||||||
|
|
||||||
if stdenv.lib.versionOlder postgresql.version "10"
|
if stdenv.lib.versionOlder postgresql.version "10"
|
||||||
then throw "pg_auto_failover not supported for PostgreSQL ${postgresql.version}"
|
then throw "pg_auto_failover not supported for PostgreSQL ${postgresql.version}"
|
||||||
else
|
else
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pg_auto_failover";
|
pname = "pg_auto_failover";
|
||||||
version = "1.0.2";
|
version = "1.0.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "citusdata";
|
owner = "citusdata";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1296zk143y9fvmcg2hjbrjdjfhi5rrd0clh16vblkghcvxrzfyvy";
|
sha256 = "0mggf5h6gh2mck75dmz5w63gi7d10pqs58fdp2jdpv3am75picll";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ postgresql openssl ];
|
buildInputs = [ postgresql openssl zlib readline ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D -t $out/bin src/bin/pg_autoctl/pg_autoctl
|
install -D -t $out/bin src/bin/pg_autoctl/pg_autoctl
|
||||||
|
|
Loading…
Reference in a new issue