From fc48e74127c08ac44f56f3535dc09648ba5ef57d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 25 Apr 2019 11:20:18 -0500 Subject: [PATCH] pythonPackages.google-auth-oauthlib: fix python3 build (#60209) --- .../python-modules/google-auth-oauthlib/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-auth-oauthlib/default.nix b/pkgs/development/python-modules/google-auth-oauthlib/default.nix index fd8eb816784e..c5e9b1028288 100644 --- a/pkgs/development/python-modules/google-auth-oauthlib/default.nix +++ b/pkgs/development/python-modules/google-auth-oauthlib/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, isPy3k , click , mock , pytest @@ -19,8 +20,8 @@ buildPythonPackage rec { }; checkInputs = [ - click mock pytest futures - ]; + click mock pytest + ] ++ lib.optionals (!isPy3k) [ futures ]; propagatedBuildInputs = [ google_auth requests_oauthlib