depot/third_party/nixpkgs/pkgs/development/python-modules/google-api-python-client/default.nix
Default email 6064764516 Project import generated by Copybara.
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
2021-10-14 08:43:12 +08:00

39 lines
1.2 KiB
Nix

{ lib, buildPythonPackage, fetchPypi
, google-auth, google-auth-httplib2, google-api-core
, httplib2, six, uritemplate, oauth2client, setuptools }:
buildPythonPackage rec {
pname = "google-api-python-client";
version = "2.25.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-dNgF7xC4sfWL04U53T0D+vEYj2TuPKQorAQtU59fVcc=";
};
# No tests included in archive
doCheck = false;
propagatedBuildInputs = [
google-auth google-auth-httplib2 google-api-core
httplib2 six uritemplate oauth2client setuptools
];
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; [ ];
};
}