25 lines
685 B
Nix
Raw Normal View History

2019-07-14 09:48:42 +08:00
{ lib, rustPlatform, fetchFromGitHub }:
2019-04-17 18:12:03 +08:00
rustPlatform.buildRustPackage rec {
pname = "cargo-bloat";
2019-08-07 16:27:35 +08:00
version = "0.8.2";
2019-04-17 18:12:03 +08:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2019-08-07 16:27:35 +08:00
sha256 = "1r8d3mqzaiasvhxmry8va55ggq817y82x8yb3vzih84lxq134y8n";
2019-04-17 18:12:03 +08:00
};
2019-08-07 16:27:35 +08:00
cargoSha256 = "1ys3wd1k39vkll25c56sfv767rcd53yb46adwgzdkkyl2pjphf1r";
2019-04-17 18:12:03 +08:00
2019-07-14 09:48:42 +08:00
meta = with lib; {
2019-04-17 18:12:03 +08:00
description = "A tool and Cargo subcommand that helps you find out what takes most of the space in your executable";
2019-06-20 20:31:17 +08:00
homepage = "https://github.com/RazrFalcon/cargo-bloat";
2019-04-17 18:12:03 +08:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ xrelkd ];
};
}