python312Packages.taxii2-client: init at 2.3.0

TAXII 2 client library

https://github.com/oasis-open/cti-taxii-client/
This commit is contained in:
Fabian Affolter
2024-09-14 16:33:33 +02:00
parent ef9abaca05
commit 6847ffb2ab
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytz,
requests,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "taxii2-client";
version = "2.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "oasis-open";
repo = "cti-taxii-client";
rev = "refs/tags/v${version}";
hash = "sha256-e22bJdLAlm30vv/xIgLSjcwmzfN0Pwt2JydLgEbA+Is=";
};
build-system = [ setuptools ];
dependencies = [
pytz
requests
six
];
pythonImportsCheck = [ "taxii2client" ];
meta = {
description = "TAXII 2 client library";
homepage = "https://github.com/oasis-open/cti-taxii-client/";
changelog = "https://github.com/oasis-open/cti-taxii-client/blob/${src.rev}/CHANGES.txt";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -15146,6 +15146,8 @@ self: super: with self; {
taxi = callPackage ../development/python-modules/taxi { };
taxii2-client = callPackage ../development/python-modules/taxii2-client { };
tbats = callPackage ../development/python-modules/tbats { };
tblib = callPackage ../development/python-modules/tblib { };