diff --git a/pkgs/tools/text/goawk/default.nix b/pkgs/tools/text/goawk/default.nix index a73ef561a8aa..28310ab48b82 100644 --- a/pkgs/tools/text/goawk/default.nix +++ b/pkgs/tools/text/goawk/default.nix @@ -2,18 +2,24 @@ buildGoModule rec { pname = "goawk"; - version = "1.17.1"; + version = "1.18.0"; src = fetchFromGitHub { owner = "benhoyt"; repo = "goawk"; rev = "v${version}"; - sha256 = "sha256-aZc9HxTbC+u6JnJixSjcKUipwzkwq8DpaJuQv4spXDY="; + sha256 = "sha256-kRakQo18qOzrlvsAKtKTHEacUxDfoWyMmtiM7d5WCvQ="; }; vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; postPatch = '' + substituteInPlace goawk_test.go \ + --replace "TestCommandLine" "SkipCommandLine" \ + --replace "TestDevStdout" "SkipDevStdout" \ + --replace "TestFILENAME" "SkipFILENAME" \ + --replace "TestWildcards" "SkipWildcards" + substituteInPlace interp/interp_test.go \ --replace "TestShellCommand" "SkipShellCommand" '';