32 lines
832 B
Nix
32 lines
832 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dnsx";
|
|
version = "1.0.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = "dnsx";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-rAicKytDtdnPwWdxJvBd5UnMGTAI4NHcPUjISlT7kCw=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-8YoYfn2BFUnVwH9FcAgb1p5CV3dJVrWjEMPfivOGvQE=";
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|