Commit fd5675db authored by Ben Darwin's avatar Ben Darwin
Browse files

python312Packages.dicom2nifti: unbreak tests

parent 8b563986
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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" ];