tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
amass: 4.2.0 -> 5.0.1, fix build issues
Braian A. Diez
7 months ago
3d7c3425
c0f4ab3e
+8
-18
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
am
amass
package.nix
+8
-18
pkgs/by-name/am/amass/package.nix
reviewed
···
2
2
lib,
3
3
buildGoModule,
4
4
fetchFromGitHub,
5
5
+
pkg-config,
6
6
+
libpostalWithData,
5
7
}:
6
6
-
7
8
buildGoModule rec {
8
9
pname = "amass";
9
9
-
version = "4.2.0";
10
10
+
version = "5.0.1";
11
11
+
12
12
+
nativeBuildInputs = [ pkg-config ];
13
13
+
buildInputs = [ libpostalWithData ];
10
14
11
15
src = fetchFromGitHub {
12
16
owner = "OWASP";
13
17
repo = "Amass";
14
18
tag = "v${version}";
15
15
-
hash = "sha256-lhvU2fUnjQ+D+EZDRircNg/np4Ynk+HzOBgxT1L8BaQ=";
19
19
+
hash = "sha256-uAuBWzEwppnmYacfPI7MZUW+7PdSs3EqYm1WQI4fthQ=";
16
20
};
17
21
18
18
-
vendorHash = "sha256-PdFIWK4yBh8Bb9mzYdU2h7pDPK8FZMhu8meTd9snP48=";
19
19
-
20
20
-
outputs = [
21
21
-
"out"
22
22
-
"wordlists"
23
23
-
];
24
24
-
25
25
-
postInstall = ''
26
26
-
mkdir -p $wordlists
27
27
-
cp -R examples/wordlists/*.txt $wordlists
28
28
-
gzip $wordlists/*.txt
29
29
-
'';
22
22
+
vendorHash = "sha256-/AowoZfOk2tib996oC2hsMnzbe/CVbCBesTWXp6xE6Y=";
30
23
31
24
# https://github.com/OWASP/Amass/issues/640
32
25
doCheck = false;
···
40
33
uses the IP addresses obtained during resolution to discover associated
41
34
netblocks and ASNs. All the information is then used to build maps of the
42
35
target networks.
43
43
-
44
44
-
Amass ships with a set of wordlist (to be used with the amass -w flag)
45
45
-
that are found under the wordlists output.
46
36
'';
47
37
homepage = "https://owasp.org/www-project-amass/";
48
38
changelog = "https://github.com/OWASP/Amass/releases/tag/v${version}";