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

25 lines
686 B
Nix
Raw Normal View History

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