anchor.diff:      "--enable-ui"
       "--enable-engine"
       "--enable-libnotify"
  +    "--disable-emoji-dict"
       "--with-python=${python3.interpreter}"
     ];
   
     preConfigure = ''
  -    substituteInPlace data/dconf/Makefile.in \
  -      --replace "dconf update" "echo"
  +    sed -i data/dconf/Makefile.in \
  +      -e 's/dconf update/echo/'
       sed -i configure \
         -e "s|PYTHON2_LIBDIR=.*|PYTHON2_LIBDIR=$out/lib/${python3.libPrefix}|"
     '';
  
positive.code:     "--disable-gtk-doc-pdf"
      "--disable-gconf"
      "--enable-schemas-install"
      (enFlag "python-library" (python3 != null) null)
      "--enable-setup"
      (enFlag "dbus-python-check" (python3 != null) null)
  
negative.code:   inherit (stdenv.lib)
      enFlag;
  in
  stdenv.mkDerivation rec {
    name = "ibus-${version}";
    version = "1.5.14";
  
    src = fetchurl {
      url = "https://github.com/ibus/ibus/releases/download/${version}/${name}.tar.gz";
      sha256 = "a42b40fe4642f36bf2a6f0b4649f54f4043812d6bfee4faca38117799a009d3c";
    };
  
    nativeBuildInputs = [
  