anchor.diff: -{ lib, stdenv, fetchgit, python3Packages, docutils, help2man
  +{ lib, stdenv, fetchurl, python3Packages, docutils, help2man
   , acl, apktool, binutils-unwrapped, bzip2, cbfstool, cdrkit, colord, colordiff, coreutils, cpio, db, diffutils, dtc
   , e2fsprogs, file, findutils, fontforge-fonttools, fpc, gettext, ghc, ghostscriptX, giflib, gnumeric, gnupg, gnutar
   , gzip, imagemagick, jdk, libarchive, libcaca, llvm, lz4, mono, openssh, pdftk, pgpdump, poppler_utils, sng, sqlite
  
positive.code: 
  # Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
  python3Packages.buildPythonApplication rec {
    name = "diffoscope-${version}";
    version = "110";
  
    src = fetchgit {
      url    = "https://anonscm.debian.org/git/reproducible/diffoscope.git";
      rev    = "refs/tags/${version}";
      sha256 = "0rhjxigwxbqbqk7xv7n4m4rh693rg3cbp4x565jv68iy423mf2fb";
    };
  
    patches = [
  
negative.code:   # Most of the non-Python dependencies here are optional command-line tools for various file-format parsers.
    # To help figuring out what's missing from the list, run: ./pkgs/tools/misc/diffoscope/list-missing-tools.sh
    #
    # Still missing these tools: abootimg docx2txt dumpxsb enjarify js-beautify lipo oggDump otool procyon-decompiler Rscript wasm2wat zipnode
    # Also these libraries: python3-guestfs
    pythonPath = with python3Packages; [ debian libarchive-c python_magic tlsh rpm ] ++ [
        acl binutils-unwrapped bzip2 cdrkit colordiff coreutils cpio db diffutils
  