blob: ed6c0c9b67354cf0821875b86abb3186fa19dd8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ stdenv, lib, fetchFromGitHub, cmake, cunit }:
stdenv.mkDerivation rec {
pname = "wslay";
version = "1.1.1";
src = fetchFromGitHub {
owner = "tatsuhiro-t";
repo = "wslay";
rev = "release-${version}";
hash = "sha256-xKQGZO5hNzMg+JYKeqOBsu73YO+ucBEOcNhG8iSNYvA=";
};
strictDeps = true;
nativeBuildInputs = [ cmake ];
cmakeFlags = [
(lib.cmakeBool "WSLAY_TESTS" true)
];
doCheck = true;
checkInputs = [ cunit ];
meta = with lib; {
homepage = "https://tatsuhiro-t.github.io/wslay/";
description = "The WebSocket library in C";
license = with licenses; [ mit ];
maintainers = with maintainers; [ pingiun ];
platforms = platforms.unix;
};
}
|