depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-tally/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

26 lines
728 B
Nix

{ lib, rustPlatform, fetchCrate, stdenv, DiskArbitration, Foundation, IOKit }:
rustPlatform.buildRustPackage rec {
pname = "cargo-tally";
version = "1.0.15";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-vrDPFJB0/kRSZot8LdYO6lPI8oR5G4CZv6Z31gF7XII=";
};
cargoSha256 = "sha256-dkCfOTZCu9MgqvKJRWwyVfCu1Ul0wDCJznM+N2hPpwo=";
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 ];
};
}