1{ lib, buildPythonPackage, fetchPypi 2, six, httplib2, pyasn1-modules, rsa }: 3 4buildPythonPackage rec { 5 pname = "oauth2client"; 6 version = "4.1.3"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6"; 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}