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";
|
2020-01-19 09:20:00 +00:00
|
|
|
version = "0.4.4";
|
2018-04-18 21:11:28 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bootandy";
|
|
|
|
repo = "dust";
|
|
|
|
rev = "v${version}";
|
2020-01-19 09:20:00 +00:00
|
|
|
sha256 = "1qbh9vgdh0xmh4c78fm0rd1sgb01n656p3cr4my7ymsy81ypx9y7";
|
2018-04-18 21:11:28 +01:00
|
|
|
};
|
|
|
|
|
2020-01-19 09:20:00 +00:00
|
|
|
cargoSha256 = "07ynz6y1z3rz84662d4rfl2sw1sx46a3k48z8dckr0b3fqs2zj6a";
|
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;
|
|
|
|
};
|
|
|
|
}
|