anchor.diff: -{ lib
  -, stdenv
  +{ stdenv
  +, lib
   , fetchFromGitHub
   , fetchpatch
   , appstream-glib
  
positive.code:     export CLUCENE_HOME=${clucene_core};
      export SWORD_HOME=${sword};
    '';
  
    patchFlags = [ "-p0" ];
  
    patches = [
      # GLIB_VERSION_MIN_REQUIRED is not defined.
      # https://github.com/crosswire/xiphos/issues/1083#issuecomment-820304874
      (fetchpatch {
        name ="xiphos-glibc.patch";
        url = "https://aur.archlinux.org/cgit/aur.git/plain/xiphos-glibc.patch?h=xiphos";
        sha256 = "sha256-0WadztJKXW2adqsDP8iSAYVShbdqHoDvP+aVJC0cQB0=";
      })
    ];
  
    meta = with lib; {
      description = "A GTK Bible study tool";
  
negative.code:     sqlite
      sword
      webkitgtk
      xorg.libXdmcp
      xorg.libXtst
      zip
    ];
  
    cmakeFlags = [
      "-DDBUS=OFF"
  