anchor.diff:  
     enableParallelBuilding = true;
   
  +  pythonPath = with python.pkgs; [ pygobject2 pygtk ];
  +
     preFixup = ''
  -    gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
  +    buildPythonPath "$out $pythonPath"
  +    gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share" --prefix PYTHONPATH : "$program_PYTHONPATH")
     '';
   
     postInstall = ''
  
positive.code: 
    patches = [ ./mime.patch ];
  
    postPatch = ''
      substituteInPlace src/procmime.c \
          --subst-var-by MIMEROOTDIR ${shared-mime-info}/share
    '';
  
    nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
  
    buildInputs =
      [ curl dbus dbus-glib gtk2 gnutls gsettings-desktop-schemas hicolor-icon-theme
        libetpan perl python glib-networking libSM libytnef
      ]
      ++ optional enableSpellcheck enchant
      ++ optionals (enablePgp || enablePluginSmime) [ gnupg gpgme ]
  
negative.code: #       provided:
  #         gdata requires libgdata
  #         geolocation requires libchamplain
  , enableLdap ? false
  , enableNetworkManager ? false
  , enablePgp ? true
  