Merge pull request #80296 from bhipple/u/rust-cargo-cargo-audit

cargo-audit: upgrade cargo fetcher and cargoSha256
This commit is contained in:
Maximilian Bosch 2020-02-17 16:59:56 +01:00 committed by GitHub
commit e3df3a169d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,10 +10,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1977ykablfi4mc6j2iil0bxc6diy07vi5hm56xmqj3n37ziavf1m";
};
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "0zbnsq0cif0yppn8ygxhcsrshkbf1c801f8waqqb2d1rjsrhb93y";
cargoSha256 = "0bpqsg8mv94ivwmbfxfcnd89yx5vry33395ynqrzhqq9s1jwq0dq";
buildInputs = [ openssl libiconv ] ++ lib.optionals stdenv.isDarwin [ Security ];
nativeBuildInputs = [ pkg-config ];