goawk: 1.17.1 -> 1.18.0

This commit is contained in:
Ashish SHUKLA 2022-05-21 08:45:36 +05:30
parent f4499924a4
commit 885a90bfd6
No known key found for this signature in database
GPG key ID: C746CFA9E74FA4B0

View file

@ -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"
'';