24 gobject-introspection,
28 gsettings-desktop-schemas,
31 stdenv.mkDerivation rec {
36 url = "mirror://gnome/sources/polari/${lib.versions.major version}/polari-${version}.tar.xz";
37 hash = "sha256-0rFwnjeRiSlPU9TvFfA/i8u76MUvD0FeYvfV8Aw2CjE=";
41 # Upstream runs the thumbnailer by passing it to gjs.
42 # If we wrap it in a shell script, gjs can no longer run it.
43 # Let’s change the code to run the script directly by making it executable and having gjs in shebang.
44 ./make-thumbnailer-wrappable.patch
47 propagatedUserEnvPkgs = [ telepathy-idle ];
65 gtk3 # for thumbnailer
67 gsettings-desktop-schemas
74 webkitgtk_4_1 # for thumbnailer
78 wrapGApp "$out/share/polari/thumbnailer.js"
82 updateScript = gnome.updateScript { packageName = "polari"; };
86 homepage = "https://apps.gnome.org/Polari/";
87 description = "IRC chat client designed to integrate with the GNOME desktop";
88 mainProgram = "polari";
89 maintainers = teams.gnome.members;
90 license = licenses.gpl2Plus;
91 platforms = platforms.linux;