nixpkgs/pkgs/development/tools/wasmserve/default.nix
2024-08-16 18:23:20 +10:00

27 lines
559 B
Nix

{
buildGoModule,
lib,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "wasmserve";
version = "1.1.0";
src = fetchFromGitHub {
owner = "hajimehoshi";
repo = "wasmserve";
rev = "v${version}";
hash = "sha256-e+pHwk+xJVc+Ki0iJC2B+W8ZN4mEawEQNyGhwITBDlo=";
};
vendorHash = null;
meta = with lib; {
description = "HTTP server for testing Wasm";
mainProgram = "wasmserve";
homepage = "https://github.com/hajimehoshi/wasmserve";
license = licenses.asl20;
maintainers = with maintainers; [ kirillrdy ];
};
}