Commit 9c5646c1 authored by Robert Schütz's avatar Robert Schütz
Browse files

python311Packages.google-auth-oauthlib: set passthru.optional-dependencies

parent 6954e9a2
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -32,11 +32,14 @@ buildPythonPackage rec {
    requests-oauthlib
  ];

  passthru.optional-dependencies = {
    tool = [ click ];
  };

  nativeCheckInputs = [
    click
    mock
    pytestCheckHook
  ];
  ] ++ passthru.optional-dependencies.tool;

  disabledTests = lib.optionals stdenv.isDarwin [
    # This test fails if the hostname is not associated with an IP (e.g., in `/etc/hosts`).