2013-04-21 11:07:19 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, libnotify
|
2013-02-21 11:16:51 +00:00
|
|
|
, gtk , libxfce4util, libxfce4ui, xfconf }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "xfce4-notifyd";
|
|
|
|
ver_maj = "0.2";
|
2013-11-18 20:08:25 +00:00
|
|
|
ver_min = "4";
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2013-11-18 20:08:25 +00:00
|
|
|
sha256 = "1l6fpfk0fkizdx7vwbyjdyzzj5i2ng8pf7r8j49nv0cnjhpxczlc";
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
|
2013-04-21 11:07:19 +00:00
|
|
|
buildInputs = [ pkgconfig intltool libnotify gtk libxfce4util libxfce4ui xfconf ];
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
rm $out/share/icons/hicolor/icon-theme.cache
|
|
|
|
# to be able to run the daemon we need it in PATH
|
2013-04-21 11:07:19 +00:00
|
|
|
ln -rs $out/lib/xfce4/notifyd/xfce4-notifyd $out/bin
|
2013-02-21 11:16:51 +00:00
|
|
|
'';
|
|
|
|
|
2013-04-21 11:07:19 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2013-02-21 11:16:51 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://goodies.xfce.org/projects/applications/${p_name}";
|
|
|
|
description = "Notification daemon for Xfce";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-04-28 16:33:39 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
}
|