depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-inspect/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
718 B
Nix

{ stdenv, lib, rustPlatform, fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
pname = "cargo-inspect";
version = "0.10.1";
src = fetchFromGitHub {
owner = "mre";
repo = pname;
rev = version;
sha256 = "0rjy8jlar939fkl7wi8a6zxsrl4axz2nrhv745ny8x38ii4sfbzr";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
cargoSha256 = "0v7g9rkw7axy99vcfi7sy2pw7wnpq424jvd8xchcv8ghh8yw9lyc";
meta = with lib; {
description = "See what Rust is doing behind the curtains";
homepage = "https://github.com/mre/cargo-inspect";
license = with licenses; [ mit asl20 ];
platforms = platforms.all;
maintainers = with maintainers; [ minijackson ];
};
}