diff options
Diffstat (limited to 'pkgs/tools/system/gdu')
-rw-r--r-- | pkgs/tools/system/gdu/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/tools/system/gdu/default.nix b/pkgs/tools/system/gdu/default.nix index 0bdf2c4a36a01..100e9126582e4 100644 --- a/pkgs/tools/system/gdu/default.nix +++ b/pkgs/tools/system/gdu/default.nix @@ -3,17 +3,19 @@ , buildGoModule , fetchFromGitHub , installShellFiles +, testers +, gdu }: buildGoModule rec { pname = "gdu"; - version = "5.20.0"; + version = "5.21.0"; src = fetchFromGitHub { owner = "dundee"; repo = pname; rev = "v${version}"; - sha256 = "sha256-8wkp6pu6QDQBrXJVasi9YhxdzyaobDp0WbwNFCQpLag="; + sha256 = "sha256-7zVYki4sA5jsnxWye0ouUwAOwKUBf/TiZDqFuXTm45w="; }; vendorSha256 = "sha256-UP6IdJLc93gRP4vwKKOJl3sNt4sOFeYXjvwk8QM+D48="; @@ -36,6 +38,10 @@ buildGoModule rec { doCheck = !stdenv.isDarwin; + passthru.tests.version = testers.testVersion { + package = gdu; + }; + meta = with lib; { description = "Disk usage analyzer with console interface"; longDescription = '' @@ -46,6 +52,5 @@ buildGoModule rec { homepage = "https://github.com/dundee/gdu"; license = with licenses; [ mit ]; maintainers = [ maintainers.fab maintainers.zowoq ]; - platforms = platforms.unix; }; } |