libwebsockets: 1.4 -> 2.3.0
This commit is contained in:
parent
28a53c8a08
commit
4916f64948
@ -1,15 +1,19 @@
|
|||||||
{ fetchgit, stdenv, cmake, openssl, zlib }:
|
{ fetchFromGitHub, stdenv, cmake, openssl, zlib, libuv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libwebsockets-1.4";
|
name = "libwebsockets-${version}";
|
||||||
|
version = "2.3.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "git://git.libwebsockets.org/libwebsockets";
|
owner = "warmcat";
|
||||||
rev = "16fb0132cec0fcced29bce6d86eaf94a9beb9785";
|
repo = "libwebsockets";
|
||||||
sha256 = "0gk4dgx125nz7wl59bx0kgxxg261r9kyxvdff5ld98slr9f08d0l";
|
rev = "v${version}";
|
||||||
|
sha256 = "1hv2b5r6sg42xnqhm4ysjvyiz3cqpfmwaqm33vpbx0k7arj4ixvy";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake openssl zlib ];
|
buildInputs = [ cmake openssl zlib ];
|
||||||
|
propagatedBuildInputs = [ libuv ];
|
||||||
|
cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Light, portable C library for websockets";
|
description = "Light, portable C library for websockets";
|
||||||
@ -19,8 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
throughput in both directions.
|
throughput in both directions.
|
||||||
'';
|
'';
|
||||||
homepage = https://libwebsockets.org/trac/libwebsockets;
|
homepage = https://libwebsockets.org/trac/libwebsockets;
|
||||||
# See http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/tree/LICENSE
|
license = stdenv.lib.licenses.lgpl;
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user