Skip to content

Commit 103f866

Browse files
committed
python312Packages.weasyprint: add versionCheckHook
1 parent bd383ac commit 103f866

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/development/python-modules/weasyprint/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
pytest-cov-stub,
2727
pytestCheckHook,
2828
replaceVars,
29+
versionCheckHook,
2930
writableTmpDirAsHomeHook,
3031
}:
3132

@@ -69,8 +70,10 @@ buildPythonPackage rec {
6970
pkgs.ghostscript
7071
pytest-cov-stub
7172
pytestCheckHook
73+
versionCheckHook
7274
writableTmpDirAsHomeHook
7375
];
76+
versionCheckProgramArg = "--version";
7477

7578
disabledTests = [
7679
# needs the Ahem font (fails on macOS)

0 commit comments

Comments
 (0)