summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/batchgenerators
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2020-04-28 11:35:46 -0400
committerJon <jonringer@users.noreply.github.com>2020-04-28 09:31:12 -0700
commitcc89b93798c8a5a81609979f813fde9baaeb7181 (patch)
tree673fa29e0ddb5199ad128bdcd0b0d9d13dc0ace4 /pkgs/development/python-modules/batchgenerators
parentMerge pull request #86218 from bzizou/libfabric (diff)
downloadnixpkgs-cc89b93798c8a5a81609979f813fde9baaeb7181.tar.gz
python3Packages.batchgenerators: 0.19.7 -> 0.20.0
Diffstat (limited to 'pkgs/development/python-modules/batchgenerators')
-rw-r--r--pkgs/development/python-modules/batchgenerators/default.nix20
1 files changed, 13 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/batchgenerators/default.nix b/pkgs/development/python-modules/batchgenerators/default.nix
index 001c3cc19a5e..63aa7883e3a9 100644
--- a/pkgs/development/python-modules/batchgenerators/default.nix
+++ b/pkgs/development/python-modules/batchgenerators/default.nix
@@ -1,30 +1,36 @@
{ lib
, buildPythonPackage
, isPy27
-, fetchPypi
+, fetchFromGitHub
, pytest
, unittest2
, future
, numpy
+, pillow
, scipy
, scikitlearn
, scikitimage
, threadpoolctl
}:
-
buildPythonPackage rec {
pname = "batchgenerators";
- version = "0.19.7";
+ version = "0.20.0";
disabled = isPy27;
- src = fetchPypi {
- inherit pname version;
- sha256 = "0qqzwqf5r0q6jh8avz4f9kf8x96crvdnkznhf24pbm0faf8yk67q";
+ src = fetchFromGitHub {
+ owner = "MIC-DKFZ";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0cc3i4wznqb7lk8n6jkprvkpsby6r7khkxqwn75k8f01mxgjfpvf";
+
};
- propagatedBuildInputs = [ future numpy scipy scikitlearn scikitimage threadpoolctl ];
+ propagatedBuildInputs = [
+ future numpy pillow scipy scikitlearn scikitimage threadpoolctl
+ ];
+
checkInputs = [ pytest unittest2 ];
checkPhase = "pytest tests";