nimPackages.ws: init 0.5.0

This commit is contained in:
Emery Hemingway 2023-07-18 10:24:14 +01:00
parent 880d421944
commit 6a369a77e0
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ lib, buildNimPackage, fetchFromGitHub }:
buildNimPackage (finalAttrs: {
pname = "ws";
version = "0.5.0";
src = fetchFromGitHub {
owner = "treeform";
repo = "ws";
rev = finalAttrs.version;
hash = "sha256-3wVi6CjMTjcc5MJEozJN6W3TuYDb53w2MDCsv6lMH0k=";
};
preCheck = ''
rm tests/test_ws.nim tests/test_timeout.nim
'';
meta = finalAttrs.src.meta // {
description = "Simple WebSocket library for Nim";
homepage = "https://github.com/treeform/ws";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ehmry ];
};
})

View file

@ -132,6 +132,8 @@ lib.makeScope newScope (self:
vmath = callPackage ../development/nim-packages/vmath { }; vmath = callPackage ../development/nim-packages/vmath { };
ws = callPackage ../development/nim-packages/ws { };
x11 = callPackage ../development/nim-packages/x11 { }; x11 = callPackage ../development/nim-packages/x11 { };
zippy = callPackage ../development/nim-packages/zippy { }; zippy = callPackage ../development/nim-packages/zippy { };