mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
27 lines
557 B
Nix
27 lines
557 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";
|
|
mainProgram = "wasmserve";
|
|
homepage = "https://github.com/hajimehoshi/wasmserve";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ kirillrdy ];
|
|
};
|
|
}
|