blob: 808d43a54c3fc7f7f5d0cf1544f5648c370e9c6c (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "zdns";
version = "2.0.3";
src = fetchFromGitHub {
owner = "zmap";
repo = pname;
tag = "v${version}";
hash = "sha256-ZwZCDiZ4rZ8ODaEd/81muMT+OvOe59hRcNi9iZKqdFs=";
};
vendorHash = "sha256-f5qboa7AIAG67Yla5sPr7r1HgW8n16SnbIOuGy7JjWs=";
preCheck = ''
# Tests require network access
substituteInPlace src/cli/worker_manager_test.go \
--replace-fail "TestConvertNameServerStringToNameServer" "SkipTestConvertNameServerStringToNameServer"
'';
meta = {
description = "CLI DNS lookup tool";
mainProgram = "zdns";
homepage = "https://github.com/zmap/zdns";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|