mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #50252 from fuerbringer/diskus
diskus: init at 0.4.0
This commit is contained in:
commit
63399aea74
@ -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";
|
||||
|
23
pkgs/tools/misc/diskus/default.nix
Normal file
23
pkgs/tools/misc/diskus/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user