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";
|
2019-11-11 06:49:10 +00:00
|
|
|
version = "0.9.1";
|
2019-04-17 11:12:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RazrFalcon";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-11-11 06:49:10 +00:00
|
|
|
sha256 = "0wzsc8azxgvavsbsdpd1i6g8i4sp07wn9iayr8dp8072ig5c4fhy";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|