diff options
author | Joe Neeman <joeneeman@gmail.com> | 2023-05-15 12:36:46 -0500 |
---|---|---|
committer | Joe Neeman <joeneeman@gmail.com> | 2023-08-02 17:47:26 -0500 |
commit | b6910512a0789390af9db312ee8f08665bd662ab (patch) | |
tree | eafb17ae25491557a653b1fb2de09e0af8b7e0ed /pkgs/development/tools/wasm-bindgen-cli | |
parent | 1b77a22fadee9f4713713f34278b27175a0de469 (diff) |
wasm-bindgen-cli: 0.2.84 -> 0.2.87
Also allow overriding the version
Diffstat (limited to 'pkgs/development/tools/wasm-bindgen-cli')
-rw-r--r-- | pkgs/development/tools/wasm-bindgen-cli/default.nix | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/development/tools/wasm-bindgen-cli/default.nix b/pkgs/development/tools/wasm-bindgen-cli/default.nix index ec336d422ab16..d7b6aba2a2a3a 100644 --- a/pkgs/development/tools/wasm-bindgen-cli/default.nix +++ b/pkgs/development/tools/wasm-bindgen-cli/default.nix @@ -7,28 +7,27 @@ , stdenv , curl , Security -, runCommand +, version ? "0.2.87" +, hash ? "sha256-0u9bl+FkXEK2b54n7/l9JOCtKo+pb42GF9E1EnAUQa0=" +, cargoHash ? "sha256-AsZBtE2qHJqQtuCt/wCAgOoxYMfvDh8IzBPAOkYSYko=" }: rustPlatform.buildRustPackage rec { pname = "wasm-bindgen-cli"; - version = "0.2.84"; + inherit version hash cargoHash; src = fetchCrate { - inherit pname version; - sha256 = "sha256-0rK+Yx4/Jy44Fw5VwJ3tG243ZsyOIBBehYU54XP/JGk="; + inherit pname version hash; }; - cargoSha256 = "sha256-vcpxcRlW1OKoD64owFF6mkxSqmNrvY+y3Ckn5UwEQ50="; - nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ curl Security ]; nativeCheckInputs = [ nodejs ]; - # other tests require it to be ran in the wasm-bindgen monorepo - cargoTestFlags = [ "--test=interface-types" ]; + # tests require it to be ran in the wasm-bindgen monorepo + doCheck = false; meta = with lib; { homepage = "https://rustwasm.github.io/docs/wasm-bindgen/"; |