nixpkgs/pkgs/by-name/ca/cargo-bloat/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
724 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";
2024-05-10 12:16:27 +00:00
version = "0.12.1";
2019-04-17 10:12:03 +00:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2024-05-10 12:16:27 +00:00
hash = "sha256-B71VX7cJe1giOLmk3cQE8Zxr7fKGyQkoXRuM+NzBcb8=";
2019-04-17 10:12:03 +00:00
};
2024-05-10 12:16:27 +00:00
cargoHash = "sha256-BBFLyMx1OPT2XAM6pofs2kV/3n3FrNu0Jkyr/Y3smnI=";
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 = "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 matthiasbeyer ];
2024-03-01 16:38:05 +00:00
mainProgram = "cargo-bloat";
2019-04-17 10:12:03 +00:00
};
}