diff options
Diffstat (limited to 'pkgs/by-name/ca/cargo-bloat/package.nix')
-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..4c77fbbb384ce --- /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.1"; + + src = fetchFromGitHub { + owner = "RazrFalcon"; + repo = pname; + rev = "v${version}"; + hash = "sha256-B71VX7cJe1giOLmk3cQE8Zxr7fKGyQkoXRuM+NzBcb8="; + }; + + cargoHash = "sha256-BBFLyMx1OPT2XAM6pofs2kV/3n3FrNu0Jkyr/Y3smnI="; + + 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"; + }; +} |