2020-12-29 15:07:52 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
2021-02-05 17:12:51 +00:00
|
|
|
, lib
|
2020-12-29 15:07:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "dnsx";
|
2021-04-12 18:23:04 +00:00
|
|
|
version = "1.0.2";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = "dnsx";
|
|
|
|
rev = "v${version}";
|
2021-04-12 18:23:04 +00:00
|
|
|
sha256 = "sha256-CjWFXYU34PE4I9xihQbPxVcxLyiMCYueuaB/LaXhHQg=";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
vendorSha256 = "sha256-vTXvlpXpFf78Cwxq/y6ysSeXM3g71kHBn9zd6c4mxlk=";
|
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";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|