diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-07-08 23:43:10 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-07-08 23:43:10 +0200 |
commit | 20e4bb677dd6b87eb8e2f647029d99e584549525 (patch) | |
tree | 15e7605516caa1d0295135ba9eb1a88d38970ae9 /pkgs/tools/security/theharvester | |
parent | 313e4ac54aa0318f12973dc16c3b5b5a5b254e28 (diff) |
theharvester: 3.2.3 -> 4.0.0
Diffstat (limited to 'pkgs/tools/security/theharvester')
-rw-r--r-- | pkgs/tools/security/theharvester/default.nix | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/pkgs/tools/security/theharvester/default.nix b/pkgs/tools/security/theharvester/default.nix index 2fae6c465d59e..dc1596facdff4 100644 --- a/pkgs/tools/security/theharvester/default.nix +++ b/pkgs/tools/security/theharvester/default.nix @@ -4,8 +4,8 @@ }: python3.pkgs.buildPythonApplication rec { - pname = "theHarvester"; - version = "3.2.3"; + pname = "theharvester"; + version = "4.0.0"; src = fetchFromGitHub { owner = "laramies"; @@ -16,6 +16,7 @@ python3.pkgs.buildPythonApplication rec { propagatedBuildInputs = with python3.pkgs; [ aiodns + aiofiles aiohttp aiomultiprocess aiosqlite @@ -23,8 +24,7 @@ python3.pkgs.buildPythonApplication rec { censys certifi dnspython - gevent - grequests + fastapi lxml netaddr plotly @@ -33,14 +33,23 @@ python3.pkgs.buildPythonApplication rec { requests retrying shodan - texttable + slowapi + starlette + uvicorn uvloop ]; - checkInputs = [ python3.pkgs.pytest ]; + checkInputs = with python3.pkgs; [ + pytest + pytest-asyncio + ]; - checkPhase = "runHook preCheck ; pytest tests/test_myparser.py ; runHook postCheck"; # We don't run other tests (discovery modules) because they require network access + checkPhase = '' + runHook preCheck + pytest tests/test_myparser.py + runHook postCheck + ''; meta = with lib; { description = "Gather E-mails, subdomains and names from different public sources"; |