2020-04-22 12:13:51 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-auth, google-auth-httplib2, google-api-core
|
2021-01-12 06:35:37 +00:00
|
|
|
, httplib2, six, uritemplate, oauth2client, setuptools }:
|
2018-04-05 21:37:52 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-api-python-client";
|
2021-03-05 14:05:28 +00:00
|
|
|
version = "2.0.2";
|
2018-04-05 21:37:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-05 14:05:28 +00:00
|
|
|
sha256 = "04c0c8m4c7lzqv0m3jm0zks9wjcv1myas80rxswvi36wn376qs28";
|
2018-04-05 21:37:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-15 10:29:08 +00:00
|
|
|
propagatedBuildInputs = [
|
2021-01-06 09:46:48 +00:00
|
|
|
google-auth google-auth-httplib2 google-api-core
|
2021-01-12 06:35:37 +00:00
|
|
|
httplib2 six uritemplate oauth2client setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"googleapiclient"
|
2020-03-15 10:29:08 +00:00
|
|
|
];
|
2018-04-05 21:37:52 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-03-11 22:54:47 +00:00
|
|
|
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}";
|
2018-04-05 21:37:52 +01:00
|
|
|
license = licenses.asl20;
|
2021-03-05 14:03:36 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-04-05 21:37:52 +01:00
|
|
|
};
|
|
|
|
}
|