1 { buildGoModule, fetchFromGitHub, lib, stdenv, gawk }:
7 src = fetchFromGitHub {
11 hash = "sha256-3i8czhGFk8XqYaenKTmsvXt2kRSss++rS6amLxfM2DE=";
16 nativeCheckInputs = [ gawk ];
19 substituteInPlace goawk_test.go \
20 --replace "TestCommandLine" "SkipCommandLine" \
21 --replace "TestDevStdout" "SkipDevStdout" \
22 --replace "TestFILENAME" "SkipFILENAME" \
23 --replace "TestWildcards" "SkipWildcards"
25 substituteInPlace interp/interp_test.go \
26 --replace "TestShellCommand" "SkipShellCommand"
34 doCheck = (stdenv.system != "aarch64-darwin");
37 description = "POSIX-compliant AWK interpreter written in Go";
38 homepage = "https://benhoyt.com/writings/goawk/";
39 license = licenses.mit;
40 mainProgram = "goawk";
41 maintainers = with maintainers; [ abbe ];