2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, itstool, fetchurl, gdk_pixbuf, adwaita-icon-theme
|
2018-02-25 03:23:58 +01:00
|
|
|
, telepathy-glib, gjs, meson, ninja, gettext, telepathy-idle, libxml2, desktop-file-utils
|
2018-12-02 12:41:15 +01:00
|
|
|
, pkgconfig, gtk3, glib, libsecret, libsoup, gobject-introspection, appstream-glib
|
2019-04-17 02:38:26 +02:00
|
|
|
, gnome3, wrapGAppsHook, telepathy-logger, gspell, gsettings-desktop-schemas }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-15 05:33:51 +01:00
|
|
|
let
|
|
|
|
pname = "polari";
|
2019-05-18 22:12:28 +02:00
|
|
|
version = "3.32.2";
|
2018-03-15 05:33:51 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-05-18 22:12:28 +02:00
|
|
|
sha256 = "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-02-25 03:23:58 +01:00
|
|
|
propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-15 05:33:51 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja pkgconfig itstool gettext wrapGAppsHook libxml2
|
2018-12-02 12:41:15 +01:00
|
|
|
desktop-file-utils gobject-introspection appstream-glib
|
2018-03-15 05:33:51 +01:00
|
|
|
];
|
2017-10-04 23:50:14 +02:00
|
|
|
|
2018-03-15 05:33:51 +01:00
|
|
|
buildInputs = [
|
2019-04-17 02:38:26 +02:00
|
|
|
gtk3 glib adwaita-icon-theme gsettings-desktop-schemas
|
2018-03-15 05:33:51 +01:00
|
|
|
telepathy-glib telepathy-logger gjs gspell gdk_pixbuf libsecret libsoup
|
2017-10-04 23:50:14 +02:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-15 05:33:51 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|