libwebsockets: add 4.2.0
This commit is contained in:
@@ -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=";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user