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

26 lines
638 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, rustPlatform }:
2018-04-18 13:11:28 -07:00
rustPlatform.buildRustPackage rec {
2019-08-31 04:41:23 -07:00
pname = "dust";
2019-12-08 15:47:00 -08:00
version = "0.4.2";
2018-04-18 13:11:28 -07:00
src = fetchFromGitHub {
owner = "bootandy";
repo = "dust";
rev = "v${version}";
2019-12-08 15:47:00 -08:00
sha256 = "0z1vi5agaf1gcq1bdzgfc89v6vpk9kaxxy8f3rd2h6yzdrd2dhk7";
2018-04-18 13:11:28 -07:00
};
2019-12-08 15:47:00 -08:00
cargoSha256 = "08c428rrana0llzhkg8ngzqs6vc773jrf4wql2qxdvm4l0nsx596";
2018-04-18 13:11:28 -07: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;
};
}