diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-04-18 09:06:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-18 09:06:44 -0500 |
commit | 986fd4c168770eae25a761bcf884c304df56f944 (patch) | |
tree | 4b78972639aad8858cf1b71d3578ef54d7bd6544 /pkgs/development/tools | |
parent | cc2b6f32a9073748965a4f2e7c874a0acc4c3838 (diff) | |
parent | 8d931722bcba1dc5710855c5850d8c8d422d7bc6 (diff) | |
download | nixlib-986fd4c168770eae25a761bcf884c304df56f944.tar nixlib-986fd4c168770eae25a761bcf884c304df56f944.tar.gz nixlib-986fd4c168770eae25a761bcf884c304df56f944.tar.bz2 nixlib-986fd4c168770eae25a761bcf884c304df56f944.tar.lz nixlib-986fd4c168770eae25a761bcf884c304df56f944.tar.xz nixlib-986fd4c168770eae25a761bcf884c304df56f944.tar.zst nixlib-986fd4c168770eae25a761bcf884c304df56f944.zip |
Merge pull request #59767 from xrelkd/add/cargo-bloat
cargo-bloat: init at 0.6.2
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/rust/cargo-bloat/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-bloat/default.nix b/pkgs/development/tools/rust/cargo-bloat/default.nix new file mode 100644 index 000000000000..d3ded6e9f589 --- /dev/null +++ b/pkgs/development/tools/rust/cargo-bloat/default.nix @@ -0,0 +1,24 @@ +{ stdenv, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "cargo-bloat"; + version = "0.6.2"; + + src = fetchFromGitHub { + owner = "RazrFalcon"; + repo = pname; + rev = "v${version}"; + sha256 = "0wf86r1s9skv0m4gp66g388847309nw9z1h8gadfg2c5w5idh3fb"; + }; + + cargoSha256 = "1mmfcvpwwi6fjb47fz1azrpdkg1x5p3qn5bx4p6dyjcs1fmpdbbq"; + + meta = with stdenv.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 ]; + }; +} + |