nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin.nix
AndersonTorres 5d853f7dca Adding some plugins to XFCE4
Here is a list:
Battery      (1.0.5)
Clipman      (1.2.6)
Cpufreq      (1.0.0)
Cpugraph     (1.0.5)
Datetime     (0.6.2)
Dict         (0.3.0)
Embed        (1.4.1)
Eyes         (4.4.3)
Fsguard      (1.0.1)
Genmon       (3.4.0)
Netload      (1.2.4)
Notes        (1.7.7)
Systemload   (1.1.2)
Verve        (1.0.0)
Xkb          (0.5.6)
2015-01-17 21:53:23 -02:00

25 lines
830 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel, libxfce4ui, libxfcegui4, xfconf, gtk}:
with stdenv.lib;
stdenv.mkDerivation rec {
p_name = "xfce4-battery-plugin";
ver_maj = "1.0";
ver_min = "5";
src = fetchurl {
url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
sha256 = "04gbplcj8z4vg5xbks8cc2jjf62mmf9sdymg90scjwmb82pv2ngn";
};
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";
platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ];
};
}