92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
70 lines
1.3 KiB
Nix
70 lines
1.3 KiB
Nix
{ lib
|
|
, beautifulsoup4
|
|
, buildPythonPackage
|
|
, click
|
|
, colorama
|
|
, fetchFromGitHub
|
|
, html2text
|
|
, lxml
|
|
, pytestCheckHook
|
|
, python-dateutil
|
|
, pytz
|
|
, requests
|
|
, simplejson
|
|
, tabulate
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "faraday-plugins";
|
|
version = "1.8.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "infobyte";
|
|
repo = "faraday_plugins";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-KAfy2AQWZYFT/+rX8dNe8aWTFI0kkGg5IaSHhwYGk3A=";
|
|
};
|
|
|
|
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"
|
|
# JSON parsing issue
|
|
"test_process_report_ignore_info"
|
|
"test_process_report_tags"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"faraday_plugins"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|