Commit dc89da7c authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.ovh: 1.1.2 -> 1.2.0

parent 5b5931f3
Loading
Loading
Loading
Loading
+16 −4
Original line number Diff line number Diff line
@@ -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; {