diff options
Diffstat (limited to 'pkgs/servers/sql/pgpool/default.nix')
-rw-r--r-- | pkgs/servers/sql/pgpool/default.nix | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/pkgs/servers/sql/pgpool/default.nix b/pkgs/servers/sql/pgpool/default.nix deleted file mode 100644 index f1762be17f2c..000000000000 --- a/pkgs/servers/sql/pgpool/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ lib -, stdenv -, fetchurl -, postgresql -, openssl -, libxcrypt -, withPam ? stdenv.isLinux -, pam -}: - -stdenv.mkDerivation rec { - pname = "pgpool-II"; - version = "4.5.2"; - - src = fetchurl { - url = "https://www.pgpool.net/mediawiki/download.php?f=pgpool-II-${version}.tar.gz"; - name = "pgpool-II-${version}.tar.gz"; - hash = "sha256-SArCPwHNfWyFayk4a/F6hIcS+0tAV9TIq9XIv4Gb3wY="; - }; - - buildInputs = [ - postgresql - openssl - libxcrypt - ] ++ lib.optional withPam pam; - - configureFlags = [ - "--sysconfdir=/etc" - "--localstatedir=/var" - "--with-openssl" - ] ++ lib.optional withPam "--with-pam"; - - installFlags = [ - "sysconfdir=\${out}/etc" - ]; - - patches = lib.optionals (stdenv.isDarwin) [ - # Build checks for strlcpy being available in the system, but doesn't - # actually exclude its own copy from being built - ./darwin-strlcpy.patch - ]; - - enableParallelBuilding = true; - - meta = with lib; { - homepage = "https://www.pgpool.net/mediawiki/index.php/Main_Page"; - description = "Middleware that works between PostgreSQL servers and PostgreSQL clients"; - changelog = "https://www.pgpool.net/docs/latest/en/html/release-${builtins.replaceStrings ["."] ["-"] version}.html"; - license = licenses.free; - platforms = platforms.unix; - maintainers = [ ]; - }; -} |