1{ lib
2, beautifulsoup4
3, buildPythonPackage
4, click
5, colorama
6, fetchFromGitHub
7, html2text
8, lxml
9, pytestCheckHook
10, python-dateutil
11, pytz
12, requests
13, simplejson
14, tabulate
15}:
16
17buildPythonPackage rec {
18 pname = "faraday-plugins";
19 version = "1.5.7";
20 format = "setuptools";
21
22 src = fetchFromGitHub {
23 owner = "infobyte";
24 repo = "faraday_plugins";
25 rev = "v${version}";
26 sha256 = "sha256-EW9p5r7RwWohNGwbITtDrEd1FYLtOwWXhVWFgPCG+Po=";
27 };
28
29 propagatedBuildInputs = [
30 beautifulsoup4
31 click
32 colorama
33 html2text
34 lxml
35 python-dateutil
36 pytz
37 requests
38 simplejson
39 tabulate
40 ];
41
42 checkInputs = [
43 pytestCheckHook
44 ];
45
46 disabledTestPaths = [
47 # faraday itself is currently not available
48 "tests/test_report_collection.py"
49 ];
50
51 disabledTests = [
52 # Fail because of missing faraday
53 "test_detect_report"
54 "test_process_report_summary"
55 ];
56
57 pythonImportsCheck = [
58 "faraday_plugins"
59 ];
60
61 meta = with lib; {
62 description = "Security tools report parsers for Faraday";
63 homepage = "https://github.com/infobyte/faraday_plugins";
64 license = with licenses; [ gpl3Only ];
65 maintainers = with maintainers; [ fab ];
66 };
67}