katana: add versionCheckHook

This commit is contained in:
Fabian Affolter
2026-08-23 10:33:45 +02:00
parent 2a57f7e1ae
commit 7d13a3d9ca

View File

@@ -2,6 +2,8 @@
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
writableTmpDirAsHomeHook,
}:
buildGoModule (finalAttrs: {
@@ -19,10 +21,17 @@ buildGoModule (finalAttrs: {
subPackages = [ "cmd/katana" ];
ldflags = [
"-s"
ldflags = [ "-s" ];
nativeInstallCheckInputs = [
versionCheckHook
writableTmpDirAsHomeHook
];
versionCheckKeepEnvironment = [ "HOME" ];
doInstallCheck = true;
meta = {
description = "Next-generation crawling and spidering framework";
homepage = "https://github.com/projectdiscovery/katana";