anchor.diff:      intltool
       itstool
       libxslt
  +    makeWrapper
     ];
   
     buildInputs = [
       adwaita-icon-theme
       atk
  +    clutter
  +    clutter-gtk
  +    dconf
       desktop_file_utils
       evince
       gdk-pixbuf
       gjs
       glib
  +    gmp
       gnome-desktop
       gnome-online-accounts
       gnome-online-miners
  
positive.code:   ];
  
    preFixup = ''
      sed -i $out/bin/gnome-documents \
        -e 's|gapplication|${glib}/bin/gapplication|'
  
      #gnomeWrapperArgs+=(--run 'if [ -z "$XDG_CACHE_DIR" ]; then XDG_CACHE_DIR=$HOME/.cache; fi; if [ -w "$XDG_CACHE_DIR/.." ]; then mkdir -p "$XDG_CACHE_DIR/gnome-documents"; fi')
    '';
  
    doCheck = true;
  
    meta = with stdenv.lib; {
      homepage = https://wiki.gnome.org/Apps/Documents;
      description = "Document manager application designed to work with GNOME 3";
      maintainers = gnome3.maintainers;
      license = licenses.gpl2;
      platforms = platforms.linux;
    };
  }
  
negative.code: , intltool
  , itstool
  , libxslt
  , makeWrapper
  
  , adwaita-icon-theme
  , atk
  , clutter
  , clutter-gtk
  , dconf
  , desktop_file_utils
  , evince
  , gdk-pixbuf
  , gjs
  , glib
  , gmp
  , gnome-desktop
  , gnome-online-accounts
  , gnome-online-miners
  