Merge pull request #292609 from xrelkd/update/cargo-bloat
cargo-bloat: add `meta.mainProgram`
This commit is contained in:
commit
7e110418c8
2 changed files with 3 additions and 4 deletions
|
@ -8,10 +8,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
owner = "RazrFalcon";
|
owner = "RazrFalcon";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-lCA7C1G2xu65jn3/wzj6prWSrjQz3EqqJyMlPR/HRFs=";
|
hash = "sha256-lCA7C1G2xu65jn3/wzj6prWSrjQz3EqqJyMlPR/HRFs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-fOenXn5gagFss9DRDXXsGxQlDqVXZ5LZcdM4WsXAyUU=";
|
cargoHash = "sha256-fOenXn5gagFss9DRDXXsGxQlDqVXZ5LZcdM4WsXAyUU=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A tool and Cargo subcommand that helps you find out what takes most of the space in your executable";
|
description = "A tool and Cargo subcommand that helps you find out what takes most of the space in your executable";
|
||||||
|
@ -19,6 +19,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ xrelkd matthiasbeyer ];
|
maintainers = with maintainers; [ xrelkd matthiasbeyer ];
|
||||||
|
mainProgram = "cargo-bloat";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -16911,7 +16911,6 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
cargo-binutils = callPackage ../development/tools/rust/cargo-binutils { };
|
cargo-binutils = callPackage ../development/tools/rust/cargo-binutils { };
|
||||||
cargo-bloat = callPackage ../development/tools/rust/cargo-bloat { };
|
|
||||||
cargo-bolero = callPackage ../development/tools/rust/cargo-bolero { };
|
cargo-bolero = callPackage ../development/tools/rust/cargo-bolero { };
|
||||||
cargo-bundle = callPackage ../development/tools/rust/cargo-bundle { };
|
cargo-bundle = callPackage ../development/tools/rust/cargo-bundle { };
|
||||||
cargo-bundle-licenses = callPackage ../development/tools/rust/cargo-bundle-licenses { };
|
cargo-bundle-licenses = callPackage ../development/tools/rust/cargo-bundle-licenses { };
|
||||||
|
|
Loading…
Reference in a new issue