python312Packages.weasyprint: add versionCheckHook

This commit is contained in:
Gaetan Lepage
2025-05-29 23:44:47 +02:00
parent bd383ac0e3
commit 103f8664be
@@ -26,6 +26,7 @@
pytest-cov-stub,
pytestCheckHook,
replaceVars,
versionCheckHook,
writableTmpDirAsHomeHook,
}:
@@ -69,8 +70,10 @@ buildPythonPackage rec {
pkgs.ghostscript
pytest-cov-stub
pytestCheckHook
versionCheckHook
writableTmpDirAsHomeHook
];
versionCheckProgramArg = "--version";
disabledTests = [
# needs the Ahem font (fails on macOS)