anchor.diff:      ./make-thumbnailer-wrappable.patch
     ];
   
  -  propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];
  +  propagatedUserEnvPkgs = [
  +    telepathy-idle
  +    telepathy-logger
  +  ];
   
     nativeBuildInputs = [
  -    meson ninja pkg-config itstool gettext wrapGAppsHook4 libxml2
  -    desktop-file-utils gobject-introspection appstream-glib
  +    meson
  +    ninja
  +    pkg-config
  +    itstool
  +    gettext
  +    wrapGAppsHook4
  +    libxml2
  +    desktop-file-utils
  +    gobject-introspection
  +    appstream-glib
     ];
   
     buildInputs = [
  -    gtk4 gtk3 glib adwaita-icon-theme gsettings-desktop-schemas
  -    telepathy-glib telepathy-logger gjs gspell gdk-pixbuf libsecret libsoup webkitgtk
  +    gtk4
  +    libadwaita
  +    gtk3 # for thumbnailer
  +    glib
  +    gsettings-desktop-schemas
  +    telepathy-glib
  +    telepathy-logger
  +    gjs
  +    gspell
  +    gdk-pixbuf
  +    libsecret
  +    libsoup
  +    webkitgtk # for thumbnailer
     ];
   
     postFixup = ''
  
positive.code:     homepage = "https://wiki.gnome.org/Apps/Polari";
      description = "IRC chat client designed to integrate with the GNOME desktop";
      maintainers = teams.gnome.members;
      license = licenses.gpl2;
      platforms = platforms.linux;
    };
  }
  
negative.code: { stdenv
  , lib
  , itstool
  , fetchurl
  , gdk-pixbuf
  , telepathy-glib
  , gjs
  , meson
  , ninja
  , gettext
  , telepathy-idle
  , libxml2
  , desktop-file-utils
  , pkg-config
  , gtk4
  , libadwaita
  , gtk3
  , glib
  , libsecret
  , libsoup
  , webkitgtk
  , gobject-introspection
  , appstream-glib
  , gnome
  , wrapGAppsHook4
  , telepathy-logger
  , gspell
  , gsettings-desktop-schemas
  }:
  
  stdenv.mkDerivation rec {
    pname = "polari";
    version = "42.0";
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
      sha256 = "WPFbv1tCwLASPv3td1cR07DyRJl1cwlAOMpVZGHgSTw=";
    };
  
    patches = [
  