git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #89411 from primeos/python-google-api-client

python: Google API updates (google_{auth,api_core,api_python_client})

commit5e60482a1ac0900edb75c85bafa87d0324c7f701 authorMichael Weiss <dev.primeos@gmail.com> dateFri 5 Jun 2020, 21:03 (6 years ago) parentaaa69a952c6501
3 files changed+24−11
pkgs/development/python-modules/google-api-python-client/default.nix+2−2 pkgs/development/python-modules/google_api_core/default.nix+12−5 pkgs/development/python-modules/google_auth/default.nix+10−4
pkgs/development/python-modules/google-api-python-client/default.nix+2−2
@@ -4,11 +4,11 @@
44
55buildPythonPackage rec {
66 pname = "google-api-python-client";
7− version = "1.8.4";
7+ version = "1.9.1";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "06csvbpdv3kl806nqvh5hpag86wpafp1q9r07m7kc1fw3xhi5qmv";
11+ sha256 = "0nfqf62g3l7ij779ind41p800ahdjijkhqx8nq6y029p98672c52";
1212 };
1313
1414 # No tests included in archive
pkgs/development/python-modules/google_api_core/default.nix+12−5
@@ -1,14 +1,16 @@
11{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
2−, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, mock }:
2+, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio
3+, mock
4+}:
35
46buildPythonPackage rec {
57 pname = "google-api-core";
6− version = "1.16.0";
8+ version = "1.17.0";
79 disabled = isPy27; # google namespace no longer works on python2
810
911 src = fetchPypi {
1012 inherit pname version;
11− sha256 = "1qh30ji399gngv2j1czzvi3h0mgx3lfdx2n8qp8vii7ihyh65scj";
13+ sha256 = "12fn05x2fdhqmcaspjkkny2lh66hnnl0xf6pz3idxhlx8w5jl274";
1214 };
1315
1416 propagatedBuildInputs = [
@@ -27,8 +29,13 @@ buildPythonPackage rec {
2729 ];
2830
2931 meta = with lib; {
30− description = "This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients.";
31− homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
32+ description = "Core Library for Google Client Libraries";
33+ longDescription = ''
34+ This library is not meant to stand-alone. Instead it defines common
35+ helpers used by all Google API clients.
36+ '';
37+ homepage = "https://github.com/googleapis/python-api-core";
38+ changelog = "https://github.com/googleapis/python-api-core/blob/v${version}/CHANGELOG.md";
3239 license = licenses.asl20;
3340 maintainers = with maintainers; [ ];
3441 };
pkgs/development/python-modules/google_auth/default.nix+10−4
@@ -17,11 +17,11 @@
1717
1818buildPythonPackage rec {
1919 pname = "google-auth";
20− version = "1.11.3";
20+ version = "1.16.0";
2121
2222 src = fetchPypi {
2323 inherit pname version;
24− sha256 = "05av4clwv7kdk1v55ibcv8aim6dwfg1mi4wy0vv91fr6wq3205zc";
24+ sha256 = "1xd7fi7vhqbbkvwjg5fgj8bkbfjwxx4f2bb0zsnj8wci46qk4dqv";
2525 };
2626
2727 propagatedBuildInputs = [ six pyasn1-modules cachetools rsa setuptools ];
@@ -43,8 +43,14 @@ buildPythonPackage rec {
4343 '';
4444
4545 meta = with stdenv.lib; {
46− description = "This library simplifies using Google’s various server-to-server authentication mechanisms to access Google APIs.";
47− homepage = "https://google-auth.readthedocs.io/en/latest/";
46+ description = "Google Auth Python Library";
47+ longDescription = ''
48+ This library simplifies using Google’s various server-to-server
49+ authentication mechanisms to access Google APIs.
50+ '';
51+ homepage = "https://github.com/googleapis/google-auth-library-python";
52+ changelog = "https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md";
53+ # Documentation: https://googleapis.dev/python/google-auth/latest/index.html
4854 license = licenses.asl20;
4955 maintainers = with maintainers; [ ];
5056 };