diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2024-04-29 09:25:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 09:25:22 +0200 |
commit | f21b7a9cab5a6ea59f676a13594cf70b5526062f (patch) | |
tree | 6f8135a3c967f525d226db15ce2d294a76ca4576 /pkgs/by-name | |
parent | 7c99214c3a23643695b4228bc7298c89d21d1d92 (diff) | |
parent | b9b6f99c344ac8e77e63066c4dfc479a213f9546 (diff) |
Merge pull request #307663 from matthiasbeyer/backport-307652-to-release-23.11
[Backport release-23.11]: cargo-bloat 0.11.0 -> 0.12.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ca/cargo-bloat/package.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/by-name/ca/cargo-bloat/package.nix b/pkgs/by-name/ca/cargo-bloat/package.nix new file mode 100644 index 0000000000000..b0026988c9a16 --- /dev/null +++ b/pkgs/by-name/ca/cargo-bloat/package.nix @@ -0,0 +1,24 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "cargo-bloat"; + version = "0.12.0"; + + src = fetchFromGitHub { + owner = "RazrFalcon"; + repo = pname; + rev = "v${version}"; + hash = "sha256-vPk6ERl0VM1TjK/JRMcXqCvKqSTuw78MsmQ0xImQyd4="; + }; + + cargoHash = "sha256-6fMFGLH16Z1O+ETlr0685TXHup1vJetfzPdNC2Lw9uM="; + + 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; + maintainers = with maintainers; [ xrelkd matthiasbeyer ]; + mainProgram = "cargo-bloat"; + }; +} |