2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2021-01-09 10:05:03 +00:00
|
|
|
, google-auth, google-auth-httplib2, google-api-core
|
2021-01-15 22:18:51 +00:00
|
|
|
, httplib2, six, uritemplate, oauth2client, setuptools }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-api-python-client";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "2.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "2b5274f06799d80222fd3f20fd4ebcd19f57c009703bd4cf7b00492e7e05e15a";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-01-09 10:05:03 +00:00
|
|
|
google-auth google-auth-httplib2 google-api-core
|
2021-01-15 22:18:51 +00:00
|
|
|
httplib2 six uritemplate oauth2client setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"googleapiclient"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The official Python client library for Google's discovery based APIs";
|
|
|
|
longDescription = ''
|
|
|
|
These client libraries are officially supported by Google. However, the
|
|
|
|
libraries are considered complete and are in maintenance mode. This means
|
|
|
|
that we will address critical bugs and security issues but will not add
|
|
|
|
any new features.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/google/google-api-python-client";
|
|
|
|
changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/v${version}";
|
|
|
|
license = licenses.asl20;
|
2021-03-09 03:18:52 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|