cf3f6e7a7d
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
22 lines
646 B
Nix
22 lines
646 B
Nix
{ stdenv, fetchurl, openssl, libevent, c-ares, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pgbouncer";
|
|
version = "1.15.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://pgbouncer.github.io/downloads/files/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "100ksf2wcdrsscaiq78s030mb48hscjr3kfbm9h6y9d6i8arwnp0";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|