forked from mirrors/nixpkgs
amass: enable on darwin
This commit is contained in:
parent
92f08e07af
commit
692b890004
|
@ -1,6 +1,7 @@
|
||||||
{ buildGoModule
|
{ buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
, stdenv
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
@ -18,13 +19,15 @@ buildGoModule rec {
|
||||||
|
|
||||||
outputs = [ "out" "wordlists" ];
|
outputs = [ "out" "wordlists" ];
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $wordlists
|
mkdir -p $wordlists
|
||||||
cp -R $src/examples/wordlists/*.txt $wordlists
|
cp -R $src/examples/wordlists/*.txt $wordlists
|
||||||
gzip $wordlists/*.txt
|
gzip $wordlists/*.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "In-Depth DNS Enumeration and Network Mapping";
|
description = "In-Depth DNS Enumeration and Network Mapping";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
The OWASP Amass tool suite obtains subdomain names by scraping data
|
The OWASP Amass tool suite obtains subdomain names by scraping data
|
||||||
|
|
|
@ -563,7 +563,9 @@ in
|
||||||
|
|
||||||
acme-client = callPackage ../tools/networking/acme-client { inherit (darwin) apple_sdk; };
|
acme-client = callPackage ../tools/networking/acme-client { inherit (darwin) apple_sdk; };
|
||||||
|
|
||||||
amass = callPackage ../tools/networking/amass { };
|
amass = callPackage ../tools/networking/amass {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
afew = callPackage ../applications/networking/mailreaders/afew { };
|
afew = callPackage ../applications/networking/mailreaders/afew { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue