2019-09-17 15:46:05 +01:00
|
|
|
{ stdenv, lib, rustPlatform, fetchFromGitHub, Security }:
|
2019-06-22 21:33:19 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-inspect";
|
|
|
|
version = "0.10.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mre";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0rjy8jlar939fkl7wi8a6zxsrl4axz2nrhv745ny8x38ii4sfbzr";
|
|
|
|
};
|
|
|
|
|
2019-09-17 15:46:05 +01:00
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
2020-02-29 17:06:27 +00:00
|
|
|
cargoSha256 = "0v7g9rkw7axy99vcfi7sy2pw7wnpq424jvd8xchcv8ghh8yw9lyc";
|
2019-06-22 21:33:19 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "See what Rust is doing behind the curtains";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mre/cargo-inspect";
|
2019-06-22 21:33:19 +01:00
|
|
|
license = with licenses; [ mit asl20 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ minijackson ];
|
|
|
|
};
|
|
|
|
}
|