anchor.diff:  , gspell
   , adwaita-icon-theme
   , gsettings-desktop-schemas
  +, gnome-desktop
  +, dbus
  +, python3
  +, texlive
  +, t1lib
  +, gst_all_1
  +, supportMultimedia ? true # PDF multimedia
   , libgxps
  -, supportXPS ? false # Open XML Paper Specification via libgxps
  +, supportXPS ? true # Open XML Paper Specification via libgxps
   }:
   
   stdenv.mkDerivation rec {
     pname = "evince";
     version = "3.32.0";
   
  -  src = fetchurl {
  -    url = "mirror://gnome/sources/evince/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
  -    sha256 = "0h2c6b2h6g3zy0gnycrjk1y7rp0kf7ppci76dmd2zvb6chhpgngh";
  +  src = fetchFromGitLab {
  +    domain = "gitlab.gnome.org";
  +    owner = "GNOME";
  +    repo = pname;
  +    rev = version;
  +    sha256 = "1klq8j70q8r8hyqv1wi6jcx8g76yh46bh8614y82zzggn4cx6y3r";
     };
   
  +  postPatch = ''
  +    chmod +x meson_post_install.py
  +    patchShebangs meson_post_install.py
  +  '';
  +
     nativeBuildInputs = [
  -    autoreconfHook
  +    meson
  +    ninja
       pkgconfig
       gobject-introspection
       gettext
  
positive.code: { fetchurl
  , stdenv
  , autoreconfHook
  , pkgconfig
  , gettext
  , libxml2
  
negative.code:     librsvg
      adwaita-icon-theme
      gspell
      gnome-desktop
      dbus # only needed to find the service directory
      texlive.bin.core # kpathsea for DVI support
      t1lib
    ] ++ stdenv.lib.optional supportXPS libgxps
      ++ stdenv.lib.optionals supportMultimedia (with gst_all_1; [
        gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav ]);
  
    mesonFlags = [
      "-Dauto_features=enabled"
      "-Dnautilus=false"
      "-Dps=enabled"
      "-Dgtk_doc=false"
    ];
  
    NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
  