2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, google_auth, google-auth-httplib2, google_api_core
|
|
|
|
, httplib2, six, uritemplate, oauth2client }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-api-python-client";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "1.12.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "844ef76bda585ea0ea2d5e7f8f9a0eb10d6e2eba66c4fea0210ec7843941cb1a";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
google_auth google-auth-httplib2 google_api_core
|
|
|
|
httplib2 six uritemplate oauth2client
|
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|