
Cargo 1.84.0 seems to have changed the output format of cargo vendor again, once again invalidating fetchCargoTarball FOD hashes. It's time to fix this once and for all, switching across the board to fetchCargoVendor, which is not dependent on cargo vendor's output format.
20 lines
403 B
Nix
20 lines
403 B
Nix
{
|
|
buildWasmBindgenCli,
|
|
fetchCrate,
|
|
rustPlatform,
|
|
}:
|
|
|
|
buildWasmBindgenCli rec {
|
|
src = fetchCrate {
|
|
pname = "wasm-bindgen-cli";
|
|
version = "0.2.93";
|
|
hash = "sha256-DDdu5mM3gneraM85pAepBXWn3TMofarVR4NbjMdz3r0=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
|
inherit src;
|
|
inherit (src) pname version;
|
|
hash = "sha256-s8srI+lu+DgQ+5BbaEXC4Ja/BL+K22LIl5Gd1PwNZZk=";
|
|
};
|
|
}
|