git.iko.soy/typeable/nixpkgs
on master help sign in
amass: 2.8.3 -> 2.8.5
commite212b9975172a43f329aefa4afaa41525323d87f authorWael M. Nasreddine <wael.nasreddine@gmail.com> dateTue 20 Nov 2018, 12:51 (8 years ago) parent572b514
2 files changed+15−9
pkgs/tools/networking/amass/default.nix+13−7 pkgs/tools/networking/amass/deps.nix+2−2
pkgs/tools/networking/amass/default.nix+13−7
@@ -1,11 +1,12 @@
11{ buildGoPackage
22, fetchFromGitHub
3+, fetchpatch
34, lib
45}:
56
67buildGoPackage rec {
78 name = "amass-${version}";
8− version = "2.8.3";
9+ version = "2.8.5";
910
1011 goPackagePath = "github.com/OWASP/Amass";
1112
@@ -13,17 +14,19 @@ buildGoPackage rec {
1314 owner = "OWASP";
1415 repo = "Amass";
1516 rev = version;
16− sha256 = "1pidi7bpg5z04l6ryfd7rqxshayvkqmgav0f6f1fxz4jwrmx9nnc";
17+ sha256 = "1nsqg1p7hcv369d53n13xps3ks6fgzkkp6v9q87l04yj32nbr5qy";
1718 };
1819
19− # NOTE: this must be removed once amass > 2.8.3 is released. This version has
20− # a broken import caused by the project migrating to a new home.
21− preBuild = ''
22− sed -e 's:github.com/caffix/amass/amass/core:github.com/OWASP/Amass/amass/core:g' -i "go/src/${goPackagePath}/cmd/amass.netdomains/main.go"
23− '';
20+ outputs = [ "bin" "out" "wordlists" ];
2421
2522 goDeps = ./deps.nix;
2623
24+ postInstall = ''
25+ mkdir -p $wordlists
26+ cp -R $src/wordlists/*.txt $wordlists
27+ gzip $wordlists/*.txt
28+ '';
29+
2730 meta = with lib; {
2831 description = "In-Depth DNS Enumeration and Network Mapping";
2932 longDescription = ''
@@ -33,6 +36,9 @@ buildGoPackage rec {
3336 uses the IP addresses obtained during resolution to discover associated
3437 netblocks and ASNs. All the information is then used to build maps of the
3538 target networks.
39+
40+ Amass ships with a set of wordlist (to be used with the amass -w flag)
41+ that are found under the wordlists output.
3642 '';
3743 homepage = https://www.owasp.org/index.php/OWASP_Amass_Project;
3844 license = licenses.asl20;
pkgs/tools/networking/amass/deps.nix+2−2
@@ -94,8 +94,8 @@
9494 fetch = {
9595 type = "git";
9696 url = "https://go.googlesource.com/sys";
97− rev = "93218def8b18e66adbdab3eca8ec334700329f1f";
98− sha256 = "0v0zdnsi0vw03dcfir7b228g02ag7jr7mgbgv6lnjwbbccxv07pz";
97+ rev = "ec83556a53fe16b65c452a104ea9d1e86a671852";
98+ sha256 = "1ijlbyn5gs8g6z2pjlj5h77lg7wrljqxdls4xlcfqxmghxiyci2f";
9999 };
100100 }
101101]