mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
531e4b80c9
Only acts on one-line dependency lists.
34 lines
996 B
Nix
34 lines
996 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, libnotify
|
|
, gtk , libxfce4util, libxfce4ui, xfconf }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
p_name = "xfce4-notifyd";
|
|
ver_maj = "0.2";
|
|
ver_min = "4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
|
|
sha256 = "1l6fpfk0fkizdx7vwbyjdyzzj5i2ng8pf7r8j49nv0cnjhpxczlc";
|
|
};
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ intltool libnotify gtk libxfce4util libxfce4ui xfconf ];
|
|
|
|
preFixup = ''
|
|
rm $out/share/icons/hicolor/icon-theme.cache
|
|
# to be able to run the daemon we need it in PATH
|
|
ln -rs $out/lib/xfce4/notifyd/xfce4-notifyd $out/bin
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "http://goodies.xfce.org/projects/applications/${p_name}";
|
|
description = "Notification daemon for Xfce";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
};
|
|
}
|