diff --git a/pkgs/development/tools/wasmserve/default.nix b/pkgs/development/tools/wasmserve/default.nix new file mode 100644 index 000000000000..3248082e2a4c --- /dev/null +++ b/pkgs/development/tools/wasmserve/default.nix @@ -0,0 +1,25 @@ +{ buildGoModule +, lib +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "wasmserve"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "hajimehoshi"; + repo = "wasmserve"; + rev = "v${version}"; + hash = "sha256-KlCbUre6yIorE1ZM++Rto8vgwVGsC1wZj1xCd3AwQy0="; + }; + + vendorHash = null; + + meta = with lib; { + description = "An HTTP server for testing Wasm"; + homepage = "https://github.com/hajimehoshi/wasmserve"; + license = licenses.asl20; + maintainers = with maintainers; [ kirillrdy ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 169df87d521c..20da3dd8e4bd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14209,6 +14209,8 @@ with pkgs; wasmi = callPackage ../development/tools/wasmi { }; + wasmserve = callPackage ../development/tools/wasmserve {}; + welkin = callPackage ../tools/graphics/welkin { }; wemux = callPackage ../tools/misc/wemux { };