1{ lib, buildPythonPackage, fetchPypi 2, six, httplib2, pyasn1-modules, rsa }: 3 4buildPythonPackage rec { 5 pname = "oauth2client"; 6 version = "4.1.2"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "bd3062c06f8b10c6ef7a890b22c2740e5f87d61b6e1f4b1c90d069cdfc9dadb5"; 11 }; 12 13 propagatedBuildInputs = [ six httplib2 pyasn1-modules rsa ]; 14 doCheck = false; 15 16 meta = with lib; { 17 description = "A client library for OAuth 2.0"; 18 homepage = https://github.com/google/oauth2client/; 19 license = licenses.bsd2; 20 }; 21}