nimPackages.ws: init 0.5.0
This commit is contained in:
parent
880d421944
commit
6a369a77e0
2 changed files with 23 additions and 0 deletions
21
pkgs/development/nim-packages/ws/default.nix
Normal file
21
pkgs/development/nim-packages/ws/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
})
|
|
@ -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 { };
|
||||||
|
|
Loading…
Reference in a new issue