1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 pytz, 7 requests, 8 setuptools, 9 six, 10}: 11 12buildPythonPackage rec { 13 pname = "taxii2-client"; 14 version = "2.3.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchFromGitHub { 20 owner = "oasis-open"; 21 repo = "cti-taxii-client"; 22 tag = "v${version}"; 23 hash = "sha256-e22bJdLAlm30vv/xIgLSjcwmzfN0Pwt2JydLgEbA+Is="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 pytz 30 requests 31 six 32 ]; 33 34 pythonImportsCheck = [ "taxii2client" ]; 35 36 meta = { 37 description = "TAXII 2 client library"; 38 homepage = "https://github.com/oasis-open/cti-taxii-client/"; 39 changelog = "https://github.com/oasis-open/cti-taxii-client/blob/${src.rev}/CHANGES.txt"; 40 license = lib.licenses.bsd3; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43}