2024-08-16 08:22:28 +00:00
|
|
|
{
|
|
|
|
buildGoModule,
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
2023-04-28 07:01:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "wasmserve";
|
2024-08-16 08:22:28 +00:00
|
|
|
version = "1.1.0";
|
2023-04-28 07:01:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hajimehoshi";
|
|
|
|
repo = "wasmserve";
|
|
|
|
rev = "v${version}";
|
2024-08-16 08:22:28 +00:00
|
|
|
hash = "sha256-e+pHwk+xJVc+Ki0iJC2B+W8ZN4mEawEQNyGhwITBDlo=";
|
2023-04-28 07:01:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "HTTP server for testing Wasm";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "wasmserve";
|
2023-04-28 07:01:32 +00:00
|
|
|
homepage = "https://github.com/hajimehoshi/wasmserve";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ kirillrdy ];
|
|
|
|
};
|
|
|
|
}
|