diff options
Diffstat (limited to 'pkgs/development/python-modules/google-auth-oauthlib/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/google-auth-oauthlib/default.nix | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/pkgs/development/python-modules/google-auth-oauthlib/default.nix b/pkgs/development/python-modules/google-auth-oauthlib/default.nix index 84693b839de9..863cf6bb6dfc 100644 --- a/pkgs/development/python-modules/google-auth-oauthlib/default.nix +++ b/pkgs/development/python-modules/google-auth-oauthlib/default.nix @@ -1,14 +1,15 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchPypi -, setuptools -, click -, mock -, pytestCheckHook -, google-auth -, requests-oauthlib -, pythonOlder +{ + lib, + stdenv, + buildPythonPackage, + fetchPypi, + setuptools, + click, + mock, + pytestCheckHook, + google-auth, + requests-oauthlib, + pythonOlder, }: buildPythonPackage rec { @@ -23,9 +24,7 @@ buildPythonPackage rec { hash = "sha256-KS0tN4M0nysHNKCgIHseHjIqwZPCwJ2PfGE/t8xQHqg="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ google-auth @@ -41,17 +40,17 @@ buildPythonPackage rec { pytestCheckHook ] ++ passthru.optional-dependencies.tool; - disabledTests = [ - # Flaky test. See https://github.com/NixOS/nixpkgs/issues/288424#issuecomment-1941609973. - "test_run_local_server_occupied_port" - ] ++ lib.optionals stdenv.isDarwin [ - # This test fails if the hostname is not associated with an IP (e.g., in `/etc/hosts`). - "test_run_local_server_bind_addr" - ]; + disabledTests = + [ + # Flaky test. See https://github.com/NixOS/nixpkgs/issues/288424#issuecomment-1941609973. + "test_run_local_server_occupied_port" + ] + ++ lib.optionals stdenv.isDarwin [ + # This test fails if the hostname is not associated with an IP (e.g., in `/etc/hosts`). + "test_run_local_server_bind_addr" + ]; - pythonImportsCheck = [ - "google_auth_oauthlib" - ]; + pythonImportsCheck = [ "google_auth_oauthlib" ]; meta = with lib; { changelog = "https://github.com/googleapis/google-auth-library-python-oauthlib/blob/v${version}/CHANGELOG.md"; |
