nixpkgs/pkgs/tools/misc/wasm-tools/default.nix
Rafael Fernández López 68f6e879e2 wasm-tools: 1.0.39 -> 1.0.40
Also, remove the Cargo.lock file that was committed back to the main
repository since bd03062ce0ca64fa5be96a27e5ac0d861916d490.
2023-08-25 22:55:41 +02:00

29 lines
724 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "wasm-tools";
version = "1.0.40";
src = fetchFromGitHub {
owner = "bytecodealliance";
repo = pname;
rev = "${pname}-${version}";
hash = "sha256-ZDQPIEDroi+YgEtQ9IsVvFSErfeyDf4KFuybEbGu91E=";
fetchSubmodules = true;
};
cargoHash = "sha256-Nynn7pxQyqfMAMGmp3eZFg7y5nj7UPyK6FLbVbN07AA=";
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 ];
};
}