1{ lib 2, buildPythonPackage 3, fetchPypi 4, google-api-python-client 5, oauth2client 6, pyyaml 7}: 8 9buildPythonPackage rec { 10 pname = "pydrive"; 11 version = "1.3.1"; 12 13 src = fetchPypi { 14 pname = "PyDrive"; 15 inherit version; 16 sha256 = "11q7l94mb34hfh9wkdwfrh5xw99y13wa33ba7xp1q23q4b60v2c3"; 17 }; 18 19 propagatedBuildInputs = [ 20 google-api-python-client 21 oauth2client 22 pyyaml 23 ]; 24 25 # requires client_secrets.json 26 doCheck = false; 27 28 meta = { 29 description = "Google Drive API Python wrapper library"; 30 homepage = "https://github.com/gsuitedevs/PyDrive"; 31 license = lib.licenses.asl20; 32 }; 33}