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

32 lines
939 B
Nix
Raw Normal View History

2018-03-12 23:55:30 +01:00
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk}:
with stdenv.lib;
stdenv.mkDerivation rec {
p_name = "xfce4-cpufreq-plugin";
ver_maj = "1.1";
2016-05-04 14:11:34 +02:00
ver_min = "3";
src = fetchurl {
url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
2016-05-04 14:11:34 +02:00
sha256 = "0crd21l5cw0xgm6w7s049xa36k203yx7l56ssnah9nq1w73n58bl";
};
2016-05-04 14:11:34 +02:00
name = "${p_name}-${ver_maj}.${ver_min}";
2016-05-04 14:11:34 +02:00
nativeBuildInputs = [ pkgconfig intltool ];
2018-03-12 23:55:30 +01:00
buildInputs = [ libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk ];
2016-05-04 14:11:34 +02:00
enableParallelBuilding = true;
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 14:11:34 +02:00
license = [ licenses.gpl2Plus ];
platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ];
};
}