mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
pgbouncer: init at 1.7.2
This commit is contained in:
parent
e7d4784a6e
commit
5eed143036
20
pkgs/servers/sql/pgbouncer/default.nix
Normal file
20
pkgs/servers/sql/pgbouncer/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchurl, openssl, libevent }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pgbouncer-${version}";
|
||||
version = "1.7.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pgbouncer.github.io/downloads/files/${version}/${name}.tar.gz";
|
||||
sha256 = "de36b318fe4a2f20a5f60d1c5ea62c1ca331f6813d2c484866ecb59265a160ba";
|
||||
};
|
||||
|
||||
buildInputs = [ libevent openssl ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://pgbouncer.github.io;
|
||||
description = "Lightweight connection pooler for PostgreSQL";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -11960,6 +11960,8 @@ with pkgs;
|
||||
|
||||
vmfs-tools = callPackage ../tools/filesystems/vmfs-tools { };
|
||||
|
||||
pgbouncer = callPackage ../servers/sql/pgbouncer/default.nix { };
|
||||
|
||||
pgpool93 = pgpool.override { postgresql = postgresql93; };
|
||||
pgpool94 = pgpool.override { postgresql = postgresql94; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user