nixpkgs/pkgs/tools/security/dnsx/default.nix

35 lines
978 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dnsx";
version = "1.1.4";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "dnsx";
rev = "refs/tags/v${version}";
hash = "sha256-FNPAsslKmsLrUtiw+GlXLppsEk/VB02jkZLmrB8zZOI=";
};
vendorSha256 = "sha256-QXmy+Ph0lKguAoIWfc41z7XH7jXGc601DD6v292Hzj0=";
# 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 ];
};
}