567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
46 lines
900 B
Nix
46 lines
900 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
urllib3,
|
|
six,
|
|
certifi,
|
|
python-dateutil,
|
|
asn1crypto,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ionoscloud";
|
|
version = "6.1.13";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-8QgweGXPWcvGQcp22yo4KovkVXrDI2eSWNMUnGhDWEI=";
|
|
};
|
|
|
|
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 = {
|
|
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 = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|