1{ stdenv, fetchurl, openssl, libevent }:
2
3stdenv.mkDerivation rec {
4 name = "pgbouncer-${version}";
5 version = "1.7.2";
6
7 src = fetchurl {
8 url = "https://pgbouncer.github.io/downloads/files/${version}/${name}.tar.gz";
9 sha256 = "de36b318fe4a2f20a5f60d1c5ea62c1ca331f6813d2c484866ecb59265a160ba";
10 };
11
12 buildInputs = [ libevent openssl ];
13
14 meta = with stdenv.lib; {
15 homepage = https://pgbouncer.github.io;
16 description = "Lightweight connection pooler for PostgreSQL";
17 license = licenses.isc;
18 platforms = platforms.linux;
19 };
20}