Merge pull request #9842 from chetant/libwebsockets-1.4

Add Libwebsockets package
This commit is contained in:
lethalman 2015-09-18 16:36:30 +02:00
commit b7319c79a6
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ fetchgit, stdenv, cmake, openssl, zlib }:
stdenv.mkDerivation rec {
name = "libwebsockets-1.4";
src = fetchgit {
url = "git://git.libwebsockets.org/libwebsockets";
rev = "16fb0132cec0fcced29bce6d86eaf94a9beb9785";
sha256 = "fa4c81f86dfc39211b78c53c804efc19e15b81ccb05e72699220bbed27204c7d";
};
buildInputs = [ cmake openssl zlib ];
meta = {
description = "Light, portable C library for websockets";
longDescription = ''
Libwebsockets is a lightweight pure C library built to
use minimal CPU and memory resources, and provide fast
throughput in both directions.
'';
homepage = https://libwebsockets.org/trac/libwebsockets;
# See http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/tree/LICENSE
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -2091,6 +2091,8 @@ let
librdmacm = callPackage ../development/libraries/librdmacm { };
libwebsockets = callPackage ../development/libraries/libwebsockets { };
limesurvey = callPackage ../servers/limesurvey { };
logcheck = callPackage ../tools/system/logcheck {