Merge pull request #108372 from fabaff/gdu

gdu: init at 2.0.0
This commit is contained in:
Sandro 2021-01-05 03:12:00 +01:00 committed by GitHub
commit 51e2708f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View 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;
};
}

View File

@ -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 {};