2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
2020-12-29 15:07:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "dnsx";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.1.5";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = "dnsx";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-hO6m4WsoK50tLBr7I9ui7HE3rxKpOES8IOugi04yeQo=";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-c3HHfcWppAUfKjePsB+/CvxJWjp5zV6TJvsm3yKH4cw=";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
# Tests require network access
|
|
|
|
doCheck = false;
|
2020-12-29 15:07:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-29 15:07:52 +00:00
|
|
|
description = "Fast and multi-purpose DNS toolkit";
|
|
|
|
longDescription = ''
|
|
|
|
dnsx is a fast and multi-purpose DNS toolkit allow to run multiple
|
|
|
|
probers using retryabledns library, that allows you to perform
|
|
|
|
multiple DNS queries of your choice with a list of user supplied
|
|
|
|
resolvers.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/projectdiscovery/dnsx";
|
2023-07-15 17:15:38 +00:00
|
|
|
changelog = "https://github.com/projectdiscovery/dnsx/releases/tag/v${version}";
|
2020-12-29 15:07:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|