Merge pull request #289776 from fabaff/gdu-bump

gdu: 5.26.0 -> 5.27.0
This commit is contained in:
Fabian Affolter 2024-02-18 23:04:14 +01:00 committed by GitHub
commit b6dee42b6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,16 +9,16 @@
buildGoModule rec {
pname = "gdu";
version = "5.26.0";
version = "5.27.0";
src = fetchFromGitHub {
owner = "dundee";
repo = pname;
repo = "gdu";
rev = "refs/tags/v${version}";
hash = "sha256-bbSpU6l5rhBo7jp7E66/ti4r9GJjXtaaDY5GKYGtLYM=";
hash = "sha256-hQyvYLegGimYTRz0J/2tmaC6N4LfjB1ivWgN29DwNhA=";
};
vendorHash = "sha256-X1xuQiFSCPH10OK5bPcRN5fqMLxyi6y2mJGE9RQ1aJg=";
vendorHash = "sha256-weNcJjofI7Aoy0Eya0KprXHAn7aTA0rQJYrJ4+t65hI=";
nativeBuildInputs = [
installShellFiles
@ -27,11 +27,12 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X github.com/dundee/gdu/v${lib.versions.major version}/build.Version=${version}"
"-X=github.com/dundee/gdu/v${lib.versions.major version}/build.Version=${version}"
];
postPatch = ''
substituteInPlace cmd/gdu/app/app_test.go --replace "development" "${version}"
substituteInPlace cmd/gdu/app/app_test.go \
--replace-fail "development" "${version}"
'';
postInstall = ''