mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python312Packages.ovh: 1.1.2 -> 1.2.0 (#339291)
This commit is contained in:
commit
f1321e4e63
@ -5,21 +5,28 @@
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
requests-oauthlib,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ovh";
|
||||
version = "1.1.2";
|
||||
format = "setuptools";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Yarx6ymS/Vr4Gbpa3Qgmbp7eLgAkUeOhYGpMNn3aoE8=";
|
||||
hash = "sha256-0xHwjsF7YsxhIWs9rPA+6J+VodqQNqWV2sKfydeYuCc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
requests-oauthlib
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@ -32,6 +39,11 @@ buildPythonPackage rec {
|
||||
"test_config_from_invalid_ini_file"
|
||||
"test_config_from_only_one_file"
|
||||
"test_endpoints"
|
||||
# Tests require API key
|
||||
"test_config_oauth2"
|
||||
"test_config_invalid_both"
|
||||
"test_config_invalid_oauth2"
|
||||
"test_config_incompatible_oauth2"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user