Merge pull request #224538 from fabaff/iocextract

python310Packages.iocextract: init at 1.15.1
This commit is contained in:
Fabian Affolter 2023-04-05 00:11:57 +02:00 committed by GitHub
commit f3afe4d43c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, regex
}:
buildPythonPackage rec {
pname = "iocextract";
version = "1.15.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "InQuest";
repo = "python-iocextract";
rev = "refs/tags/v${version}";
hash = "sha256-muto8lr3sP44bLFIoAuPeS8pRv7pNP1JFKaAJV01TZY=";
};
propagatedBuildInputs = [
regex
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"iocextract"
];
pytestFlagsArray = [
"tests.py"
];
meta = with lib; {
description = "Module to extract Indicator of Compromises (IOC)";
homepage = "https://github.com/InQuest/python-iocextract";
changelog = "https://github.com/InQuest/python-iocextract/releases/tag/v${version}";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -8606,6 +8606,8 @@ with pkgs;
ioccheck = callPackage ../tools/security/ioccheck { };
iocextract = with python3Packages; toPythonApplication iocextract;
ioping = callPackage ../tools/system/ioping { };
ior = callPackage ../tools/system/ior { };

View file

@ -4800,6 +4800,8 @@ self: super: with self; {
iocapture = callPackage ../development/python-modules/iocapture { };
iocextract = callPackage ../development/python-modules/iocextract { };
ionhash = callPackage ../development/python-modules/ionhash { };
iotawattpy = callPackage ../development/python-modules/iotawattpy { };