Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 63 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, future, numpy, pillow, scipy, scikit-learn, scikit-image, threadpoolctl,}:
buildPythonPackage rec { pname = "batchgenerators"; version = "0.25.1"; pyproject = true;
src = fetchFromGitHub { owner = "MIC-DKFZ"; repo = "batchgenerators"; tag = "v${version}"; hash = "sha256-lvsen2AFRwFjLMgxXBQ9/xxmCOBx2D2PBIl0KpOzR70="; };
build-system = [ setuptools ];
dependencies = [ future numpy pillow scipy scikit-learn scikit-image threadpoolctl ];
# see https://github.com/MIC-DKFZ/batchgenerators/pull/78 pythonRemoveDeps = [ "unittest2" ];
nativeCheckInputs = [ pytestCheckHook ];
# see https://github.com/MIC-DKFZ/batchgenerators/pull/78 disabledTestPaths = [ "tests/test_axis_mirroring.py" ];
pythonImportsCheck = [ "batchgenerators" "batchgenerators.augmentations" "batchgenerators.dataloading" "batchgenerators.datasets" "batchgenerators.transforms" "batchgenerators.utilities" ];
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 ]; };}