pythonPackages.gcutil: fix pinning of google_apputils version

also added some more metadata to the package

Changed files
+16 -2
pkgs
+16 -2
pkgs/top-level/python-packages.nix
···
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";
};
prePatch = ''
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 ];
};
gmpy = buildPythonPackage rec {
···
gcutil = buildPythonPackage rec {
name = "gcutil-1.16.1";
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"
'';
+
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 {