Skip to content

Commit

Permalink
cargo-llvm-cov: 0.6.12 -> 0.6.14
Browse files Browse the repository at this point in the history
  • Loading branch information
CobaltCause committed Nov 12, 2024
1 parent 15c38e7 commit fc6278d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/by-name/ca/cargo-llvm-cov/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

let
pname = "cargo-llvm-cov";
version = "0.6.12";
version = "0.6.14";

owner = "taiki-e";
homepage = "https://github.com/${owner}/${pname}";
Expand All @@ -35,7 +35,7 @@ let
cargoLock = fetchurl {
name = "Cargo.lock";
url = "https://crates.io/api/v1/crates/${pname}/${version}/download";
sha256 = "sha256-QMO5J5c8MQr84w6X74oQrHV99cjSUVfpC8Ub1csQ0gI=";
sha256 = "sha256-f0xO+UxB9f6q6q8QyjtP+z+U146+8GLmLKgGmAs/YYA=";
downloadToTemp = true;
postFetch = ''
tar xzf $downloadedFile ${pname}-${version}/Cargo.lock
Expand All @@ -53,15 +53,15 @@ rustPlatform.buildRustPackage {
inherit owner;
repo = pname;
rev = "v${version}";
sha256 = "sha256-BlXgbCWjGya/I94nqfjBqQPSWnVhyhNn0oSRL9xiS6k=";
sha256 = "sha256-iJrnNDSMich5OzEbPgnQWLVz6Zj/MUIzEsaBzqVdoDg=";
};

# Upstream doesn't include the lockfile so we need to add it back
postUnpack = ''
cp ${cargoLock} source/Cargo.lock
'';

cargoHash = "sha256-nabO19JePQRuhxsbm5wVIU4+5si6p0VgqR2QLmLeivU=";
cargoHash = "sha256-kYKQ7ddgoSvarF0HG/yESu5cU87DUgYm9tDkem5a/gw=";

# `cargo-llvm-cov` reads these environment variables to find these binaries,
# which are needed to run the tests
Expand Down

0 comments on commit fc6278d

Please sign in to comment.