pgbouncer: init at 1.7.2

This commit is contained in:
Rehno Lindeque 2017-12-15 12:55:31 -05:00 committed by Orivej Desh
parent e7d4784a6e
commit 5eed143036
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

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