2020-04-15 18:50:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, exo, libXtst, xorgproto, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk3, hicolor-icon-theme, xfce }:
|
2020-04-13 22:12:16 +01:00
|
|
|
|
|
|
|
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";
|
2020-04-15 18:50:51 +01:00
|
|
|
version = "1.1.0";
|
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";
|
2020-04-15 18:50:51 +01:00
|
|
|
sha256 = "193bj1p54l4zrvgdjj0pvjn161d6dn82jh9invcy09sqwlj0mkiy";
|
2015-01-17 02:46:34 +00:00
|
|
|
};
|
|
|
|
|
2020-04-15 18:50:51 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
exo
|
|
|
|
libXtst
|
|
|
|
xorgproto
|
|
|
|
libxfce4util
|
|
|
|
libxfce4ui
|
|
|
|
xfce4-panel
|
|
|
|
xfconf
|
|
|
|
gtk3
|
|
|
|
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; {
|
2020-04-15 18:50:51 +01:00
|
|
|
homepage = "https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin";
|
2015-01-17 02:46:34 +00:00
|
|
|
description = "CPU graph show for Xfce panel";
|
2020-04-15 18:50:51 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2015-01-17 02:46:34 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|