Merge pull request #318848 from vifino/haproxy-3.0.1

haproxy: 2.9.7 -> 3.0.2
This commit is contained in:
Peder Bergebakken Sundt
2024-06-24 14:41:04 +02:00
committed by GitHub
+3 -5
View File
@@ -14,7 +14,6 @@
, openssl
, lua5_4
, pcre2
, systemd
}:
assert lib.assertOneOf "sslLibrary" sslLibrary [ "quictls" "openssl" "libressl" "wolfssl" ];
@@ -29,17 +28,16 @@ let
sslPkg = sslPkgs.${sslLibrary};
in stdenv.mkDerivation (finalAttrs: {
pname = "haproxy";
version = "2.9.7";
version = "3.0.2";
src = fetchurl {
url = "https://www.haproxy.org/download/${lib.versions.majorMinor finalAttrs.version}/src/haproxy-${finalAttrs.version}.tar.gz";
hash = "sha256-0aClbwCKjS8Ae8DDffaylSUg0fTd4zuNOAJxDlFYwTE=";
hash = "sha256-lnLuQ7EJ8ZNWw11yaHsiLc+CuHk2DG6CZ3OXN2z13DY=";
};
buildInputs = [ sslPkg zlib libxcrypt ]
++ lib.optional useLua lua5_4
++ lib.optional usePcre pcre2
++ lib.optional stdenv.isLinux systemd;
++ lib.optional usePcre pcre2;
# TODO: make it work on bsd as well
makeFlags = [