1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5, urllib3 6, six 7, certifi 8, python-dateutil 9, asn1crypto 10}: 11 12buildPythonPackage rec { 13 pname = "ionoscloud"; 14 version = "6.1.8"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash= "sha256-QQNDqKZ+X+w5vHFXr793QqRjShNBZ182DyD3fUUxqkc="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 propagatedBuildInputs = [ urllib3 six certifi python-dateutil asn1crypto ]; 25 26 # upstream only has codecoverage tests, but no actual tests to go with them 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "ionoscloud" 31 ]; 32 33 meta = with lib; { 34 homepage = "https://github.com/ionos-cloud/sdk-python"; 35 description = "Python API client for ionoscloud"; 36 changelog = "https://github.com/ionos-cloud/sdk-python/blob/v${version}/docs/CHANGELOG.md"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ hexchen ]; 39 }; 40}