Merge pull request #224538 from fabaff/iocextract
python310Packages.iocextract: init at 1.15.1
This commit is contained in:
commit
f3afe4d43c
46
pkgs/development/python-modules/iocextract/default.nix
Normal file
46
pkgs/development/python-modules/iocextract/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue