Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 46 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, regex, requests,}:
buildPythonPackage rec { pname = "iocextract"; version = "1.16.1"; format = "setuptools";
src = fetchFromGitHub { owner = "InQuest"; repo = "python-iocextract"; tag = "v${version}"; hash = "sha256-cCp9ug/TuVY1zL+kiDlFGBmfFJyAmVwxLD36WT0oRAE="; };
propagatedBuildInputs = [ regex requests ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "iocextract" ];
enabledTestPaths = [ "tests.py" ];
disabledTests = [ # AssertionError: 'http://exampledotcom/test' != 'http://example.com/test' "test_refang_data" ];
meta = { description = "Module to extract Indicator of Compromises (IOC)"; mainProgram = "iocextract"; homepage = "https://github.com/InQuest/python-iocextract"; changelog = "https://github.com/InQuest/python-iocextract/releases/tag/v${version}"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ fab ]; };}