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 ]; }; }