diff options
author | figsoda <figsoda@pm.me> | 2023-05-27 17:32:57 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-05-27 17:32:57 -0400 |
commit | 6656d69d7db55c282f1690d69271df1eec1fe744 (patch) | |
tree | e2d364cd8786ded10855a8193b4dd8df035f1990 /pkgs | |
parent | 7bdafdd1c980733e5d1dbbe873eb9fa271d080c9 (diff) |
rust-code-analysis: 0.0.23 -> 0.0.25
Diff: https://diff.rs/rust-code-analysis-cli/0.0.23/0.0.25
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/rust-code-analysis/default.nix | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/development/tools/rust-code-analysis/default.nix b/pkgs/development/tools/rust-code-analysis/default.nix index d0c9d56a25e61..7427a8bd76d64 100644 --- a/pkgs/development/tools/rust-code-analysis/default.nix +++ b/pkgs/development/tools/rust-code-analysis/default.nix @@ -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"; |