2017-12-15 17:55:31 +00:00
|
|
|
{ stdenv, fetchurl, openssl, libevent }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pgbouncer-${version}";
|
2018-08-19 21:47:48 +01:00
|
|
|
version = "1.9.0";
|
2017-12-15 17:55:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pgbouncer.github.io/downloads/files/${version}/${name}.tar.gz";
|
2018-08-19 21:47:48 +01:00
|
|
|
sha256 = "012zh9l68r1ramrd66yam6y3al0i85dvvg4wwwkn6qwq6dhskv1r";
|
2017-12-15 17:55:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libevent openssl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://pgbouncer.github.io;
|
|
|
|
description = "Lightweight connection pooler for PostgreSQL";
|
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|