nixpkgs/pkgs/servers/sql/pgbouncer/default.nix
2019-08-17 09:39:23 +02:00

21 lines
584 B
Nix

{ stdenv, fetchurl, openssl, libevent, c-ares, pkg-config }:
stdenv.mkDerivation rec {
pname = "pgbouncer";
version = "1.10.0";
src = fetchurl {
url = "https://pgbouncer.github.io/downloads/files/${version}/${pname}-${version}.tar.gz";
sha256 = "1m8vsxyna5grs5p0vnxf3fxxnkk9aqjf3qmr2bbkpkhlzr11986q";
};
buildInputs = [ libevent openssl c-ares pkg-config ];
meta = with stdenv.lib; {
homepage = https://pgbouncer.github.io;
description = "Lightweight connection pooler for PostgreSQL";
license = licenses.isc;
platforms = platforms.all;
};
}