Merge pull request #111355 from fabaff/libwebsockets

This commit is contained in:
Sandro 2021-01-31 19:13:14 +01:00 committed by GitHub
commit 9e81867a53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -32,7 +32,9 @@ let
throughput in both directions.
'';
homepage = "https://libwebsockets.org/";
license = licenses.lgpl21;
# Relicensed from LGPLv2.1+ to MIT with 4.0. Licensing situation
# is tricky, see https://github.com/warmcat/libwebsockets/blob/main/LICENSE
license = with licenses; [ mit publicDomain bsd3 asl20 ];
platforms = platforms.all;
};
};
@ -50,7 +52,12 @@ rec {
};
libwebsockets_4_0 = generic {
version = "4.0.1";
sha256 = "1pf7km0w5q7dqlwcwqizdpfqgg10prfq8g2c093f5nghwsfv8mmf";
version = "4.0.21";
sha256 = "01k05x4711ngin598jr9dag4ml3m7hi6pkgr4dsb02ryh1kc6146";
};
libwebsockets_4_1 = generic {
version = "4.1.6";
sha256 = "0x56v4hsx92vm1zibfmnqb5g3v23kzciffn3fjlsc3sly2pknhsg";
};
}

View file

@ -5954,7 +5954,8 @@ in
inherit (callPackages ../development/libraries/libwebsockets { })
libwebsockets_3_1
libwebsockets_3_2
libwebsockets_4_0;
libwebsockets_4_0
libwebsockets_4_1;
libwebsockets = libwebsockets_3_2;
licensee = callPackage ../tools/package-management/licensee { };