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

32 lines
832 B
Nix
Raw Normal View History

2020-12-27 12:16:14 +01:00
{ buildGoModule
, fetchFromGitHub
, lib
2020-12-27 12:16:14 +01:00
}:
buildGoModule rec {
pname = "dnsx";
2021-04-22 10:38:04 +02:00
version = "1.0.3";
2020-12-27 12:16:14 +01:00
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "dnsx";
rev = "v${version}";
2021-04-22 10:38:04 +02:00
sha256 = "sha256-k71Pw6XdOFMUf7w7QAAxqQkmkCINl+3KApkIPRyAQLM=";
2020-12-27 12:16:14 +01:00
};
2021-04-22 10:38:04 +02:00
vendorSha256 = "sha256-YA0XZSXmpAcNEFutrBbQE8DN7v5hcva0fscemEMLewU=";
2020-12-27 12:16:14 +01:00
meta = with lib; {
2020-12-27 12:16:14 +01: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 ];
};
}