2017-12-15 18:55:31 +01:00
|
|
|
{ stdenv, fetchurl, openssl, libevent }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pgbouncer-${version}";
|
2018-03-15 08:45:17 +01:00
|
|
|
version = "1.8.1";
|
2017-12-15 18:55:31 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pgbouncer.github.io/downloads/files/${version}/${name}.tar.gz";
|
2018-03-15 08:45:17 +01:00
|
|
|
sha256 = "1j4d7rkivg3vg27pvirigq9cy4v7pi48x7w57baq131c5lmdx2zs";
|
2017-12-15 18:55:31 +01: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;
|
|
|
|
};
|
|
|
|
}
|