Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, stdenv, buildPythonPackage, fetchPypi, click, mock, pytestCheckHook, google-auth, requests-oauthlib, pythonOlder}:
buildPythonPackage rec { pname = "google-auth-oauthlib"; version = "1.1.0"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { inherit pname version; hash = "sha256-g+qMOwiB5FN5C6/0RI6KYRKsh3jR3p2gtoAQuEOTevs="; };
propagatedBuildInputs = [ google-auth requests-oauthlib ];
nativeCheckInputs = [ click mock pytestCheckHook ];
disabledTests = 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" ];
meta = with lib; { description = "Google Authentication Library: oauthlib integration"; homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib"; license = licenses.asl20; maintainers = with maintainers; [ terlar ]; };}