1{ lib 2, buildPythonPackage 3, fetchPypi 4, google-auth 5, google-auth-httplib2 6, google-api-core 7, httplib2 8, uritemplate 9, oauth2client 10, setuptools 11, pythonOlder 12}: 13 14buildPythonPackage rec { 15 pname = "google-api-python-client"; 16 version = "2.61.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.6"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "sha256-3goMt7sY6/9c99x4K0ikiKFL12hLU4eZ8xvtq33iuD8="; 24 }; 25 26 propagatedBuildInputs = [ 27 google-auth 28 google-auth-httplib2 29 google-api-core 30 httplib2 31 uritemplate 32 oauth2client 33 setuptools 34 ]; 35 36 # No tests included in archive 37 doCheck = false; 38 39 pythonImportsCheck = [ 40 "googleapiclient" 41 ]; 42 43 meta = with lib; { 44 description = "The official Python client library for Google's discovery based APIs"; 45 longDescription = '' 46 These client libraries are officially supported by Google. However, the 47 libraries are considered complete and are in maintenance mode. This means 48 that we will address critical bugs and security issues but will not add 49 any new features. 50 ''; 51 homepage = "https://github.com/google/google-api-python-client"; 52 changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/v${version}"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ ]; 55 }; 56}