1{ lib, buildPythonPackage, fetchPypi
2, google-auth, google-auth-httplib2, google-api-core
3, httplib2, six, uritemplate, oauth2client, setuptools }:
4
5buildPythonPackage rec {
6 pname = "google-api-python-client";
7 version = "2.25.0";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "sha256-dNgF7xC4sfWL04U53T0D+vEYj2TuPKQorAQtU59fVcc=";
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 setuptools
20 ];
21
22 pythonImportsCheck = [
23 "googleapiclient"
24 ];
25
26 meta = with lib; {
27 description = "The official Python client library for Google's discovery based APIs";
28 longDescription = ''
29 These client libraries are officially supported by Google. However, the
30 libraries are considered complete and are in maintenance mode. This means
31 that we will address critical bugs and security issues but will not add
32 any new features.
33 '';
34 homepage = "https://github.com/google/google-api-python-client";
35 changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/v${version}";
36 license = licenses.asl20;
37 maintainers = with maintainers; [ ];
38 };
39}