mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
a815dd730b
* pgbouncer: 1.11.0 -> 1.12.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pgbouncer/versions * pgbouncer: enable parallel builds + move pkgconfig to nativeBuildInputs
23 lines
646 B
Nix
23 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;
|
|
};
|
|
}
|