From bfd007cc412953c0ccb751166737a1bcf06e2c36 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 25 Oct 2024 09:16:21 +0200 Subject: [PATCH] python312Packages.rtfde: fix build I updated the `disabledTests` and added `lark` in `pythonRelaxDeps`. --- pkgs/development/python-modules/rtfde/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/rtfde/default.nix b/pkgs/development/python-modules/rtfde/default.nix index d436f19a45eb..6c8be8f8f5b7 100644 --- a/pkgs/development/python-modules/rtfde/default.nix +++ b/pkgs/development/python-modules/rtfde/default.nix @@ -26,6 +26,8 @@ buildPythonPackage rec { build-system = [ setuptools ]; + pythonRelaxDeps = [ "lark" ]; + dependencies = [ lark oletools @@ -39,15 +41,15 @@ buildPythonPackage rec { pythonImportsCheck = [ "RTFDE" ]; disabledTests = [ - # Content mismatch - "test_bin_data_captured" + # Malformed encapsulated RTF discovered + "test_encoded_bytes_stay_encoded_character" ]; - meta = with lib; { + meta = { + changelog = "https://github.com/seamustuohy/RTFDE/releases/tag/${version}"; description = "Library for extracting encapsulated HTML and plain text content from the RTF bodies"; homepage = "https://github.com/seamustuohy/RTFDE"; - changelog = "https://github.com/seamustuohy/RTFDE/releases/tag/${version}"; - license = licenses.lgpl3Only; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.lgpl3Only; + maintainers = with lib.maintainers; [ fab ]; }; }