about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2020-03-05 00:00:57 +0000
committervolth <volth@volth.com>2020-03-09 11:35:41 +0000
commit471ca1213dcdaf2f8d54f768b65925dc0f42ce49 (patch)
tree9ec0380f0bde17b0df872c1645c6cbab65b9908e /pkgs/development/libraries
parentef34994d9a4407954c2207b3e72cb3a16fc9be56 (diff)
downloadnixlib-471ca1213dcdaf2f8d54f768b65925dc0f42ce49.tar
nixlib-471ca1213dcdaf2f8d54f768b65925dc0f42ce49.tar.gz
nixlib-471ca1213dcdaf2f8d54f768b65925dc0f42ce49.tar.bz2
nixlib-471ca1213dcdaf2f8d54f768b65925dc0f42ce49.tar.lz
nixlib-471ca1213dcdaf2f8d54f768b65925dc0f42ce49.tar.xz
nixlib-471ca1213dcdaf2f8d54f768b65925dc0f42ce49.tar.zst
nixlib-471ca1213dcdaf2f8d54f768b65925dc0f42ce49.zip
libwebsockets: 3.2.0 -> 3.2.2; init as 4.0.0
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/libwebsockets/default.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libwebsockets/default.nix b/pkgs/development/libraries/libwebsockets/default.nix
index 732a529c21f4..3edde8434f02 100644
--- a/pkgs/development/libraries/libwebsockets/default.nix
+++ b/pkgs/development/libraries/libwebsockets/default.nix
@@ -17,6 +17,7 @@ let
     nativeBuildInputs = [ cmake ];
 
     cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" ];
+    NIX_CFLAGS_COMPILE = "-Wno-error=unused-but-set-variable";
 
     meta = with stdenv.lib; {
       description = "Light, portable C library for websockets";
@@ -39,9 +40,12 @@ rec {
   };
 
   libwebsockets_3_2 = generic {
-    version = "3.2.0";
-    sha256 = "0ac5755h3w1pl6cznqbvg63dwkqy544fqlhvqyp7s11hgs7jx6l8";
+    version = "3.2.2";
+    sha256 = "0m1kn4p167jv63zvwhsvmdn8azx3q7fkk8qc0fclwyps2scz6dna";
   };
 
-  libwebsockets = libwebsockets_3_2;
+  libwebsockets_4_0 = generic {
+    version = "4.0.0";
+    sha256 = "1kba64whi5lrl2y83mnqp2cqry5j28fkzlqy9x2ki6zmryh2574j";
+  };
 }