libwebsockets: add 4.2.0

This commit is contained in:
Rick van Schijndel
2021-05-15 18:51:48 +02:00
parent 80a3e0dc0e
commit aeec6cbdb1
2 changed files with 9 additions and 1 deletions
@@ -20,6 +20,8 @@ let
"-DLWS_WITH_PLUGINS=ON"
"-DLWS_WITH_IPV6=ON"
"-DLWS_WITH_SOCKS5=ON"
# Required since v4.2.0
"-DLWS_BUILD_HASH=no_hash"
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-DLWS_WITHOUT_TESTAPPS=ON";
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable";
@@ -61,4 +63,9 @@ rec {
version = "4.1.6";
sha256 = "0x56v4hsx92vm1zibfmnqb5g3v23kzciffn3fjlsc3sly2pknhsg";
};
libwebsockets_4_2 = generic {
version = "4.2.0";
sha256 = "glnLGXniero/5CW/1TBPZngdOM6gww8DnT5wiX66sW0=";
};
}
+2 -1
View File
@@ -6502,7 +6502,8 @@ in
libwebsockets_3_1
libwebsockets_3_2
libwebsockets_4_0
libwebsockets_4_1;
libwebsockets_4_1
libwebsockets_4_2;
libwebsockets = libwebsockets_3_2;
licensee = callPackage ../tools/package-management/licensee { };