chaos: add versionCheckHook

This commit is contained in:
Fabian Affolter
2024-12-07 09:40:16 +01:00
parent 3fea04cafc
commit 8e79b2d450
+7
View File
@@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
}:
buildGoModule rec {
@@ -24,6 +25,12 @@ buildGoModule rec {
"-w"
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
meta = with lib; {
description = "Tool to communicate with Chaos DNS API";
homepage = "https://github.com/projectdiscovery/chaos-client";