anchor.diff:      ++ lib.optional withGTK "--enable-gtk2-use"
       ++ lib.optional (!withGTK) "--without-x";
   
  +  # work-around: git isn't really used, but configuration fails without it
     preConfigure = ''
  +    export GIT="$(type -P true)"
       cp -r "${gnulib}" ./gnulib
       chmod +w -R ./gnulib
       ./bootstrap --skip-git --gnulib-srcdir=./gnulib
  
positive.code: { stdenv, fetchFromGitHub, fetchpatch, lib
  , autoconf, automake, gnum4, libtool, git, perl, gnulib, uthash, pkgconfig, gettext
  , python, freetype, zlib, glib, libungif, libpng, libjpeg, libtiff, libxml2, pango
  , withGTK ? false, gtk2
  , withPython ? true
  
negative.code:   })];
    patchFlags = "-p0";
  
    buildInputs = [
      autoconf automake gnum4 libtool perl pkgconfig gettext uthash
      python freetype zlib glib libungif libpng libjpeg libtiff libxml2
    ]
      ++ lib.optionals withGTK [ gtk2 pango ]
  