fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
45 lines
931 B
Nix
45 lines
931 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
urllib3,
|
|
six,
|
|
certifi,
|
|
python-dateutil,
|
|
asn1crypto,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ionoscloud";
|
|
version = "6.1.9";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-IpDhuZ8KrqT8g3UKgdEmjzKRlK1SXq1fgrTDFy/fvpU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|