nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage (finalAttrs: {
8 pname = "wash-cli";
9 version = "1.0.0-beta.10";
10
11 src = fetchFromGitHub {
12 owner = "wasmCloud";
13 repo = "wash";
14 tag = "wash-v${finalAttrs.version}";
15 hash = "sha256-g1OXyxLSKicMz0mnTyHNmihtt5WMx91bNo83NhZpx9s=";
16 };
17
18 cargoHash = "sha256-/Dah1F3pJBqtrCw7iVRGidQUl8rmD31Eoqva9ejc1iw=";
19
20 checkFlags = [
21 # Requires internet access
22 "--skip=test_end_to_end_template_to_execution"
23 "--skip=test_plugin_test_inspect_comprehensive"
24 "--skip=test_pull_and_validate_ghcr_component"
25 ];
26
27 meta = {
28 description = "Command-line tool for developing, building, and managing WebAssembly components";
29 homepage = "https://github.com/wasmCloud/wash";
30 changelog = "https://github.com/wasmCloud/wash/releases/tag/wash-v${finalAttrs.version}";
31 mainProgram = "wash";
32 license = lib.licenses.asl20;
33 maintainers = with lib.maintainers; [ bloveless ];
34 };
35})