python3Packages.google_cloud_storage: 1.28.1 -> 1.29.0

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
Sirio Balmelli 2020-07-07 21:10:35 +02:00 committed by Jon
parent cfd78fd638
commit 6ca34e4e36

View File

@ -1,4 +1,4 @@
{ stdenv { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google_resumable_media , google_resumable_media
@ -11,32 +11,35 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-storage"; pname = "google-cloud-storage";
version = "1.28.1"; version = "1.29.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "a7b5c326e7307a83fa1f1f0ef71aba9ad1f3a2bc6a768401e13fc02369fd8612"; sha256 = "07lsdrxypz5i21x99m1zkxwiax89q80v0av6ak0k4fkys48spj0m";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google_resumable_media
google_api_core google_api_core
google_cloud_core google_cloud_core
google_resumable_media
setuptools setuptools
]; ];
checkInputs = [ pytest mock ]; checkInputs = [
mock
pytest
];
# remove directory from interferring with importing modules # remove directory from interferring with importing modules
# ignore tests which require credentials # ignore tests which require credentials
checkPhase = '' checkPhase = ''
rm -r google rm -r google
pytest tests/unit -k 'not create' pytest tests/unit -k 'not (create or get or post)'
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "Google Cloud Storage API client library"; description = "Google Cloud Storage API client library";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"; homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ costrouc ];
}; };
} }