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