summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-12-09 00:02:05 +0100
committerRaito Bezarius <masterancpp@gmail.com>2023-12-09 00:02:05 +0100
commit4e9e090585ae52dc7b836477dc83c7107052d66b (patch)
treebcfda6a0bda36f96d4fcd8302e8c8d9c854aa270
parentdiffoscope: 252 -> 253 (diff)
downloadnixpkgs-origin/diffoscope-update.tar.gz
diffoscope: organize better missing tools and explain why docx2txt cannot be addedorigin/diffoscope-update
docx2txt is *IN* nixpkgs but cannot be used. lipo, otool are theoretically available in darling… but I doubt they would work.
-rw-r--r--pkgs/tools/misc/diffoscope/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/tools/misc/diffoscope/default.nix b/pkgs/tools/misc/diffoscope/default.nix
index 5fda0d8f577f..4636266e0279 100644
--- a/pkgs/tools/misc/diffoscope/default.nix
+++ b/pkgs/tools/misc/diffoscope/default.nix
@@ -113,11 +113,16 @@ python3.pkgs.buildPythonApplication rec {
# To help figuring out what's missing from the list, run: ./pkgs/tools/misc/diffoscope/list-missing-tools.sh
#
# Still missing these tools:
+ # Android-specific tools:
# aapt2
# dexdump
- # docx2txt
+ # Darwin-specific tools:
# lipo
# otool
+ # Other tools:
+ # docx2txt <- makes tests broken:
+ # > FAILED tests/comparators/test_docx.py::test_diff - IndexError: list index out of range
+ # > FAILED tests/comparators/test_docx.py::test_compare_non_existing - AssertionError
#
# We filter automatically all packages for the host platform (some dependencies are not supported on Darwin, aarch64, etc.).
pythonPath = lib.filter (lib.meta.availableOn stdenv.hostPlatform) ([
@@ -209,6 +214,7 @@ python3.pkgs.buildPythonApplication rec {
guestfs
h5py
pdfminer-six
+ # docx2txt, breaks the tests.
])
# oggvideotools is broken on Darwin, please put it back when it will be fixed?
++ lib.optionals stdenv.isLinux [ oggvideotools ]