2021-11-29 11:59:36 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, google-auth
|
|
|
|
, google-auth-httplib2
|
|
|
|
, google-api-core
|
|
|
|
, httplib2
|
|
|
|
, uritemplate
|
|
|
|
, oauth2client
|
|
|
|
, setuptools
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2018-04-05 22:37:52 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-api-python-client";
|
2023-04-02 10:41:36 +02:00
|
|
|
version = "2.83.0";
|
2021-11-29 11:59:36 +01:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2018-04-05 22:37:52 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-04-02 10:41:36 +02:00
|
|
|
hash = "sha256-0HUJ8bLSskJzY7RU25lvehXhdRpIz8ryhCcFBWDdUc8=";
|
2018-04-05 22:37:52 +02:00
|
|
|
};
|
|
|
|
|
2020-03-15 11:29:08 +01:00
|
|
|
propagatedBuildInputs = [
|
2021-11-29 11:59:36 +01:00
|
|
|
google-auth
|
|
|
|
google-auth-httplib2
|
|
|
|
google-api-core
|
|
|
|
httplib2
|
|
|
|
uritemplate
|
|
|
|
oauth2client
|
|
|
|
setuptools
|
2021-01-12 07:35:37 +01:00
|
|
|
];
|
|
|
|
|
2021-11-29 11:59:36 +01:00
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-12 07:35:37 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"googleapiclient"
|
2020-03-15 11:29:08 +01:00
|
|
|
];
|
2018-04-05 22:37:52 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-03-11 23:54:47 +01: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 22:37:52 +02:00
|
|
|
license = licenses.asl20;
|
2021-03-05 15:03:36 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-04-05 22:37:52 +02:00
|
|
|
};
|
|
|
|
}
|