nixpkgs/pkgs/tools/misc/wasm-tools/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
885 B
Nix
Raw Normal View History

2023-03-10 01:53:30 +03:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "wasm-tools";
2024-01-09 22:51:26 +03:00
version = "1.0.55";
2023-03-10 01:53:30 +03:00
src = fetchFromGitHub {
owner = "bytecodealliance";
repo = pname;
rev = "${pname}-${version}";
2024-01-09 22:51:26 +03:00
hash = "sha256-9HcHM5ao0lSGctvjYQZNb5wlNsYPTD3NtPDZA/kHJdY=";
2023-03-10 01:53:30 +03:00
fetchSubmodules = true;
};
2023-10-16 19:16:07 +03:00
# Disable cargo-auditable until https://github.com/rust-secure-code/cargo-auditable/issues/124 is solved.
auditable = false;
2024-01-09 22:51:26 +03:00
cargoHash = "sha256-fU9tpN+tVlwbTNWinylcRACSLhDD/uPPGW6GNWm/tvo=";
2023-03-10 01:53:30 +03:00
cargoBuildFlags = [ "--package" "wasm-tools" ];
cargoTestFlags = [ "--all" ];
meta = with lib; {
description = "Low level tooling for WebAssembly in Rust";
homepage = "https://github.com/bytecodealliance/wasm-tools";
license = licenses.asl20;
maintainers = with maintainers; [ ereslibre ];
2023-11-27 04:17:53 +03:00
mainProgram = "wasm-tools";
2023-03-10 01:53:30 +03:00
};
}