3
0
Fork 0
forked from mirrors/nixpkgs

rust-code-analysis: 0.0.23 -> 0.0.25

Diff: https://diff.rs/rust-code-analysis-cli/0.0.23/0.0.25
This commit is contained in:
figsoda 2023-05-27 17:32:57 -04:00
parent 7bdafdd1c9
commit 6656d69d7d

View file

@ -1,19 +1,16 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "rust-code-analysis";
version = "0.0.23";
version = "0.0.25";
src = fetchFromGitHub {
owner = "mozilla";
repo = pname;
rev = "v${version}";
sha256 = "1l9qr5rvbj542fx6g6h9p38z31kvwli39vipbmd3pvic2mpi6mzx";
src = fetchCrate {
pname = "rust-code-analysis-cli";
inherit version;
hash = "sha256-/Irmtsy1PdRWQ7dTAHLZJ9M0J7oi2IiJyW6HeTIDOCs=";
};
cargoSha256 = "sha256-++d/czDJVGzY8GvBpBKpP0Rum4J4RpT95S81IRUWY2M=";
cargoBuildFlags = [ "--workspace" ];
cargoHash = "sha256-axrtFZQOm1/UUBq1CDFkaZCks1mWoLWmfajDfsqSBmY=";
meta = with lib; {
description = "Analyze and collect metrics on source code";