anchor.diff:      })
     ];
   
  -  configureFlags = with lib; [
  +  nativeBuildInputs = [
  +    pkg-config
  +    intltool
  +    itstool
  +    libxml2
  +    gobject-introspection
  +    vala
  +    autoreconfHook
  +    gtk-doc
  +    autoconf-archive
  +    yelp-tools
  +  ];
  +
  +  buildInputs = [
  +    gtk3
  +    openssl
  +    libgee
  +  ] ++ lib.optionals mysqlSupport [
  +    libmysqlclient
  +  ] ++ lib.optionals postgresSupport [
  +    postgresql
  +  ];
  +
  +  configureFlags = [
       "--with-mysql=${if mysqlSupport then "yes" else "no"}"
       "--with-postgres=${if postgresSupport then "yes" else "no"}"
   
  
positive.code:   meta = with lib; {
      description = "Database access library";
      homepage = "https://www.gnome-db.org/";
      license = [ licenses.lgpl2 licenses.gpl2 ];
      maintainers = teams.gnome.members;
      platforms = platforms.linux ++ platforms.darwin;
    };
  }
  
negative.code: { lib
  , stdenv
  , fetchurl
  , pkg-config
  , intltool
  , itstool
  , libxml2
  , gtk3
  , openssl
  , gnome3
  , gobject-introspection
  , vala
  , libgee
  , overrideCC
  , gcc6
  , fetchpatch
  , autoreconfHook
  , gtk-doc
  , autoconf-archive
  , yelp-tools
  , mysqlSupport ? false
  , libmysqlclient ? null
  , postgresSupport ? false
  , postgresql ? null
  }:
  
  assert mysqlSupport -> libmysqlclient != null;
  