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