nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix

25 lines
767 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, gtk2}:
2012-10-05 17:52:58 +01:00
with stdenv.lib;
2012-10-05 17:52:58 +01:00
stdenv.mkDerivation rec {
p_name = "xfce4-systemload-plugin";
ver_maj = "1.1";
ver_min = "2";
2012-10-05 17:52:58 +01:00
src = fetchurl {
url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
sha256 = "0z4as6sxdz93d4jpgv0665dg4sykfvc5068mc689phlfl2rvcsdl";
2012-10-05 17:52:58 +01:00
};
name = "${p_name}-${ver_maj}.${ver_min}";
2012-10-05 17:52:58 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel gtk2 ];
2012-10-05 17:52:58 +01:00
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
description = "System load plugin for Xfce panel";
platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ];
2012-10-05 17:52:58 +01:00
};
}