Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchFromGitHub, idna, pefile, pytestCheckHook, python-magic, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "iocx"; version = "0.7.6.2"; pyproject = true;
src = fetchFromGitHub { owner = "iocx-dev"; repo = "iocx"; tag = "v${finalAttrs.version}"; hash = "sha256-tRiFys/1xrToGeTb/lD2Z/YJOBJzenN1m2bsq6L7+vQ="; };
build-system = [ setuptools ];
dependencies = [ idna pefile python-magic ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "iocx" ];
preCheck = '' export PATH="$PATH:$out/bin"; '';
disabledTests = [ # Test requires go to be available "test_cli_with_real_go_binary" # flaky: timing-sensitive scaling assertion "test_filepaths_scaling_behavior" "test_crypto_scaling_behavior" "test_scaling_behavior" ];
meta = { description = "IOC extraction engine for PE binaries and text"; homepage = "https://github.com/iocx-dev/iocx"; changelog = "https://github.com/iocx-dev/iocx/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ fab ]; };})