anchor.diff:  , gtk-doc
   , docbook-xsl-nons
   , docbook_xml_dtd_43
  +, glib
  +, gsettings-desktop-schemas
   , gtk3
   , enableGlade ? false
   , glade
  -, dbus
   , xvfb-run
   , libxml2
   , gdk-pixbuf
  
positive.code: 
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "sha256-JnbVH6H6QP3udJfT52P++hiwM4v/zS7jLn9+YzyIVEY=";
    };
  
    nativeBuildInputs = [
  
negative.code:   doCheck = !stdenv.isDarwin;
  
    checkPhase = ''
      runHook preCheck
  
      testEnvironment=(
        # Disable portal since we cannot run it in tests.
        HDY_DISABLE_PORTAL=1
  
        "XDG_DATA_DIRS=${lib.concatStringsSep ":" [
          # HdySettings needs to be initialized from “org.gnome.desktop.interface” GSettings schema when portal is not used for color scheme.
          # It will not actually be used since the “color-scheme” key will only have been introduced in GNOME 42, falling back to detecting theme name.
          # See hdy_settings_constructed function in https://gitlab.gnome.org/GNOME/libhandy/-/commit/bb68249b005c445947bfb2bee66c91d0fe9c41a4
          "${glib.getSchemaPath gsettings-desktop-schemas}/../.."
  
          # Some tests require icons
          "${hicolor-icon-theme}/share"
        ]}"
      )
      env "''${testEnvironment[@]}" xvfb-run \
        meson test --print-errorlogs
  
      runHook postCheck
    '';
  
    passthru = {
  