mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 22:54:17 +00:00
python312Packages.dicom2nifti: unbreak tests
This commit is contained in:
parent
8b56398630
commit
fd5675dbe3
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user