git.iko.soy/typeable/nixpkgs
on master help sign in
theharvester: 3.2.3 -> 4.0.0
commit20e4bb677dd6b87eb8e2f647029d99e584549525 authorFabian Affolter <mail@fabian-affolter.ch> dateThu 8 Jul 2021, 23:43 (5 years ago) parent313e4ac
1 file changed+16−7
pkgs/tools/security/theharvester/default.nix+16−7
pkgs/tools/security/theharvester/default.nix+16−7
@@ -4,8 +4,8 @@
44}:
55
66python3.pkgs.buildPythonApplication rec {
7− pname = "theHarvester";
8− version = "3.2.3";
7+ pname = "theharvester";
8+ version = "4.0.0";
99
1010 src = fetchFromGitHub {
1111 owner = "laramies";
@@ -16,6 +16,7 @@ python3.pkgs.buildPythonApplication rec {
1616
1717 propagatedBuildInputs = with python3.pkgs; [
1818 aiodns
19+ aiofiles
1920 aiohttp
2021 aiomultiprocess
2122 aiosqlite
@@ -23,8 +24,7 @@ python3.pkgs.buildPythonApplication rec {
2324 censys
2425 certifi
2526 dnspython
26− gevent
27− grequests
27+ fastapi
2828 lxml
2929 netaddr
3030 plotly
@@ -33,14 +33,23 @@ python3.pkgs.buildPythonApplication rec {
3333 requests
3434 retrying
3535 shodan
36− texttable
36+ slowapi
37+ starlette
38+ uvicorn
3739 uvloop
3840 ];
3941
40− checkInputs = [ python3.pkgs.pytest ];
42+ checkInputs = with python3.pkgs; [
43+ pytest
44+ pytest-asyncio
45+ ];
4146
42− checkPhase = "runHook preCheck ; pytest tests/test_myparser.py ; runHook postCheck";
4347 # We don't run other tests (discovery modules) because they require network access
48+ checkPhase = ''
49+ runHook preCheck
50+ pytest tests/test_myparser.py
51+ runHook postCheck
52+ '';
4453
4554 meta = with lib; {
4655 description = "Gather E-mails, subdomains and names from different public sources";