2020-04-24 23:36:52 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-bloat";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.12.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RazrFalcon";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-B71VX7cJe1giOLmk3cQE8Zxr7fKGyQkoXRuM+NzBcb8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
cargoHash = "sha256-BBFLyMx1OPT2XAM6pofs2kV/3n3FrNu0Jkyr/Y3smnI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool and Cargo subcommand that helps you find out what takes most of the space in your executable";
|
|
|
|
homepage = "https://github.com/RazrFalcon/cargo-bloat";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = with maintainers; [ xrelkd matthiasbeyer ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cargo-bloat";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|