wasm-bindgen-cli: upgrade cargo fetcher and cargoSha256

This commit is contained in:
Benjamin Hipple 2020-03-08 23:06:25 -04:00
parent f32e17d802
commit 7fcbbea654

View file

@ -14,10 +14,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
nativeBuildInputs = [ pkgconfig ];
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "1cp8ns0cywzqchdw5hkg4fhxhqb6apxwjjasf1ksf3dgjwynlhzm";
cargoSha256 = "1ylk9vrpajslx1zy4vqmlyqa5ygcmvir1gcn8hsr6liigf5kcz7p";
cargoPatches = [ ./0001-Add-cargo.lock.patch ];
cargoBuildFlags = [ "-p" pname ];