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

25 lines
684 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";
2022-01-21 00:44:11 +03:00
version = "0.11.0";
2019-04-17 13:12:03 +03:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2022-01-21 00:44:11 +03:00
sha256 = "sha256-UzMo+IqoP3GpGu7tWlrkEU1YpVLgEL7UwIU1hPmoJNg=";
2019-04-17 13:12:03 +03:00
};
2022-01-21 00:44:11 +03:00
cargoSha256 = "sha256-w3+ypGuVRGwC94zj/OaDUUoUbBnepGHvqulY4IVIsfo=";
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 ];
};
}