pythonPackages.green: 2.12.0 -> 2.12.1

This commit is contained in:
Robert Schütz 2018-02-27 01:14:21 +01:00
parent 4e50deb14a
commit 12c2f2a430

View File

@ -2,18 +2,13 @@
buildPythonPackage rec {
pname = "green";
version = "2.12.0";
version = "2.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "8cdd2934eff754c9664f373ee0d77cb1cb35dbbf3b719b8ae3b059718db875df";
sha256 = "4c0c163bd2ce2da1f201eb69fd92fc24aaeab884f9e5c5a8c23d507a53336fa8";
};
prePatch = ''
# See https://github.com/CleanCut/green/pull/182
substituteInPlace setup.py --replace python-termstyle termstyle
'';
propagatedBuildInputs = [
colorama coverage termstyle unidecode
] ++ lib.optionals (!isPy3k) [ mock backports_shutil_get_terminal_size ];