mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-25 22:33:43 +00:00
68f6e879e2
Also, remove the Cargo.lock file that was committed back to the main repository since bd03062ce0ca64fa5be96a27e5ac0d861916d490.
29 lines
724 B
Nix
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 ];
|
|
};
|
|
}
|