Merge pull request #296387 from matthiasbeyer/update-cargo-llvm-cov

cargo-llvm-cov: 0.6.7 -> 0.6.9
This commit is contained in:
Matthias Beyer 2024-04-07 10:02:34 +02:00 committed by GitHub
commit 0777afcb33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@
let let
pname = "cargo-llvm-cov"; pname = "cargo-llvm-cov";
version = "0.6.7"; version = "0.6.9";
owner = "taiki-e"; owner = "taiki-e";
homepage = "https://github.com/${owner}/${pname}"; homepage = "https://github.com/${owner}/${pname}";
@ -37,7 +37,7 @@ let
cargoLock = fetchurl { cargoLock = fetchurl {
name = "Cargo.lock"; name = "Cargo.lock";
url = "https://crates.io/api/v1/crates/${pname}/${version}/download"; url = "https://crates.io/api/v1/crates/${pname}/${version}/download";
sha256 = "sha256-2DjHXZ80sqr5uNqTwoECdzU1dxtu3hw9wJLA1XZq02Y="; sha256 = "sha256-r4C7z2/z4OVEf+IhFe061E7FzSx0VzADmg56Lb+DO/g=";
downloadToTemp = true; downloadToTemp = true;
postFetch = '' postFetch = ''
tar xzf $downloadedFile ${pname}-${version}/Cargo.lock tar xzf $downloadedFile ${pname}-${version}/Cargo.lock
@ -55,7 +55,7 @@ rustPlatform.buildRustPackage {
inherit owner; inherit owner;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-wvyiIJd448EjqtBjrzS8XcWJerRSBctggwTZA0ku7pU="; sha256 = "sha256-mNpZj8c+IHcW0StFzRPt7wcysADh01eLFcIK6fX/2KQ=";
leaveDotGit = true; leaveDotGit = true;
}; };
@ -64,7 +64,7 @@ rustPlatform.buildRustPackage {
cp ${cargoLock} source/Cargo.lock cp ${cargoLock} source/Cargo.lock
''; '';
cargoSha256 = "sha256-TMBKsZsIPw42ZHVcUnwsTzJseD+6Z3o+ZlB2FzbjnBY="; cargoSha256 = "sha256-pfNb5P3IG1fQdhiQE3FGW8s4Rt2YyLxTejuzs3nqZUU=";
# `cargo-llvm-cov` reads these environment variables to find these binaries, # `cargo-llvm-cov` reads these environment variables to find these binaries,
# which are needed to run the tests # which are needed to run the tests