nixpkgs/pkgs/tools/security/dnsx/default.nix
2020-12-27 12:16:14 +01:00

32 lines
844 B
Nix

{ buildGoModule
, fetchFromGitHub
, stdenv
}:
buildGoModule rec {
pname = "dnsx";
version = "1.0.1";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "dnsx";
rev = "v${version}";
sha256 = "1pgq21pbnz2dm272zrhd455njj5vg4kywpd230acj675nlgir6y1";
};
vendorSha256 = "0j2cqvskzxbyfrvsv4gm4qwfjm0digizcg157z5iignnknddajax";
meta = with stdenv.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 ];
};
}