theharvester: 3.2.3 -> 4.0.0

This commit is contained in:
Fabian Affolter 2021-07-08 23:43:10 +02:00
parent 313e4ac54a
commit 20e4bb677d

View file

@ -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";