a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
56 lines
1.3 KiB
Nix
56 lines
1.3 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-auth
|
|
, google-auth-httplib2
|
|
, google-api-core
|
|
, httplib2
|
|
, uritemplate
|
|
, oauth2client
|
|
, setuptools
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-api-python-client";
|
|
version = "2.75.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-DxCaK3HxTJp7SCMf7PzdOrlYYeqav1TwYKxFwgT63D0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
google-auth
|
|
google-auth-httplib2
|
|
google-api-core
|
|
httplib2
|
|
uritemplate
|
|
oauth2client
|
|
setuptools
|
|
];
|
|
|
|
# No tests included in archive
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"googleapiclient"
|
|
];
|
|
|
|
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; [ ];
|
|
};
|
|
}
|