From 88fbb325226d1ce2a31fb3ea0be9d06418def3be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 22 Dec 2018 09:09:17 +0100 Subject: [PATCH] pythonPackages.thumbor: 6.5.2 -> 6.6.0 now compatible with our pillow --- pkgs/development/python-modules/thumbor/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/thumbor/default.nix b/pkgs/development/python-modules/thumbor/default.nix index 27e90514b72..0f10692685b 100644 --- a/pkgs/development/python-modules/thumbor/default.nix +++ b/pkgs/development/python-modules/thumbor/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "thumbor"; - version = "6.5.2"; + version = "6.6.0"; disabled = isPy3k; # see https://github.com/thumbor/thumbor/issues/1004 @@ -16,14 +16,14 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = version; - sha256 = "1ys5ymwbvgh2ir85g9nyrzzf8vgi16j6pzzi53b0rgjx0kwlmnxg"; + sha256 = "0m4q40fcha1aydyr1khjhnb08cdfma67yxgyhsvwar5a6sl0906i"; }; postPatch = '' substituteInPlace "setup.py" \ --replace '"argparse",' "" ${lib.optionalString isPy3k ''--replace '"futures",' ""''} - substituteInPlace "setup.py" \ - --replace "piexif>=1.0.13,<1.1.0" "piexif>=1.0.13" + sed -i setup.py \ + -e 's/piexif[^"]*/piexif/;s/Pillow[^"]*/Pillow/' substituteInPlace "tests/test_utils.py" \ --replace "/bin/ls" "${coreutils}/bin/ls" substituteInPlace "tests/detectors/test_face_detector.py" \