summary refs log tree commit diff
path: root/pkgs/servers/sql/pgbouncer/default.nix
blob: ef8b77ad11765e1434ea77498b0708b4572be8d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, openssl, libevent }:

stdenv.mkDerivation rec {
  name = "pgbouncer-${version}";
  version = "1.9.0";

  src = fetchurl {
    url = "https://pgbouncer.github.io/downloads/files/${version}/${name}.tar.gz";
    sha256 = "012zh9l68r1ramrd66yam6y3al0i85dvvg4wwwkn6qwq6dhskv1r";
  };

  buildInputs = [ libevent openssl ];

  meta = with stdenv.lib; {
    homepage = https://pgbouncer.github.io;
    description = "Lightweight connection pooler for PostgreSQL";
    license = licenses.isc;
    platforms = platforms.linux;
  };
}