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

25 lines
685 B
Nix
Raw Normal View History

2019-07-14 02:48:42 +01:00
{ lib, rustPlatform, fetchFromGitHub }:
2019-04-17 11:12:03 +01:00
rustPlatform.buildRustPackage rec {
pname = "cargo-bloat";
2020-01-15 08:21:53 +00:00
version = "0.9.2";
2019-04-17 11:12:03 +01:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2020-01-15 08:21:53 +00:00
sha256 = "0h535fnmwm1ix08a3ifasppqcm7z4fiwf6kn32vhqqpn7x9vvl53";
2019-04-17 11:12:03 +01:00
};
cargoSha256 = "00j2czhb0ag10hwq7ycdwr2ndb6gz99kg12hlmaq4mkaf8h254nn";
2019-04-17 11:12:03 +01:00
2019-07-14 02:48:42 +01:00
meta = with lib; {
2019-04-17 11:12:03 +01:00
description = "A tool and Cargo subcommand that helps you find out what takes most of the space in your executable";
2019-06-20 13:31:17 +01:00
homepage = "https://github.com/RazrFalcon/cargo-bloat";
2019-04-17 11:12:03 +01:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ xrelkd ];
};
}