commit
51e2708f58
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/system/gdu/default.nix
Normal file
31
pkgs/tools/system/gdu/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gdu";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dundee";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0239ppiilr8d43z9v27c9h7b5xkj2n9aacpf5a0h3rz4j0dkcwf7";
|
||||
};
|
||||
|
||||
vendorSha256 = "1jqbsda9bch3awdq816w4jybv7wz9mfflmvs5y2wsa2qnhn9nbyp";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Disk usage analyzer with console interface";
|
||||
longDescription = ''
|
||||
Gdu is intended primarily for SSD disks where it can fully
|
||||
utilize parallel processing. However HDDs work as well, but
|
||||
the performance gain is not so huge.
|
||||
'';
|
||||
homepage = "https://github.com/dundee/gdu";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = [ maintainers.fab ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -2235,6 +2235,8 @@ in
|
|||
|
||||
gdrive = callPackage ../applications/networking/gdrive { };
|
||||
|
||||
gdu = callPackage ../tools/system/gdu { };
|
||||
|
||||
go-chromecast = callPackage ../applications/video/go-chromecast { };
|
||||
|
||||
go-rice = callPackage ../tools/misc/go.rice {};
|
||||
|
|
Loading…
Reference in a new issue