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