3
0
Fork 0
forked from mirrors/nixpkgs

Some fixes to the polari irc client

This commit is contained in:
Luca Bruno 2014-12-12 15:24:23 +01:00
parent f28eff8b82
commit e3b84d8dfc

View file

@ -1,18 +1,26 @@
{stdenv, fetchurl, makeWrapper, intltool, pkgconfig, gobjectIntrospection, glib, gtk3, telepathy_glib, gnome3, telepathy_idle }:
{stdenv, fetchurl, makeWrapper, intltool, pkgconfig, gobjectIntrospection, glib
, gtk3, telepathy_glib, gnome3, telepathy_idle, telepathy_logger, libsoup
, gdk_pixbuf, librsvg }:
stdenv.mkDerivation rec {
version = "3.12.2";
name = "polari-${version}";
name = "polari-3.12.2";
src = fetchurl {
url = "https://download.gnome.org/sources/polari/3.12/polari-${version}.tar.xz";
url = "https://download.gnome.org/sources/polari/3.12/${name}.tar.xz";
sha256 = "8b10f369fac9e5e48a7bed51320754262d00c1bb14899a321b02843e20c0a995";
};
buildInputs = [ makeWrapper intltool pkgconfig gobjectIntrospection glib gtk3 telepathy_glib gnome3.gjs ];
buildInputs = [ makeWrapper intltool pkgconfig gobjectIntrospection glib gtk3
telepathy_glib gnome3.gjs telepathy_logger libsoup
gdk_pixbuf librsvg
gnome3.gnome_icon_theme gnome3.gnome_icon_theme_symbolic ];
propagatedUserEnvPkgs = [ telepathy_idle ];
preFixup = ''
wrapProgram "$out/bin/polari" \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
'';