2021-09-23 15:35:13 +00:00
|
|
|
{ lib
|
|
|
|
, beautifulsoup4
|
|
|
|
, buildPythonPackage
|
|
|
|
, click
|
|
|
|
, colorama
|
|
|
|
, fetchFromGitHub
|
|
|
|
, html2text
|
|
|
|
, lxml
|
|
|
|
, pytestCheckHook
|
|
|
|
, python-dateutil
|
|
|
|
, pytz
|
|
|
|
, requests
|
|
|
|
, simplejson
|
|
|
|
, tabulate
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "faraday-plugins";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "1.6.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
format = "setuptools";
|
2021-09-23 15:35:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "infobyte";
|
|
|
|
repo = "faraday_plugins";
|
|
|
|
rev = "v${version}";
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "sha256-mvYbX8puqcT9kl1Abi785ptmmg9CxKZVTO6gPpk4sKU=";
|
2021-09-23 15:35:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
beautifulsoup4
|
|
|
|
click
|
|
|
|
colorama
|
|
|
|
html2text
|
|
|
|
lxml
|
|
|
|
python-dateutil
|
|
|
|
pytz
|
|
|
|
requests
|
|
|
|
simplejson
|
|
|
|
tabulate
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTestPaths = [
|
|
|
|
# faraday itself is currently not available
|
|
|
|
"tests/test_report_collection.py"
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# Fail because of missing faraday
|
|
|
|
"test_detect_report"
|
|
|
|
"test_process_report_summary"
|
|
|
|
];
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"faraday_plugins"
|
|
|
|
];
|
2021-09-23 15:35:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Security tools report parsers for Faraday";
|
|
|
|
homepage = "https://github.com/infobyte/faraday_plugins";
|
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|