5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
35 lines
976 B
Nix
35 lines
976 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dnsx";
|
|
version = "1.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = "dnsx";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-hO6m4WsoK50tLBr7I9ui7HE3rxKpOES8IOugi04yeQo=";
|
|
};
|
|
|
|
vendorHash = "sha256-c3HHfcWppAUfKjePsB+/CvxJWjp5zV6TJvsm3yKH4cw=";
|
|
|
|
# Tests require network access
|
|
doCheck = false;
|
|
|
|
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";
|
|
changelog = "https://github.com/projectdiscovery/dnsx/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|