2011-08-22 23:51:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, dbus_glib, xfconf
|
2011-08-23 00:08:42 +01:00
|
|
|
, libxfce4ui, libxfce4util, libnotify, xfce4panel }:
|
2011-08-22 23:51:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-21 11:16:51 +00:00
|
|
|
p_name = "xfce4-power-manager";
|
|
|
|
ver_maj = "1.0";
|
|
|
|
ver_min = "10";
|
|
|
|
|
2011-08-22 23:51:23 +01:00
|
|
|
src = fetchurl {
|
2013-02-21 11:16:51 +00:00
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
|
|
|
sha256 = "1w120k1sl4s459ijaxkqkba6g1p2sqrf9paljv05wj0wz12bpr40";
|
2011-08-22 23:51:23 +01:00
|
|
|
};
|
2013-02-21 11:16:51 +00:00
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
2011-08-22 23:51:23 +01:00
|
|
|
|
|
|
|
buildInputs =
|
2011-08-23 00:08:42 +01:00
|
|
|
[ pkgconfig intltool gtk dbus_glib xfconf libxfce4ui libxfce4util
|
2011-08-22 23:51:23 +01:00
|
|
|
libnotify xfce4panel
|
|
|
|
];
|
2013-02-21 11:16:51 +00:00
|
|
|
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
2011-08-22 23:51:23 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://goodies.xfce.org/projects/applications/xfce4-power-manager;
|
|
|
|
description = "A power manager for the Xfce Desktop Environment";
|
|
|
|
license = "GPLv2+";
|
2011-09-06 00:30:26 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2011-08-22 23:51:23 +01:00
|
|
|
};
|
|
|
|
}
|