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-03-30 09:31:56 +00:00
|
|
|
version = "1.6.1";
|
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-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-NpPVA+fruI/xX0KMjRuRuMK8HYc/0ErbDhJOCNXKhyY=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|