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