Merge pull request #32716 from rehno-lindeque/pgbouncer-1.7.2

pgbouncer: init at 1.7.2
This commit is contained in:
Orivej Desh 2017-12-17 00:01:37 +00:00 committed by GitHub
commit b56e3f7125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, openssl, libevent }:
stdenv.mkDerivation rec {
name = "pgbouncer-${version}";
version = "1.7.2";
src = fetchurl {
url = "https://pgbouncer.github.io/downloads/files/${version}/${name}.tar.gz";
sha256 = "de36b318fe4a2f20a5f60d1c5ea62c1ca331f6813d2c484866ecb59265a160ba";
};
buildInputs = [ libevent openssl ];
meta = with stdenv.lib; {
homepage = https://pgbouncer.github.io;
description = "Lightweight connection pooler for PostgreSQL";
license = licenses.isc;
platforms = platforms.linux;
};
}

View File

@ -11964,6 +11964,8 @@ with pkgs;
vmfs-tools = callPackage ../tools/filesystems/vmfs-tools { };
pgbouncer = callPackage ../servers/sql/pgbouncer/default.nix { };
pgpool93 = pgpool.override { postgresql = postgresql93; };
pgpool94 = pgpool.override { postgresql = postgresql94; };