cargo-llvm-cov: use fetchCrate
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchzip
|
||||
, fetchCrate
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
@@ -8,8 +8,8 @@ rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-llvm-cov";
|
||||
version = "0.5.17";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://crates.io/api/v1/crates/${pname}/${version}/download#${pname}-${version}.tar.gz";
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-kU8Wq0BRE/Tajmi/PV6dja9HJy0lbZwzGuMIXDnFUw0=";
|
||||
};
|
||||
cargoSha256 = "sha256-Zv6CkUhMTMqGM8PH+ciDV20vq88tU5THSw0NByO1v70=";
|
||||
|
||||
Reference in New Issue
Block a user