1{ lib, buildPythonPackage, fetchPypi
2, google_auth, google-auth-httplib2, google_api_core
3, httplib2, six, uritemplate, oauth2client }:
4
5buildPythonPackage rec {
6 pname = "google-api-python-client";
7 version = "1.11.0";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "0yxrz897kpjypfqzcy0ry90hc34w47q4fzqidp81h6pg01c03x6a";
12 };
13
14 # No tests included in archive
15 doCheck = false;
16
17 propagatedBuildInputs = [
18 google_auth google-auth-httplib2 google_api_core
19 httplib2 six uritemplate oauth2client
20 ];
21
22 meta = with lib; {
23 description = "The official Python client library for Google's discovery based APIs";
24 longDescription = ''
25 These client libraries are officially supported by Google. However, the
26 libraries are considered complete and are in maintenance mode. This means
27 that we will address critical bugs and security issues but will not add
28 any new features.
29 '';
30 homepage = "https://github.com/google/google-api-python-client";
31 changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/v${version}";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ primeos ];
34 };
35}