aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/networking/haproxy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/networking/haproxy/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/tools/networking/haproxy/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/networking/haproxy/default.nix b/infra/libkookie/nixpkgs/pkgs/tools/networking/haproxy/default.nix
index 91112a2628e2..9f01962250dc 100644
--- a/infra/libkookie/nixpkgs/pkgs/tools/networking/haproxy/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/tools/networking/haproxy/default.nix
@@ -1,7 +1,7 @@
{ useLua ? !stdenv.isDarwin
, usePcre ? true
, withPrometheusExporter ? true
-, stdenv, lib, fetchurl
+, stdenv, lib, fetchurl, nixosTests
, openssl, zlib
, lua5_3 ? null, pcre ? null, systemd ? null
}:
@@ -11,11 +11,11 @@ assert usePcre -> pcre != null;
stdenv.mkDerivation rec {
pname = "haproxy";
- version = "2.2.2";
+ version = "2.3.2";
src = fetchurl {
url = "https://www.haproxy.org/download/${stdenv.lib.versions.majorMinor version}/src/${pname}-${version}.tar.gz";
- sha256 = "1mjld865p4f7i465fcc5c4jclih1c3345a3ylriql8668rd7071r";
+ sha256 = "1mcg0d6qiwl3xps65ir2sv5sc868zla5wnfhk24d2b0sg6xp7jwr";
};
buildInputs = [ openssl zlib ]
@@ -51,6 +51,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
+ passthru.tests.haproxy = nixosTests.haproxy;
+
meta = with lib; {
description = "Reliable, high performance TCP/HTTP load balancer";
longDescription = ''