From 103f8664beeefb344c6772804c99428b458b5bf9 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 29 May 2025 23:44:47 +0200 Subject: [PATCH] python312Packages.weasyprint: add versionCheckHook --- pkgs/development/python-modules/weasyprint/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/weasyprint/default.nix b/pkgs/development/python-modules/weasyprint/default.nix index 1061e7e56f47..77e64d1a0060 100644 --- a/pkgs/development/python-modules/weasyprint/default.nix +++ b/pkgs/development/python-modules/weasyprint/default.nix @@ -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)