Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 83 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ lib, beautifulsoup4, buildPythonPackage, click, colorama, fetchFromGitHub, html2text, lxml, markdown, pandas, pytestCheckHook, python-dateutil, pytz, requests, setuptools, simplejson, tabulate, tldextract,}:
buildPythonPackage rec { pname = "faraday-plugins"; version = "1.25.0"; pyproject = true;
src = fetchFromGitHub { owner = "infobyte"; repo = "faraday_plugins"; tag = version; hash = "sha256-VkpwTHPpM1cS5HT5zE3gB25zWOTIVaZdPKNgQFJHO/Q="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail "version=version," "version='${version}'," '';
build-system = [ setuptools ];
dependencies = [ beautifulsoup4 click colorama html2text lxml markdown pandas python-dateutil pytz requests simplejson tabulate tldextract ];
nativeCheckInputs = [ 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"; changelog = "https://github.com/infobyte/faraday_plugins/releases/tag/${src.tag}"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; mainProgram = "faraday-plugins"; };}