pgpool: Add derivation
This commit is contained in:
parent
69bf3bd070
commit
478e4b46d1
20
pkgs/servers/sql/pgpool/default.nix
Normal file
20
pkgs/servers/sql/pgpool/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user