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-08-12 12:06:08 +00:00
|
|
|
version = "1.6.8";
|
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";
|
2022-04-27 09:35:20 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-nRt2rcP/UldnNzDxANQDCzuqkFCU4LQxfWarqyc5a5Y=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|