2024-04-17 08:40:42 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
google-auth,
|
|
|
|
google-auth-httplib2,
|
|
|
|
google-api-core,
|
|
|
|
httplib2,
|
|
|
|
uritemplate,
|
|
|
|
setuptools,
|
|
|
|
pythonOlder,
|
2021-11-29 11:59:36 +01:00
|
|
|
}:
|
2018-04-05 22:37:52 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-api-python-client";
|
2025-04-01 07:13:51 +02:00
|
|
|
version = "2.166.0";
|
2024-03-05 10:32:31 +01:00
|
|
|
pyproject = true;
|
2021-11-29 11:59:36 +01:00
|
|
|
|
2023-04-02 10:45:24 +02:00
|
|
|
disabled = pythonOlder "3.7";
|
2018-04-05 22:37:52 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-09-29 17:04:41 +02:00
|
|
|
pname = "google_api_python_client";
|
|
|
|
inherit version;
|
2025-04-01 07:13:51 +02:00
|
|
|
hash = "sha256-uM+EO9nXNsE0rvds8dx6R8koOi7yQme5cge53UOzDvc=";
|
2018-04-05 22:37:52 +02:00
|
|
|
};
|
|
|
|
|
2024-04-17 08:40:42 +02:00
|
|
|
build-system = [ setuptools ];
|
2024-03-05 10:32:31 +01:00
|
|
|
|
2024-04-17 08:40:14 +02:00
|
|
|
dependencies = [
|
2021-11-29 11:59:36 +01:00
|
|
|
google-auth
|
|
|
|
google-auth-httplib2
|
|
|
|
google-api-core
|
|
|
|
httplib2
|
|
|
|
uritemplate
|
2021-01-12 07:35:37 +01:00
|
|
|
];
|
|
|
|
|
2021-11-29 11:59:36 +01:00
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-04-17 08:40:42 +02:00
|
|
|
pythonImportsCheck = [ "googleapiclient" ];
|
2018-04-05 22:37:52 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-03-11 23:54:47 +01:00
|
|
|
description = "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;
|
2024-07-28 16:44:11 +02:00
|
|
|
maintainers = [ ];
|
2018-04-05 22:37:52 +02:00
|
|
|
};
|
|
|
|
}
|