wslay: init at 1.1.1

Grabbed from #170919
This commit is contained in:
Matt Whiteley 2023-10-27 18:08:13 +00:00
parent 3e8e178218
commit 2df0ae942d

View File

@ -0,0 +1,26 @@
{ 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=";
};
checkInputs = [ cunit ];
doCheck = true;
nativeBuildInputs = [ cmake ];
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;
};
}