12 buildPythonPackage rec {
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-0xHwjsF7YsxhIWs9rPA+6J+VodqQNqWV2sKfydeYuCc=";
24 build-system = [ setuptools ];
31 nativeCheckInputs = [ pytestCheckHook ];
33 pythonImportsCheck = [ "ovh" ];
36 # Tests require network access
37 "test_config_from_files"
38 "test_config_from_given_config_file"
39 "test_config_from_invalid_ini_file"
40 "test_config_from_only_one_file"
42 # Tests require API key
44 "test_config_invalid_both"
45 "test_config_invalid_oauth2"
46 "test_config_incompatible_oauth2"
50 description = "Thin wrapper around OVH's APIs";
51 homepage = "https://github.com/ovh/python-ovh";
52 changelog = "https://github.com/ovh/python-ovh/blob/v${version}/CHANGELOG.md";
53 license = licenses.bsd2;
54 maintainers = with maintainers; [ makefu ];