From aa1f2083a1bf5266ea41a0e22291323e82baf6ee Mon Sep 17 00:00:00 2001 From: Daniel Fullmer Date: Wed, 11 May 2022 00:49:59 -0700 Subject: [PATCH] python3Packages.weasyprint: disable failing tests Fixes #172421 ZHF #172160 --- pkgs/development/python-modules/weasyprint/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/weasyprint/default.nix b/pkgs/development/python-modules/weasyprint/default.nix index a1a7470b8b5..548c3ace35a 100644 --- a/pkgs/development/python-modules/weasyprint/default.nix +++ b/pkgs/development/python-modules/weasyprint/default.nix @@ -48,6 +48,12 @@ buildPythonPackage rec { pangocairo = "${pango.out}/lib/libpangocairo-1.0${stdenv.hostPlatform.extensions.sharedLibrary}"; harfbuzz = "${harfbuzz.out}/lib/libharfbuzz${stdenv.hostPlatform.extensions.sharedLibrary}"; }) + # Disable tests for new Ghostscript + # Remove when next version is released + (fetchpatch { + url = "https://github.com/Kozea/WeasyPrint/commit/e544398b00d76bc0317ea7e2abe40dc46b380910.patch"; + sha256 = "sha256-oQO3j9Mo1x98WaLPROxsOn0qkeYRJrCx5QWWKoHvabE="; + }) ]; nativeBuildInputs = [