treewide: fix cargoSha256/cargoHash

Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
This commit is contained in:
Daniël de Kok
2021-05-08 00:36:37 -07:00
committed by Jonathan Ringer
parent 3494be8365
commit 85f96822a0
322 changed files with 321 additions and 323 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-Cm/w0bwDMu5REsQpkwMBgnROxpI+nMQwC16dY/VdOFU=";
};
cargoSha256 = "sha256-fy8apB1UbpBAnp8mFnL7rNj/GSSUkNz/trqsVrAfFfI=";
cargoSha256 = "sha256-oj6ZuhdKSj6OFSICG977qEY9QWP40FEXwiHXpirsILI=";
nativeBuildInputs = [ pkg-config ];
+1 -1
View File
@@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-lvVgoAZMIqmbS6yMul9Hf9PtneEVy+jDs3kU1jSBL2w=";
};
cargoSha256 = "sha256-v0A8/b/OPAtnaNlMX7QNXTGGH6kg67WBo/2ChOPDZdQ=";
cargoSha256 = "sha256-sxvOFxSZCANBa/448SpjoLqk/HjqtaFrOhjrQro446Q=";
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
+1 -1
View File
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-fd97w6yd9ZX2k8Vq+Vh6jouufGdFE02ZV8mb+BtA3tk=";
};
cargoSha256 = "sha256-LlEYfjUINQW/YrhNp/Z+fdLQPcvrTjNFtDAk1gyAuj0=";
cargoSha256 = "sha256-uP+YAJYZtMCUnLZWcwnoAw8E5cJeFxXx0qd2Li4byQM=";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
+1 -1
View File
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0fpc09yvxjcvjkai7afyig4gyc7inaqxxrwzs17mh8wdgzawb6dl";
};
cargoSha256 = "0sbhij8qh9n05nzhp47dm46hbc59awar515f9nhd3wvahwz53zam";
cargoSha256 = "06zplpy480965lhgav984m6wkfijv7cqa49kpramp8b6ws62pikl";
meta = with lib; {
description = "Minimal X screenshot utility";
+1 -1
View File
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
--replace '#![deny(warnings)]' ""
'';
cargoSha256 = "1y9jsnxmz51zychmmzp6mi29pb5ks2qww7lk5bshkhp56v51sm8d";
cargoSha256 = "1jyycr95gjginx6bzmay9b5dbpnbwdqbv13w1qy58znicsmh3v8a";
# Test tries to build outdated examples
doCheck = false;
+1 -1
View File
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1jpnqsln37kkxz98vj7gly3c2170v6zamd876nc9nfl9vns41s0f";
};
cargoSha256 = "1xhwlsq9b6cnafbapm5jf48zqdx5k2vxlr701lh5f8nqvd7nxi6g";
cargoSha256 = "172kdnd11xb2qkklqdkdcwi3g55k0d67p8g8qj7iq34bsnfb5bnr";
meta = with lib; {
description = "A tool for tidying and optimizing SVGs";
+1 -1
View File
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
# tests need an interactive terminal
doCheck = false;
cargoSha256 = "0bdjfcyx2cwz68gcx0393h4ysccarfp02pvvp0a5xgkq11bad0r0";
cargoSha256 = "0s6i42n4jivzj4ad62r7nc6ailydy686ivszcd6cj5f4dinsbgq3";
meta = with lib; {
description = "A command-line application to view images from the terminal written in Rust";