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:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user