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

25 lines
684 B
Nix
Raw Normal View History

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