2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
2018-04-18 21:11:28 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "dust";
|
2019-12-08 23:47:00 +00:00
|
|
|
version = "0.4.2";
|
2018-04-18 21:11:28 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bootandy";
|
|
|
|
repo = "dust";
|
|
|
|
rev = "v${version}";
|
2019-12-08 23:47:00 +00:00
|
|
|
sha256 = "0z1vi5agaf1gcq1bdzgfc89v6vpk9kaxxy8f3rd2h6yzdrd2dhk7";
|
2018-04-18 21:11:28 +01:00
|
|
|
};
|
|
|
|
|
2019-12-08 23:47:00 +00:00
|
|
|
cargoSha256 = "08c428rrana0llzhkg8ngzqs6vc773jrf4wql2qxdvm4l0nsx596";
|
2018-04-18 21:11:28 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "du + rust = dust. Like du but more intuitive";
|
|
|
|
homepage = https://github.com/bootandy/dust;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.infinisil ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|