diff options
author | Emery Hemingway <ehmry@posteo.net> | 2023-07-18 10:24:14 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2023-08-02 11:20:26 +0100 |
commit | 6a369a77e0e325c5dc1468316fc3c4929da87c6b (patch) | |
tree | fee51f8b9ae411b05bb1c3668ebe8e4646590afd /pkgs/development/nim-packages/ws | |
parent | 880d421944b2ee7c7a5cd5f9469b22eb453082ed (diff) |
nimPackages.ws: init 0.5.0
Diffstat (limited to 'pkgs/development/nim-packages/ws')
-rw-r--r-- | pkgs/development/nim-packages/ws/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/nim-packages/ws/default.nix b/pkgs/development/nim-packages/ws/default.nix new file mode 100644 index 0000000000000..704d6d936bdae --- /dev/null +++ b/pkgs/development/nim-packages/ws/default.nix @@ -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 ]; + }; +}) |