blob: 3c83dd5437a5377dcd86faa3135556649676d868 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, rustPlatform, fetchCrate, stdenv, darwin }:
rustPlatform.buildRustPackage rec {
pname = "cargo-tally";
version = "1.0.29";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-SCxigQ6jhT+r6ixgCGwWDtvU8WUJ+5eWYe8DIWPBWhY=";
};
cargoSha256 = "sha256-ZX2T+wKIgYJqOK6118wmsMBKigtJvPqJ2hVtyh23zUk=";
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";
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 ];
};
}
|