amass: 4.2.0 -> 5.0.1, fix build issues (#440491)

authored by Fabian Affolter and committed by GitHub c8c9952a a396c5df

+8 -18
+8 -18
pkgs/by-name/am/amass/package.nix
··· 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 }: 6 - 7 buildGoModule rec { 8 pname = "amass"; 9 - version = "4.2.0"; 10 11 src = fetchFromGitHub { 12 owner = "OWASP"; 13 repo = "Amass"; 14 tag = "v${version}"; 15 - hash = "sha256-lhvU2fUnjQ+D+EZDRircNg/np4Ynk+HzOBgxT1L8BaQ="; 16 }; 17 18 - 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 - ''; 30 31 # 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 }: 8 buildGoModule rec { 9 pname = "amass"; 10 + version = "5.0.1"; 11 + 12 + nativeBuildInputs = [ pkg-config ]; 13 + buildInputs = [ libpostalWithData ]; 14 15 src = fetchFromGitHub { 16 owner = "OWASP"; 17 repo = "Amass"; 18 tag = "v${version}"; 19 + hash = "sha256-uAuBWzEwppnmYacfPI7MZUW+7PdSs3EqYm1WQI4fthQ="; 20 }; 21 22 + vendorHash = "sha256-/AowoZfOk2tib996oC2hsMnzbe/CVbCBesTWXp6xE6Y="; 23 24 # 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. 36 ''; 37 homepage = "https://owasp.org/www-project-amass/"; 38 changelog = "https://github.com/OWASP/Amass/releases/tag/v${version}";