python3Packages.iocx: init at 0.6.0 (#511113)
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pefile,
|
||||
pytestCheckHook,
|
||||
python-magic,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "iocx";
|
||||
version = "0.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iocx-dev";
|
||||
repo = "iocx";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-WdUHqQXq/qJyqZ5O9+E777+fQaQowvftDtQ0mj67FHw=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
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"
|
||||
];
|
||||
|
||||
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.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -7641,6 +7641,8 @@ self: super: with self; {
|
||||
|
||||
ioctl-opt = callPackage ../development/python-modules/ioctl-opt { };
|
||||
|
||||
iocx = callPackage ../development/python-modules/iocx { };
|
||||
|
||||
iodata = callPackage ../development/python-modules/iodata { };
|
||||
|
||||
iometer = callPackage ../development/python-modules/iometer { };
|
||||
|
||||
Reference in New Issue
Block a user