python3Packages.batchgenerators: init at 0.19.7

This commit is contained in:
Ben Darwin 2020-03-04 17:01:18 -05:00 committed by Frederik Rietdijk
parent 45d0109512
commit 61b61ed087
2 changed files with 40 additions and 0 deletions

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, pytest
, unittest2
, future
, numpy
, scipy
, scikitlearn
, scikitimage
, threadpoolctl
}:
buildPythonPackage rec {
pname = "batchgenerators";
version = "0.19.7";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0qqzwqf5r0q6jh8avz4f9kf8x96crvdnkznhf24pbm0faf8yk67q";
};
propagatedBuildInputs = [ future numpy scipy scikitlearn scikitimage threadpoolctl ];
checkInputs = [ pytest unittest2 ];
checkPhase = "pytest tests";
meta = {
description = "2D and 3D image data augmentation for deep learning";
homepage = "https://github.com/MIC-DKFZ/batchgenerators";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}

@ -1803,6 +1803,8 @@ in {
base58 = callPackage ../development/python-modules/base58 {};
batchgenerators = callPackage ../development/python-modules/batchgenerators { };
batinfo = callPackage ../development/python-modules/batinfo {};
bcdoc = callPackage ../development/python-modules/bcdoc {};