pgpool: Add derivation

This commit is contained in:
William A. Kennington III 2014-11-15 01:23:07 -08:00
parent 69bf3bd070
commit 478e4b46d1
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, postgresql }:
stdenv.mkDerivation rec {
name = "pgpool-II-3.4.0";
src = fetchurl {
url = "http://www.pgpool.net/download.php?f=${name}.tar.gz";
sha256 = "1aind5rbdld5ip92xlh4f6dgvdc4zxzgzi5n33xbvdrsrvagbc4j";
};
buildInputs = [ postgresql ];
meta = with stdenv.lib; {
homepage = http://pgpool.net/mediawiki/index.php;
description = "a middleware that works between postgresql servers and postgresql clients.";
license = licenses.free;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}

View File

@ -7657,6 +7657,16 @@ let
OVMF = callPackage ../applications/virtualization/OVMF { };
pgpool92 = callPackage ../servers/sql/pgpool/default.nix {
postgresql = postgresql92;
};
pgpool93 = callPackage ../servers/sql/pgpool/default.nix {
postgresql = postgresql93;
};
pgpool = pgpool92;
postgresql = postgresql92;
postgresql84 = callPackage ../servers/sql/postgresql/8.4.x.nix { };