depot/third_party/nixpkgs/pkgs/servers/sql/pgbouncer/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
646 B
Nix

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