python3Packages.pillow-jxl-plugin: enable tests (#558532)

This commit is contained in:
Peder Bergebakken Sundt
2026-09-30 22:14:50 +00:00
committed by GitHub

View File

@@ -9,6 +9,8 @@
packaging,
pillow,
numpy,
openexr,
pyexiv2,
}:
buildPythonPackage (finalAttrs: {
@@ -44,13 +46,18 @@ buildPythonPackage (finalAttrs: {
pillow
];
doCheck = false;
nativeCheckInputs = [
pytestCheckHook
numpy
openexr
pyexiv2
];
# Remove source so tests don't try to import from it
preCheck = ''
rm -r pillow_jxl
'';
pythonImportsCheck = [
"pillow_jxl"
];