587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
28 lines
866 B
Nix
28 lines
866 B
Nix
{ lib, rustPlatform, fetchCrate, stdenv, darwin }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-tally";
|
|
version = "1.0.43";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-LPqoq9iry8nNXphFdmjwepNB1bK8/myOEoT4UM0xF70=";
|
|
};
|
|
|
|
cargoHash = "sha256-FU4NYa2S9x0IXhPtWM0PyOBCGCGHj80QR7DRuDgDYJY=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [
|
|
DiskArbitration
|
|
Foundation
|
|
IOKit
|
|
]);
|
|
|
|
meta = with lib; {
|
|
description = "Graph the number of crates that depend on your crate over time";
|
|
mainProgram = "cargo-tally";
|
|
homepage = "https://github.com/dtolnay/cargo-tally";
|
|
changelog = "https://github.com/dtolnay/cargo-tally/releases/tag/${version}";
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
|
};
|
|
}
|