python312Packages.dicom2nifti: unbreak tests

This commit is contained in:
Ben Darwin 2024-11-07 13:53:05 -05:00
parent 8b56398630
commit fd5675dbe3

View File

@ -8,6 +8,8 @@
nibabel,
numpy,
pydicom,
pylibjpeg,
pylibjpeg-libjpeg,
scipy,
setuptools,
}:
@ -42,7 +44,11 @@ buildPythonPackage rec {
substituteInPlace tests/test_ge.py --replace-fail "import convert_generic" "import dicom2nifti.convert_generic as convert_generic"
'';
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pylibjpeg
pylibjpeg-libjpeg
];
pythonImportsCheck = [ "dicom2nifti" ];