From 4993bad67c1d4f6bce733b282361e9356a666edd Mon Sep 17 00:00:00 2001 From: Evan Stoll Date: Sun, 31 May 2020 13:48:22 -0400 Subject: [PATCH] pythonPackages.batchgenerators: loosen version restrictions for pillow apply patch from https://github.com/MIC-DKFZ/batchgenerators/pull/59 to allow batchgenerators to build with pillow 7.1.2+ --- .../python-modules/batchgenerators/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/batchgenerators/default.nix b/pkgs/development/python-modules/batchgenerators/default.nix index 63aa7883e3a90b..bfc52c99ef5d3f 100644 --- a/pkgs/development/python-modules/batchgenerators/default.nix +++ b/pkgs/development/python-modules/batchgenerators/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , isPy27 , fetchFromGitHub +, fetchpatch , pytest , unittest2 , future @@ -27,6 +28,13 @@ buildPythonPackage rec { }; + patches = [ + (fetchpatch { + url = "https://github.com/MIC-DKFZ/batchgenerators/pull/59.patch"; + sha256 = "171b3dm40yn0wi91m9s2nq3j565s1w39jpdf1mvc03rn75i8vdp0"; + }) + ]; + propagatedBuildInputs = [ future numpy pillow scipy scikitlearn scikitimage threadpoolctl ];