2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
buildGoModule,
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "wasmserve";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "1.1.0";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hajimehoshi";
|
|
|
|
repo = "wasmserve";
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-e+pHwk+xJVc+Ki0iJC2B+W8ZN4mEawEQNyGhwITBDlo=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "HTTP server for testing Wasm";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "wasmserve";
|
2023-08-04 22:07:22 +00:00
|
|
|
homepage = "https://github.com/hajimehoshi/wasmserve";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ kirillrdy ];
|
|
|
|
};
|
|
|
|
}
|