2019-09-17 07:46:05 -07:00
|
|
|
{ stdenv, lib, rustPlatform, fetchFromGitHub, Security }:
|
2019-06-22 13:33:19 -07:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-inspect";
|
2020-07-11 09:26:40 -07:00
|
|
|
version = "0.10.3";
|
2019-06-22 13:33:19 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mre";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-07-11 09:26:40 -07:00
|
|
|
sha256 = "026vc8d0jkc1d7dlp3ldmwks7svpvqzl0k5niri8a12cl5w5b9hj";
|
2019-06-22 13:33:19 -07:00
|
|
|
};
|
|
|
|
|
2021-01-23 04:26:19 -08:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
2019-09-17 07:46:05 -07:00
|
|
|
|
2021-05-07 04:00:49 -07:00
|
|
|
cargoSha256 = "069i8ydrp1pssnjq7d6mydwr7xh2cmcpzpf8bzd6nfjr6xx1pipr";
|
2019-06-22 13:33:19 -07:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "See what Rust is doing behind the curtains";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/mre/cargo-inspect";
|
2019-06-22 13:33:19 -07:00
|
|
|
license = with licenses; [ mit asl20 ];
|
|
|
|
maintainers = with maintainers; [ minijackson ];
|
|
|
|
};
|
|
|
|
}
|