2014-06-10 14:41:17 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, dbus_glib, upower, 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";
|
2014-06-10 14:41:17 +01:00
|
|
|
ver_maj = "1.3";
|
2013-03-09 21:30:06 +00:00
|
|
|
ver_min = "0";
|
2013-02-21 11:16:51 +00:00
|
|
|
|
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";
|
2014-06-10 14:41:17 +01:00
|
|
|
sha256 = "1q0mnj9hjqw4zpk7wqnfayy6zzbjbhzd1mcplfjik2h753gaxgh5";
|
2011-08-22 23:51:23 +01:00
|
|
|
};
|
2013-09-07 23:03:44 +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 =
|
2014-06-10 14:41:17 +01:00
|
|
|
[ pkgconfig intltool gtk dbus_glib upower 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";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
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
|
|
|
};
|
|
|
|
}
|