Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
756 B
Nix
40 lines
756 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
perl,
|
|
libiconv,
|
|
openssl,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "wapm-cli";
|
|
version = "0.5.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wasmerio";
|
|
repo = "wapm-cli";
|
|
rev = "v${version}";
|
|
hash = "sha256-T7YEe8xg5iwI/npisW0m+6FLi+eaAQVgYNe6TvMlhAs=";
|
|
};
|
|
|
|
cargoHash = "sha256-GW5/1/RsS5jn6DoR+wGpwNzUW+nN45cxpE85XbnXqso=";
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
buildInputs = [
|
|
libiconv
|
|
openssl
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Package manager for WebAssembly modules";
|
|
mainProgram = "wapm";
|
|
homepage = "https://docs.wasmer.io/ecosystem/wapm";
|
|
license = with licenses; [ mit ];
|
|
maintainers = [ maintainers.lucperkins ];
|
|
};
|
|
}
|