84cb9d505d
GitOrigin-RevId: 51bcdc4cdaac48535dabf0ad4642a66774c609ed
64 lines
1.2 KiB
Nix
64 lines
1.2 KiB
Nix
{ lib
|
|
, beautifulsoup4
|
|
, buildPythonPackage
|
|
, click
|
|
, colorama
|
|
, fetchFromGitHub
|
|
, html2text
|
|
, lxml
|
|
, pytestCheckHook
|
|
, python-dateutil
|
|
, pytz
|
|
, requests
|
|
, simplejson
|
|
, tabulate
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "faraday-plugins";
|
|
version = "1.5.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "infobyte";
|
|
repo = "faraday_plugins";
|
|
rev = "v${version}";
|
|
sha256 = "0nyywpsyw7akwdah75s9mz5nz11y1hbynp08pvqifwdw49crih02";
|
|
};
|
|
|
|
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"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|