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