2013-02-21 11:16:51 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel, libxfce4ui, libxfcegui4, xfconf, gtk}:
|
|
|
|
|
2015-01-17 02:46:34 +00:00
|
|
|
with stdenv.lib;
|
2013-02-21 11:16:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "xfce4-cpufreq-plugin";
|
2015-03-12 21:52:38 +00:00
|
|
|
ver_maj = "1.1";
|
2016-05-04 13:11:34 +01:00
|
|
|
ver_min = "3";
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2016-05-04 13:11:34 +01:00
|
|
|
sha256 = "0crd21l5cw0xgm6w7s049xa36k203yx7l56ssnah9nq1w73n58bl";
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
2016-05-04 13:11:34 +01:00
|
|
|
|
2013-02-21 11:16:51 +00:00
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
|
2016-05-04 13:11:34 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
|
|
|
buildInputs = [ libxfce4util libxfce4ui xfce4panel libxfcegui4 xfconf gtk ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-02-21 11:16:51 +00:00
|
|
|
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
|
|
|
|
description = "CPU Freq load plugin for Xfce panel";
|
2016-05-04 13:11:34 +01:00
|
|
|
license = [ licenses.gpl2Plus ];
|
2015-01-17 02:46:34 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
}
|