cargo-tally: init at 1.0.0
This commit is contained in:
parent
ca67994224
commit
abbbc072b1
2 changed files with 29 additions and 0 deletions
26
pkgs/development/tools/rust/cargo-tally/default.nix
Normal file
26
pkgs/development/tools/rust/cargo-tally/default.nix
Normal file
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -12433,6 +12433,9 @@ with pkgs;
|
||||||
cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { };
|
cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { };
|
||||||
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
|
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
|
||||||
cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {};
|
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 {
|
cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
|
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue