nixpkgs-suyu/pkgs/development/tools/rust/cargo-bloat/default.nix

25 lines
685 B
Nix
Raw Normal View History

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