Unverified Commit 1dbbeee9 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #266263 from hexchen/init-ionoscloud

python311Packages.ionoscloud: init at 6.1.8
parents b69c9591 0590b13a
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, urllib3
, six
, certifi
, python-dateutil
, asn1crypto
}:

buildPythonPackage rec {
  pname = "ionoscloud";
  version = "6.1.8";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash= "sha256-QQNDqKZ+X+w5vHFXr793QqRjShNBZ182DyD3fUUxqkc=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [ urllib3 six certifi python-dateutil asn1crypto ];

  # upstream only has codecoverage tests, but no actual tests to go with them
  doCheck = false;

  pythonImportsCheck = [
    "ionoscloud"
  ];

  meta = with lib; {
    homepage = "https://github.com/ionos-cloud/sdk-python";
    description = "Python API client for ionoscloud";
    changelog = "https://github.com/ionos-cloud/sdk-python/blob/v${version}/docs/CHANGELOG.md";
    license = licenses.asl20;
    maintainers = with maintainers; [ hexchen ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -5434,6 +5434,8 @@ self: super: with self; {
  ionhash = callPackage ../development/python-modules/ionhash { };
  ionoscloud = callPackage ../development/python-modules/ionoscloud { };
  iopath = callPackage ../development/python-modules/iopath { };
  iotawattpy = callPackage ../development/python-modules/iotawattpy { };