3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/rust/cargo-bloat/default.nix

25 lines
693 B
Nix
Raw Normal View History

2019-04-17 11:12:03 +01:00
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-bloat";
2019-06-05 12:09:22 +01:00
version = "0.7.0";
2019-04-17 11:12:03 +01:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2019-06-05 12:09:22 +01:00
sha256 = "169x90jrd2izj29xczja8pca984i6jgyx3ihfpd7cb1gw30rggbg";
2019-04-17 11:12:03 +01:00
};
2019-06-05 12:09:22 +01:00
cargoSha256 = "12cbc5bdzvcjh2d00d1ma91crbjwzas9rv8xxnnh850rjz8h684h";
2019-04-17 11:12:03 +01:00
meta = with stdenv.lib; {
description = "A tool and Cargo subcommand that helps you find out what takes most of the space in your executable";
homepage = https://github.com/RazrFalcon/cargo-bloat;
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ xrelkd ];
};
}