6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
23 lines
690 B
Nix
23 lines
690 B
Nix
{ lib, stdenv, fetchurl, openssl, libevent, c-ares, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pgbouncer";
|
|
version = "1.18.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.pgbouncer.org/downloads/files/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-k0nJ5Z9viBVjVPT2ryfNsBSiNbAK4YTLqjdoi9DfVEw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ libevent openssl c-ares ];
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.pgbouncer.org/";
|
|
description = "Lightweight connection pooler for PostgreSQL";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ _1000101 ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|