Merge pull request #123526 from fabaff/bump-gdu

gdu: 4.11.1 -> 4.11.2
This commit is contained in:
Fabian Affolter 2021-05-19 12:17:35 +02:00 committed by GitHub
commit a6b4be8775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, installShellFiles , installShellFiles
@ -6,13 +7,13 @@
buildGoModule rec { buildGoModule rec {
pname = "gdu"; pname = "gdu";
version = "4.11.1"; version = "4.11.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dundee"; owner = "dundee";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-e9TYArmNWnK8XXcniAQCegrfWAUfTKKuClgdSTQep0U="; sha256 = "sha256-IrlyHYAcoRvF5CA0LMKHTb8aYSawvEcU7s+a03QYI1c=";
}; };
vendorSha256 = "sha256-QiO5p0x8kmIN6f0uYS0IR2MlWtRYTHeZpW6Nmupjias="; vendorSha256 = "sha256-QiO5p0x8kmIN6f0uYS0IR2MlWtRYTHeZpW6Nmupjias=";
@ -27,21 +28,14 @@ buildGoModule rec {
]; ];
postPatch = '' postPatch = ''
substituteInPlace cmd/app/app_test.go --replace "development" "${version}" substituteInPlace cmd/gdu/app/app_test.go --replace "development" "${version}"
''; '';
postInstall = '' postInstall = ''
installManPage gdu.1 installManPage gdu.1
''; '';
# tests fail with: doCheck = !(stdenv.isAarch64 || stdenv.isDarwin);
# dir_test.go:76:
# Error Trace: dir_test.go:76
# Error: Not equal:
# expected: 0
# actual : 512
# Test: TestFlags
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Disk usage analyzer with console interface"; description = "Disk usage analyzer with console interface";