lol
1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "dnsx";
8 version = "1.2.1";
9
10 src = fetchFromGitHub {
11 owner = "projectdiscovery";
12 repo = "dnsx";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-scp0CDIO8F2TqpSCgXXfb8I83stvO/GZqSA5/BkN8pE=";
15 };
16
17 vendorHash = "sha256-WbFkBTPy4N+mAVSkq1q9XcNs1jk6YuBcYxiEmQV/TsM=";
18
19 # Tests require network access
20 doCheck = false;
21
22 meta = with lib; {
23 description = "Fast and multi-purpose DNS toolkit";
24 longDescription = ''
25 dnsx is a fast and multi-purpose DNS toolkit allow to run multiple
26 probers using retryabledns library, that allows you to perform
27 multiple DNS queries of your choice with a list of user supplied
28 resolvers.
29 '';
30 homepage = "https://github.com/projectdiscovery/dnsx";
31 changelog = "https://github.com/projectdiscovery/dnsx/releases/tag/v${version}";
32 license = licenses.mit;
33 maintainers = with maintainers; [ fab ];
34 };
35}