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";
|
2013-03-09 21:30:06 +00:00
|
|
|
ver_maj = "1.2";
|
|
|
|
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";
|
2013-03-09 21:30:06 +00:00
|
|
|
sha256 = "1sc4f4wci5yl3l9lk7vcsbwj6hdjshbxw9qm43s64jr882jriyyp";
|
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 =
|
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
|
|
|
|
2014-03-15 10:47:31 +00:00
|
|
|
patches = ./xfce4-power-manager-brightness.patch;
|
2013-09-07 23:03:44 +01:00
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|