anchor.diff:      libsoup
       webkitgtk
     ];
  +
  +  NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
  +
  +  postPatch = ''
  +    chmod +x meson_post_install.py
  +    patchShebangs meson_post_install.py
  +  '';
   
     passthru = {
       updateScript = gnome3.updateScript {
  
positive.code: , gnome3
  , gcr
  , kerberos
  }:
  
  stdenv.mkDerivation rec {
    pname = "gnome-online-accounts";
    version = "3.34.1";
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
      sha256 = "0fkqckqkkah5k1xrfqjkk4345aq9c0a6yyvfczy9g96k927clcj8";
    };
  
    outputs = [ "out" "man" "dev" "devdoc" ];
  
    configureFlags = [
      "--enable-media-server"
      "--enable-kerberos"
      "--enable-lastfm"
      "--enable-todoist"
      "--enable-gtk-doc"
      "--enable-documentation"
    ];
  
    nativeBuildInputs = [
      docbook_xml_dtd_412
      docbook_xsl
      gettext
      gobject-introspection
      gtk-doc
      libxslt
      pkgconfig
      vala
      wrapGAppsHook
    ];
  
negative.code: { stdenv
  , fetchFromGitLab
  , pkgconfig
  , vala
  , glib
  , meson
  , ninja
  , python3
  , libxslt
  , gtk3
  , webkitgtk
  , json-glib
  , librest
  