anchor.diff:      "--disable-rebuilds"
       "--enable-default-binary"
       "--enable-warnings"
  -    "--with-ui"
  -    (wtFlag "gtksourceview" (gtksourceview != null) null)
  +    "--without-ui"  # ui
  +    #"--${boolWt (gtksourceview != null)}-gtksourceview"
  +    "--without-gtksourceview"  # ui
       # TODO: goocanvas
  -    "--disable-goocanvas"
  -    (wtFlag "graphviz" (graphviz != null) null)
  -    (wtFlag "bdb" (db != null) null)
  -    (wtFlag "mysql" (mariadb-connector-c != null) null)
  -    (wtFlag "postgres" (postgresql != null) null)
  +    "--disable-goocanvas"  # ui
  +    #"--${boolWt (graphviz != null)}-graphviz"
  +    "--without-graphviz"  # ui
  +    "--${boolWt (db != null)}-bdb"
  +    "--${boolWt (mariadb-connector-c != null)}-mysql"
  +    "--${boolWt (postgresql != null)}-postgres"
       "--without-oracle"
       # TODO: java support
       "--disable-java"
       "--with-jni"
  -    (wtFlag "ldap" (openldap != null) null)
  +    "--${boolWt (openldap != null)}-ldap"
       # TODO: firebird support
       "--disable-firebird"
       "--without-mdb"
  -    (wtFlag "libsoup" (libsoup != null) null)
  -    (wtFlag "libsecret" (libsecret != null) null)
  -    #(wtFlag "gnome-keyring" (gnome-keyring != null) null)
  +    "--${boolWt (libsoup != null)}-libsoup"
  +    "--${boolWt (libsecret != null)}-libsecret"
  +    #"--${boolWt (gnome-keyring != null)}-gnome-keyring"
       "--with-gnome-keyring"
     ];
   
  
positive.code: { stdenv
  , fetchurl
  , intltool
  , itstool
  
  , atk
  , db
  
negative.code:     postgresql
      readline
      sqlite
      vala
    ];
  
    autoreconfPhase = ''
      sed -i autogen.sh -e 's/which/type/'
      ./autogen.sh
    '';
  
    configureFlags = [
      "--enable-nls"
      "--disable-tools"  # ui
      "--enable-json"
      "--${boolEn (gobject-introspection != null)}-introspection"
      "--${boolEn (gobject-introspection != null)}-gda-gi"
      #"--${boolEn (gobject-introspection != null)}-gdaui-gi"
      "--disable-gda-ui"  # ui
      "--${boolEn (gobject-introspection != null)}-gi-system-install"
      #"--${boolEn (vala != null)}-gdaui-vala"
      "--${boolEn (vala != null)}-vala-extensions"
      "--${boolEn (vala != null)}-vala"
      "--${boolEn (openssl != null)}-crypto"
      "--disable-gtk-doc"
      "--disable-gtk-doc-html"
      "--disable-gtk-doc-pdf"
  