nixpkgs/pkgs/tools/misc/dust/default.nix

26 lines
640 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, rustPlatform }:
2018-04-18 20:11:28 +00:00
rustPlatform.buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "dust";
2019-11-03 09:20:00 +00:00
version = "0.4.1.2";
2018-04-18 20:11:28 +00:00
src = fetchFromGitHub {
owner = "bootandy";
repo = "dust";
rev = "v${version}";
2019-11-03 09:20:00 +00:00
sha256 = "0a2n96p6z4y09l5z617qbpm8lgxvfagd1l950d2gz9xw4xf1ik5w";
2018-04-18 20:11:28 +00:00
};
2019-11-03 09:20:00 +00:00
cargoSha256 = "0cpgxkgz10na90r3fgz8hs20vihqdcc8983inn71fq90627bhdx7";
2018-04-18 20:11:28 +00: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;
};
}