gowitness: add versionCheckHook

Check that the binary continues to function after unpinning the module builder

+5
+5
pkgs/by-name/go/gowitness/package.nix
··· 2 2 lib, 3 3 buildGoModule, 4 4 fetchFromGitHub, 5 + versionCheckHook, 5 6 }: 6 7 7 8 buildGoModule rec { ··· 21 22 "-s" 22 23 "-w" 23 24 ]; 25 + 26 + doInstallCheck = true; 27 + nativeInstallCheckInputs = [ versionCheckHook ]; 28 + versionCheckProgramArg = "version"; 24 29 25 30 meta = with lib; { 26 31 description = "Web screenshot utility";