Merge pull request #263831 from whiteley/wslay-init
wslay: init at 1.1.1
This commit is contained in:
@@ -0,0 +1,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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user