aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/batchgenerators/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/batchgenerators/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/batchgenerators/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/batchgenerators/default.nix b/nixpkgs/pkgs/development/python-modules/batchgenerators/default.nix
index 63aa7883e3a..b0f3cdb6e11 100644
--- a/nixpkgs/pkgs/development/python-modules/batchgenerators/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/batchgenerators/default.nix
@@ -2,6 +2,7 @@
, buildPythonPackage
, isPy27
, fetchFromGitHub
+, fetchpatch
, pytest
, unittest2
, future
@@ -24,9 +25,16 @@ buildPythonPackage rec {
repo = pname;
rev = "v${version}";
sha256 = "0cc3i4wznqb7lk8n6jkprvkpsby6r7khkxqwn75k8f01mxgjfpvf";
-
+
};
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/MIC-DKFZ/batchgenerators/pull/59.patch";
+ sha256 = "171b3dm40yn0wi91m9s2nq3j565s1w39jpdf1mvc03rn75i8vdp0";
+ })
+ ];
+
propagatedBuildInputs = [
future numpy pillow scipy scikitlearn scikitimage threadpoolctl
];