anchor.diff:    configureFlags = [
       "--localstatedir=/var"
       "--enable-nls"
  -    (enFlag "glib" (glib != null) null)
  -    (enFlag "gobject" (glib != null) null)
  +    "--${boolEn (glib != null)}-glib"
  +    "--${boolEn (glib != null)}-gobject"
       # Disable all builtin interfaces
       "--disable-qt3"
       "--disable-qt4"
       "--disable-gtk"
       "--disable-gtk3"
  -    (enFlag "dbus" (dbus != null) null)
  +    "--${boolEn (dbus != null)}-dbus"
       "--disable-dbm"
       "--disable-gdbm"
  -    (enFlag "libdaemon" (libdaemon != null) null)
  +    "--${boolEn (libdaemon != null)}-libdaemon"
       "--disable-python"
       # Circular dependency:
       # avahi -> pygtk -> gtk2 -> cups -> avahi
  
positive.code: }:
  
  let
    inherit (stdenv.lib)
      enFlag
      wtFlag;
  in
  
  stdenv.mkDerivation rec {
    name = "avahi-${version}";
    version = "0.6.32";
  
    src = fetchurl {
      url = "https://github.com/lathiat/avahi/archive/v${version}.tar.gz";
  
negative.code:     "--enable-compat-libdns_sd"
      "--enable-compat-howl"
      "--with-distro=none"
      "--${boolWt (expat != null)}-xml"
      #"--with-avahi-group=<user>"
      #"--with-avahi-group=<group>"
      #"--with-autoipd-user=<user>"
  