Merge pull request #50252 from fuerbringer/diskus

diskus: init at 0.4.0
This commit is contained in:
Samuel Dionne-Riel 2018-11-12 03:42:07 +00:00 committed by GitHub
commit 63399aea74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

View File

@ -1527,6 +1527,11 @@
github = "ftrvxmtrx";
name = "Siarhei Zirukin";
};
fuerbringer = {
email = "severin@fuerbringer.info";
github = "fuerbringer";
name = "Severin Fürbringer";
};
funfunctor = {
email = "eocallaghan@alterapraxis.com";
name = "Edward O'Callaghan";

View File

@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
name = "diskus-${version}";
version = "0.4.0";
src = fetchFromGitHub {
owner = "sharkdp";
repo = "diskus";
rev = "cf4a5e0dc5bf3daedabe4b25343e7eb6238930c0";
sha256 = "1w5fnpwdsfaca2177qn0clf8j7zwgzhdckjdl2zdbs5qrdwdqrd2";
};
cargoSha256 = "08wm85cs0fi03a75wp276w5hgch3kd787py51jjcxdanm2viq7zv";
meta = with stdenv.lib; {
description = "A minimal, fast alternative to 'du -sh'";
homepage = https://github.com/sharkdp/diskus;
license = with licenses; [ asl20 /* or */ mit ];
maintainers = [ maintainers.fuerbringer ];
platforms = platforms.linux;
};
}

View File

@ -679,6 +679,8 @@ with pkgs;
cozy = callPackage ../applications/audio/cozy-audiobooks { };
diskus = callPackage ../tools/misc/diskus { };
djmount = callPackage ../tools/filesystems/djmount { };
dgsh = callPackage ../shells/dgsh { };