nixpkgs/pkgs/by-name/wa/wasmserve/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
559 B
Nix
Raw Normal View History

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";
mainProgram = "wasmserve";
2023-04-28 07:01:32 +00:00
homepage = "https://github.com/hajimehoshi/wasmserve";
license = licenses.asl20;
maintainers = with maintainers; [ kirillrdy ];
};
}