Commit 103f8664 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.weasyprint: add versionCheckHook

parent bd383ac0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)