aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix19
1 files changed, 11 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix b/nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix
index b253a4c71ed..db113962336 100644
--- a/nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ lib
, buildPythonPackage
, fetchPypi
, google_resumable_media
@@ -11,32 +11,35 @@
buildPythonPackage rec {
pname = "google-cloud-storage";
- version = "1.26.0";
+ version = "1.30.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0caxqf6vda89cmc81fxhmfk3n61aypqz2sswnbsylzf436rsxpzz";
+ sha256 = "0634addb7576d48861d9963312fc82a0436042b8f282414ed58ca76d73edee54";
};
propagatedBuildInputs = [
- google_resumable_media
google_api_core
google_cloud_core
+ google_resumable_media
setuptools
];
- checkInputs = [ pytest mock ];
+ checkInputs = [
+ mock
+ pytest
+ ];
# remove directory from interferring with importing modules
# ignore tests which require credentials
checkPhase = ''
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";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
license = licenses.asl20;
- maintainers = [ maintainers.costrouc ];
+ maintainers = with maintainers; [ costrouc ];
};
}