2019-08-15 01:20:42 +01:00
|
|
|
{ stdenv, fetchurl, openssl, libevent, c-ares, pkg-config }:
|
2017-12-15 17:55:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pgbouncer-${version}";
|
2019-07-16 19:04:15 +01:00
|
|
|
version = "1.10.0";
|
2017-12-15 17:55:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pgbouncer.github.io/downloads/files/${version}/${name}.tar.gz";
|
2019-07-16 19:04:15 +01:00
|
|
|
sha256 = "1m8vsxyna5grs5p0vnxf3fxxnkk9aqjf3qmr2bbkpkhlzr11986q";
|
2017-12-15 17:55:31 +00:00
|
|
|
};
|
|
|
|
|
2019-08-15 01:20:42 +01:00
|
|
|
buildInputs = [ libevent openssl c-ares pkg-config ];
|
2017-12-15 17:55:31 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://pgbouncer.github.io;
|
|
|
|
description = "Lightweight connection pooler for PostgreSQL";
|
|
|
|
license = licenses.isc;
|
2019-08-15 01:20:42 +01:00
|
|
|
platforms = platforms.all;
|
2017-12-15 17:55:31 +00:00
|
|
|
};
|
|
|
|
}
|