My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/faraday-plugins/default.nix

67 lines
1.2 KiB

{ lib
, beautifulsoup4
, buildPythonPackage
, click
, colorama
, fetchFromGitHub
, html2text
, lxml
, pytestCheckHook
, python-dateutil
, pytz
, requests
, simplejson
, tabulate
}:
buildPythonPackage rec {
pname = "faraday-plugins";
version = "1.6.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "infobyte";
repo = "faraday_plugins";
rev = "refs/tags/v${version}";
sha256 = "sha256-clhWUKpX4q3aXq7HrrGPda+qjPD/GuPS7PRZ7c4xxxI=";
};
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 ];
};
}