Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Add libwebsockets package

+29
+27
pkgs/development/libraries/libwebsockets/default.nix
···
··· 1 + { fetchgit, stdenv, cmake, openssl, zlib }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libwebsockets-1.4"; 5 + 6 + src = fetchgit { 7 + url = "git://git.libwebsockets.org/libwebsockets"; 8 + rev = "16fb0132cec0fcced29bce6d86eaf94a9beb9785"; 9 + sha256 = "fa4c81f86dfc39211b78c53c804efc19e15b81ccb05e72699220bbed27204c7d"; 10 + }; 11 + 12 + buildInputs = [ cmake openssl zlib ]; 13 + 14 + meta = { 15 + description = "Light, portable C library for websockets"; 16 + longDescription = '' 17 + Libwebsockets is a lightweight pure C library built to 18 + use minimal CPU and memory resources, and provide fast 19 + throughput in both directions. 20 + ''; 21 + homepage = https://libwebsockets.org/trac/libwebsockets; 22 + # See http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/tree/LICENSE 23 + license = stdenv.lib.licenses.gpl2Plus; 24 + maintainers = [ ]; 25 + platforms = stdenv.lib.platforms.all; 26 + }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 2147 2148 librdmacm = callPackage ../development/libraries/librdmacm { }; 2149 2150 limesurvey = callPackage ../servers/limesurvey { }; 2151 2152 logcheck = callPackage ../tools/system/logcheck {
··· 2147 2148 librdmacm = callPackage ../development/libraries/librdmacm { }; 2149 2150 + libwebsockets = callPackage ../development/libraries/libwebsockets { }; 2151 + 2152 limesurvey = callPackage ../servers/limesurvey { }; 2153 2154 logcheck = callPackage ../tools/system/logcheck {