···2 lib,
3 buildGoModule,
4 fetchFromGitHub,
005}:
6-7buildGoModule rec {
8 pname = "amass";
9- version = "4.2.0";
0001011 src = fetchFromGitHub {
12 owner = "OWASP";
13 repo = "Amass";
14 tag = "v${version}";
15- hash = "sha256-lhvU2fUnjQ+D+EZDRircNg/np4Ynk+HzOBgxT1L8BaQ=";
16 };
1718- vendorHash = "sha256-PdFIWK4yBh8Bb9mzYdU2h7pDPK8FZMhu8meTd9snP48=";
19-20- outputs = [
21- "out"
22- "wordlists"
23- ];
24-25- postInstall = ''
26- mkdir -p $wordlists
27- cp -R examples/wordlists/*.txt $wordlists
28- gzip $wordlists/*.txt
29- '';
3031 # https://github.com/OWASP/Amass/issues/640
32 doCheck = false;
···40 uses the IP addresses obtained during resolution to discover associated
41 netblocks and ASNs. All the information is then used to build maps of the
42 target networks.
43-44- Amass ships with a set of wordlist (to be used with the amass -w flag)
45- that are found under the wordlists output.
46 '';
47 homepage = "https://owasp.org/www-project-amass/";
48 changelog = "https://github.com/OWASP/Amass/releases/tag/v${version}";
···2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5+ pkg-config,
6+ libpostalWithData,
7}:
08buildGoModule rec {
9 pname = "amass";
10+ version = "5.0.1";
11+12+ nativeBuildInputs = [ pkg-config ];
13+ buildInputs = [ libpostalWithData ];
1415 src = fetchFromGitHub {
16 owner = "OWASP";
17 repo = "Amass";
18 tag = "v${version}";
19+ hash = "sha256-uAuBWzEwppnmYacfPI7MZUW+7PdSs3EqYm1WQI4fthQ=";
20 };
2122+ vendorHash = "sha256-/AowoZfOk2tib996oC2hsMnzbe/CVbCBesTWXp6xE6Y=";
000000000002324 # https://github.com/OWASP/Amass/issues/640
25 doCheck = false;
···33 uses the IP addresses obtained during resolution to discover associated
34 netblocks and ASNs. All the information is then used to build maps of the
35 target networks.
00036 '';
37 homepage = "https://owasp.org/www-project-amass/";
38 changelog = "https://github.com/OWASP/Amass/releases/tag/v${version}";