Merge pull request #89411 from primeos/python-google-api-client
python: Google API updates (google_{auth,api_core,api_python_client})
This commit is contained in:
commit
5e60482a1a
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-api-python-client";
|
pname = "google-api-python-client";
|
||||||
version = "1.8.4";
|
version = "1.9.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "06csvbpdv3kl806nqvh5hpag86wpafp1q9r07m7kc1fw3xhi5qmv";
|
sha256 = "0nfqf62g3l7ij779ind41p800ahdjijkhqx8nq6y029p98672c52";
|
||||||
};
|
};
|
||||||
|
|
||||||
# No tests included in archive
|
# No tests included in archive
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
|
||||||
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, mock }:
|
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio
|
||||||
|
, mock
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-api-core";
|
pname = "google-api-core";
|
||||||
version = "1.16.0";
|
version = "1.17.0";
|
||||||
disabled = isPy27; # google namespace no longer works on python2
|
disabled = isPy27; # google namespace no longer works on python2
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1qh30ji399gngv2j1czzvi3h0mgx3lfdx2n8qp8vii7ihyh65scj";
|
sha256 = "12fn05x2fdhqmcaspjkkny2lh66hnnl0xf6pz3idxhlx8w5jl274";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -27,8 +29,13 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients.";
|
description = "Core Library for Google Client Libraries";
|
||||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
longDescription = ''
|
||||||
|
This library is not meant to stand-alone. Instead it defines common
|
||||||
|
helpers used by all Google API clients.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/googleapis/python-api-core";
|
||||||
|
changelog = "https://github.com/googleapis/python-api-core/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,11 +17,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-auth";
|
pname = "google-auth";
|
||||||
version = "1.11.3";
|
version = "1.16.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "05av4clwv7kdk1v55ibcv8aim6dwfg1mi4wy0vv91fr6wq3205zc";
|
sha256 = "1xd7fi7vhqbbkvwjg5fgj8bkbfjwxx4f2bb0zsnj8wci46qk4dqv";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six pyasn1-modules cachetools rsa setuptools ];
|
propagatedBuildInputs = [ six pyasn1-modules cachetools rsa setuptools ];
|
||||||
|
@ -43,8 +43,14 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "This library simplifies using Google’s various server-to-server authentication mechanisms to access Google APIs.";
|
description = "Google Auth Python Library";
|
||||||
homepage = "https://google-auth.readthedocs.io/en/latest/";
|
longDescription = ''
|
||||||
|
This library simplifies using Google’s various server-to-server
|
||||||
|
authentication mechanisms to access Google APIs.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/googleapis/google-auth-library-python";
|
||||||
|
changelog = "https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md";
|
||||||
|
# Documentation: https://googleapis.dev/python/google-auth/latest/index.html
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue