forked from mirrors/nixpkgs
Merge pull request #274162 from matthiasbeyer/update-cargo-llvm-cov
This commit is contained in:
commit
f1536eedd8
|
@ -26,7 +26,7 @@
|
|||
|
||||
let
|
||||
pname = "cargo-llvm-cov";
|
||||
version = "0.5.37";
|
||||
version = "0.5.39";
|
||||
|
||||
owner = "taiki-e";
|
||||
homepage = "https://github.com/${owner}/${pname}";
|
||||
|
@ -37,7 +37,7 @@ let
|
|||
cargoLock = fetchurl {
|
||||
name = "Cargo.lock";
|
||||
url = "https://crates.io/api/v1/crates/${pname}/${version}/download";
|
||||
sha256 = "sha256-UJXZ7FhbkIcVAv4PymO4sCqhJ0KFORCCO3w0w9W46qQ=";
|
||||
sha256 = "sha256-iaY4whQ/w6jpQ3utebtV87mCJiawI0G8ud45SVTb39o=";
|
||||
downloadToTemp = true;
|
||||
postFetch = ''
|
||||
tar xzf $downloadedFile ${pname}-${version}/Cargo.lock
|
||||
|
@ -55,7 +55,7 @@ rustPlatform.buildRustPackage {
|
|||
inherit owner;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aJIMG2gaotu1XdNxcE2xJS78qAqlNzF3p2RMvqBraTk=";
|
||||
sha256 = "sha256-aKUVOaVv3tlWKwPbmGmK0wEAudg6tSnXh4Tty9aGctk=";
|
||||
leaveDotGit = true;
|
||||
};
|
||||
|
||||
|
@ -64,7 +64,7 @@ rustPlatform.buildRustPackage {
|
|||
cp ${cargoLock} source/Cargo.lock
|
||||
'';
|
||||
|
||||
cargoSha256 = "sha256-dbC8OcH/Ae98SUx9d4rsBdhYQfzsWZpiGqJoIGPDSbY=";
|
||||
cargoSha256 = "sha256-/x3ZjPJWCsuzyOPPeJ+ZulTTBrftoAkPRDrMqqUOq/8=";
|
||||
|
||||
# `cargo-llvm-cov` reads these environment variables to find these binaries,
|
||||
# which are needed to run the tests
|
||||
|
|
Loading…
Reference in a new issue