2020-04-13 22:12:16 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, exo, libXtst, xorgproto, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2, hicolor-icon-theme, xfce }:
|
|
|
|
|
|
|
|
let
|
|
|
|
category = "panel-plugins";
|
|
|
|
in
|
2015-01-17 02:46:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-13 22:12:16 +01:00
|
|
|
pname = "xfce4-cpugraph-plugin";
|
|
|
|
version = "1.0.5";
|
2015-01-17 02:46:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-13 22:12:16 +01:00
|
|
|
url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2015-01-17 02:46:34 +00:00
|
|
|
sha256 = "1izl53q95m5xm2fiq7385vb1i9nwgjizxkmgpgh33zdckb40xnl5";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-11-04 21:27:22 +00:00
|
|
|
buildInputs = [ intltool glib exo libXtst xorgproto libxfce4util libxfce4ui xfce4-panel xfconf gtk2 hicolor-icon-theme ];
|
2020-04-13 22:12:16 +01:00
|
|
|
|
|
|
|
passthru.updateScript = xfce.updateScript {
|
|
|
|
inherit pname version;
|
|
|
|
attrPath = "xfce.${pname}";
|
|
|
|
versionLister = xfce.archiveLister category pname;
|
|
|
|
};
|
2015-01-17 02:46:34 +00:00
|
|
|
|
2020-04-13 22:12:16 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
|
2015-01-17 02:46:34 +00:00
|
|
|
description = "CPU graph show for Xfce panel";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|