1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 18:03:22 +00:00
nixpkgs/pkgs/development/tools/rust/cargo-bloat/default.nix

25 lines
685 B
Nix
Raw Normal View History

2019-07-14 02:48:42 +01:00
{ lib, rustPlatform, fetchFromGitHub }:
2019-04-17 11:12:03 +01:00
rustPlatform.buildRustPackage rec {
pname = "cargo-bloat";
2020-01-15 08:21:53 +00:00
version = "0.9.2";
2019-04-17 11:12:03 +01:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2020-01-15 08:21:53 +00:00
sha256 = "0h535fnmwm1ix08a3ifasppqcm7z4fiwf6kn32vhqqpn7x9vvl53";
2019-04-17 11:12:03 +01:00
};
2019-10-10 11:59:37 +01:00
cargoSha256 = "1jc1lx0yk8galkyc4a67d39ywsfrgc2sjjsz08p47gpz7228d64w";
2019-04-17 11:12:03 +01:00
2019-07-14 02:48:42 +01:00
meta = with lib; {
2019-04-17 11:12:03 +01:00
description = "A tool and Cargo subcommand that helps you find out what takes most of the space in your executable";
2019-06-20 13:31:17 +01:00
homepage = "https://github.com/RazrFalcon/cargo-bloat";
2019-04-17 11:12:03 +01:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ xrelkd ];
};
}