summary refs log tree commit diff
diff options
context:
space:
mode:
authorRok Garbas <rok@garbas.si>2015-08-29 21:38:25 +0200
committerRok Garbas <rok@garbas.si>2015-08-29 21:39:35 +0200
commit0b4bcaad9519d6971f99356a778cd1cb369f6309 (patch)
treea0c0d01686fe0be5360539e1f098f87dfa268e46
parent32dca6d3b2c2cbf7789852d5f557f6b753a83d85 (diff)
downloadnixlib-0b4bcaad9519d6971f99356a778cd1cb369f6309.tar
nixlib-0b4bcaad9519d6971f99356a778cd1cb369f6309.tar.gz
nixlib-0b4bcaad9519d6971f99356a778cd1cb369f6309.tar.bz2
nixlib-0b4bcaad9519d6971f99356a778cd1cb369f6309.tar.lz
nixlib-0b4bcaad9519d6971f99356a778cd1cb369f6309.tar.xz
nixlib-0b4bcaad9519d6971f99356a778cd1cb369f6309.tar.zst
nixlib-0b4bcaad9519d6971f99356a778cd1cb369f6309.zip
pythonPackages.gcutil: fix pinning of google_apputils version
also added some more metadata to the package
-rw-r--r--pkgs/top-level/python-packages.nix18
1 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 925ceb01d00d..e1cb3a3fea1f 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -3513,20 +3513,34 @@ let
 
   gcutil = buildPythonPackage rec {
     name = "gcutil-1.16.1";
-    meta.maintainers = with maintainers; [ phreedom ];
 
     src = pkgs.fetchurl {
       url = https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.16.1.tar.gz;
       sha256 = "00jaf7x1ji9y46fbkww2sg6r6almrqfsprydz3q2swr4jrnrsx9x";
     };
 
+    propagatedBuildInputs = with self; [
+      gflags
+      iso8601
+      ipaddr
+      httplib2
+      google_apputils
+      google_api_python_client
+    ];
+
     prePatch = ''
+      sed -i -e "s|google-apputils==0.4.0|google-apputils==0.4.1|g" setup.py
       substituteInPlace setup.py \
         --replace "httplib2==0.8" "httplib2" \
         --replace "iso8601==0.1.4" "iso8601"
     '';
 
-    propagatedBuildInputs = with self; [ gflags iso8601 ipaddr httplib2 google_apputils google_api_python_client ];
+    meta = {
+      description = "Command-line tool for interacting with Google Compute Engine.";
+      homepage = "https://cloud.google.com/compute/docs/gcutil/";
+      license = licenses.asl20;
+      maintainers = with maintainers; [ phreedom ];
+    };
   };
 
   gmpy = buildPythonPackage rec {