aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/google_cloud_storage
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-04-19 14:57:25 +0200
committerKatharina Fey <kookie@spacekookie.de>2020-04-19 14:57:25 +0200
commit0ca211d4ec600fa7b3cc701e4997cd1e8d38ebdc (patch)
tree4f9b09ca5d55e44710f020bcf6621daa4fd6b73a /nixpkgs/pkgs/development/python-modules/google_cloud_storage
parent1c2ef52230ed2c8b2529c47ce6a857bdde46c7c7 (diff)
parentb61999e4ad60c351b4da63ae3ff43aae3c0bbdfb (diff)
Merge commit 'b61999e4ad60c351b4da63ae3ff43aae3c0bbdfb'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/google_cloud_storage')
-rw-r--r--nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix11
1 files changed, 7 insertions, 4 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 ff750602465..b253a4c71ed 100644
--- a/nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/google_cloud_storage/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "google-cloud-storage";
- version = "1.23.0";
+ version = "1.26.0";
src = fetchPypi {
inherit pname version;
- sha256 = "c66e876ae9547884fa42566a2ebfec51d280f488d7a058af9611ba90c78bed78";
+ sha256 = "0caxqf6vda89cmc81fxhmfk3n61aypqz2sswnbsylzf436rsxpzz";
};
propagatedBuildInputs = [
@@ -26,13 +26,16 @@ buildPythonPackage rec {
];
checkInputs = [ pytest mock ];
+ # remove directory from interferring with importing modules
+ # ignore tests which require credentials
checkPhase = ''
- pytest tests/unit
+ rm -r google
+ pytest tests/unit -k 'not create'
'';
meta = with stdenv.lib; {
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;
maintainers = [ maintainers.costrouc ];
};