Merge pull request #138542 from figsoda/cargo-tally

cargo-tally: init at 1.0.0
This commit is contained in:
figsoda
2021-09-19 20:33:24 -04:00
committed by GitHub
2 changed files with 29 additions and 0 deletions
@@ -0,0 +1,26 @@
{ lib, rustPlatform, fetchCrate, stdenv, DiskArbitration, Foundation, IOKit }:
rustPlatform.buildRustPackage rec {
pname = "cargo-tally";
version = "1.0.0";
src = fetchCrate {
inherit pname version;
sha256 = "16r60ddrqsss5nagfb5g49md8wwm4zbp9sffbm23bhlqhxh35y0i";
};
cargoSha256 = "0ffq67vy0pa7va8j93g03bralz7lck6ds1hidbpzzkp13pdcgf97";
buildInputs = lib.optionals stdenv.isDarwin [
DiskArbitration
Foundation
IOKit
];
meta = with lib; {
description = "Graph the number of crates that depend on your crate over time";
homepage = "https://github.com/dtolnay/cargo-tally";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ figsoda ];
};
}
+3
View File
@@ -12435,6 +12435,9 @@ with pkgs;
cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { };
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {};
cargo-tally = callPackage ../development/tools/rust/cargo-tally {
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation IOKit;
};
cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
};