nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8rustPlatform.buildRustPackage (finalAttrs: {
9 pname = "wac-cli";
10 version = "0.8.1";
11
12 src = fetchFromGitHub {
13 owner = "bytecodealliance";
14 repo = "wac";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-LZ8d6J9akOrXbmbQ6OOl2sTHYWvObRTyV2I8Uloa64M=";
17 };
18
19 cargoHash = "sha256-CVNFPvcdGyndV4UURa/RY0g8J90qkp3RiuyZNOXRVIE=";
20
21 passthru.updateScript = nix-update-script { };
22
23 meta = {
24 description = "WebAssembly Composition (WAC) tooling";
25 license = lib.licenses.asl20;
26 homepage = "https://github.com/bytecodealliance/wac";
27 maintainers = with lib.maintainers; [ water-sucks ];
28 mainProgram = "wac";
29 };
30})