26 lines
526 B
Nix
26 lines
526 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|