1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/servers/sql/pgbouncer/default.nix

21 lines
545 B
Nix
Raw Normal View History

2017-12-15 17:55:31 +00:00
{ stdenv, fetchurl, openssl, libevent }:
stdenv.mkDerivation rec {
name = "pgbouncer-${version}";
version = "1.8.1";
2017-12-15 17:55:31 +00:00
src = fetchurl {
url = "https://pgbouncer.github.io/downloads/files/${version}/${name}.tar.gz";
sha256 = "1j4d7rkivg3vg27pvirigq9cy4v7pi48x7w57baq131c5lmdx2zs";
2017-12-15 17:55:31 +00:00
};
buildInputs = [ libevent openssl ];
meta = with stdenv.lib; {
homepage = https://pgbouncer.github.io;
description = "Lightweight connection pooler for PostgreSQL";
license = licenses.isc;
platforms = platforms.linux;
};
}