2014-10-05 13:49:03 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel, libxfce4ui, libxfcegui4, xfconf, gtk}:
|
|
|
|
|
2015-01-17 02:46:34 +00:00
|
|
|
with stdenv.lib;
|
2014-10-05 13:49:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "xfce4-battery-plugin";
|
|
|
|
ver_maj = "1.0";
|
2015-01-17 02:46:34 +00:00
|
|
|
ver_min = "5";
|
2014-10-05 13:49:03 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2015-01-17 02:46:34 +00:00
|
|
|
sha256 = "04gbplcj8z4vg5xbks8cc2jjf62mmf9sdymg90scjwmb82pv2ngn";
|
2014-10-05 13:49:03 +01:00
|
|
|
};
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig intltool libxfce4util libxfce4ui xfce4panel libxfcegui4 xfconf gtk ];
|
|
|
|
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
|
|
|
|
description = "Battery plugin for Xfce panel";
|
2015-01-17 02:46:34 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2014-10-05 13:49:03 +01:00
|
|
|
};
|
|
|
|
}
|