1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/development/libraries/libwebsockets/default.nix
R. RyanTM 8bb236c4d5 libwebsockets: 3.0.1 -> 3.1.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libwebsockets/versions
2018-12-17 01:03:19 +00:00

29 lines
810 B
Nix

{ fetchFromGitHub, stdenv, cmake, openssl, zlib, libuv }:
stdenv.mkDerivation rec {
name = "libwebsockets-${version}";
version = "3.1.0";
src = fetchFromGitHub {
owner = "warmcat";
repo = "libwebsockets";
rev = "v${version}";
sha256 = "1w1wz6snf3cmcpa3f4dci2nz9za2f5rrylxl109id7bcb36xhbdl";
};
buildInputs = [ cmake openssl zlib libuv ];
cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" ];
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;
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.all;
};
}