blob: 3e4072c8eaa68f33763ef8dbc760f1f5eb9bd2a1 (
plain) (
blame)
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
|
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "asnmap";
version = "0.0.1";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = pname;
rev = "v${version}";
hash = "sha256-NdD1b/yHB1fizAl/5UsksQ5jrj1OW46Ff4eABPPam7w=";
};
vendorHash = "sha256-/L3fGDa3aJit9forggszIjpekowh4LbNhxiJjHhzARs=";
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Tool to gather network ranges using ASN information";
homepage = "https://github.com/projectdiscovery/asnmap";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|