anchor.diff:      runHook postCheck
     '';
   
  -  postPatch = ''
  -    chmod +x meson_post_install.py
  -    patchShebangs meson_post_install.py
  +  postPatch = lib.optionalString telepathySupport ''
       patchShebangs tests/tools/manager-file.py
     '';
   
  
positive.code: { stdenv
  , lib
  , fetchurl
  , pkg-config
  , meson
  , ninja
  , glib
  , gnome
  , nspr
  , gettext
  , gobject-introspection
  , vala
  , sqlite
  , libxml2
  , dbus-glib
  , libsoup
  , nss
  , dbus
  , libgee
  , evolution-data-server-gtk4
  , libsecret
  , db
  , python3
  , readline
  , gtk3
  , gtk-doc
  , docbook-xsl-nons
  , docbook_xml_dtd_43
  
negative.code:     sha256 = "D/+KiWMwzYKu5FmDJPflQciE0DN1NiEnI7S+s4x1kIY=";
    };
  
    patches = [
      # Do not check for unneeded GTK dependency.
      (fetchpatch {
        url = "https://gitlab.gnome.org/GNOME/folks/-/commit/686d58fb2454e5038bb951423245ed8c2d4b5cf6.patch";
        sha256 = "0ydafVKhSrkHZK8bitPF5mNDTG5GrixGzBgBLNzLuXQ=";
      })
    ];
  
    nativeBuildInputs = [
      gettext
      gobject-introspection
      gtk-doc
      docbook-xsl-nons
      docbook_xml_dtd_43
      meson
      ninja
      pkg-config
      vala
    ] ++ lib.optionals telepathySupport [
      python3
    ];
  
    buildInputs = [
      dbus-glib
      evolution-data-server-gtk4 # UI part not needed, using gtk4 version to reduce system closure.
      readline
    ] ++ lib.optionals telepathySupport [
      telepathy-glib
    ];
  
    propagatedBuildInputs = [
      glib
  