2017-10-04 22:50:14 +01:00
|
|
|
{ stdenv, itstool, fetchurl, fetchpatch, gdk_pixbuf, adwaita-icon-theme
|
2018-02-25 02:23:58 +00:00
|
|
|
, telepathy-glib, gjs, meson, ninja, gettext, telepathy-idle, libxml2, desktop-file-utils
|
2017-10-04 22:50:14 +01:00
|
|
|
, pkgconfig, gtk3, glib, libsecret, libsoup, gobjectIntrospection, appstream-glib
|
2018-02-25 02:23:58 +00:00
|
|
|
, gnome3, wrapGAppsHook, telepathy-logger, gspell }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "polari-${version}";
|
2018-03-13 01:03:18 +00:00
|
|
|
version = "3.28.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/polari/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 01:03:18 +00:00
|
|
|
sha256 = "08zgdqrnxl752nv0gac1k7wvjd4j7h5n4c0flrq7q337p40k3dd5";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "polari"; attrPath = "gnome3.polari"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-10-04 22:50:14 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig itstool gettext wrapGAppsHook libxml2
|
2018-02-25 02:23:58 +00:00
|
|
|
desktop-file-utils gobjectIntrospection appstream-glib ];
|
|
|
|
buildInputs = [ gtk3 glib adwaita-icon-theme gnome3.gsettings-desktop-schemas
|
|
|
|
telepathy-glib telepathy-logger gjs gspell gdk_pixbuf libsecret libsoup ];
|
2017-10-04 22:50:14 +01:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://gitlab.gnome.org/jtojnar/polari/commit/a6733a6ad95eac1813e7b18e3d0018a22ee7a377.diff;
|
|
|
|
sha256 = "0f5ll49h5w0477lkh67kaa2j83z376z1jk7z3i2v7cq4d3hi5lf9";
|
|
|
|
})
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Polari;
|
|
|
|
description = "IRC chat client designed to integrate with the GNOME desktop";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|