depot/third_party/nixpkgs/pkgs/development/python-modules/google-api-python-client/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

35 lines
1.2 KiB
Nix

{ lib, buildPythonPackage, fetchPypi
, google_auth, google-auth-httplib2, google_api_core
, httplib2, six, uritemplate, oauth2client }:
buildPythonPackage rec {
pname = "google-api-python-client";
version = "1.12.2";
src = fetchPypi {
inherit pname version;
sha256 = "54a7d330833a2e7b0587446d7e4ae6d0244925a9a8e1dfe878f3f7e06cdedb62";
};
# 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 ];
};
}