gnome.polari: 41.0 → 42.0

https://gitlab.gnome.org/GNOME/polari/-/compare/41.0...42.0

- Now uses libadwaita.
- Format the expression.
- Remove unnecessary icon theme dependency.
- Add comments to thumbnailer deps.
- Correct license.
This commit is contained in:
Jan Tojnar 2022-03-21 10:15:39 +00:00
parent 3ecef34ed0
commit fb4b0c019f

View File

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