Commit 6847ffb2 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.taxii2-client: init at 2.3.0

parent ef9abaca
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };