2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, intltool
|
|
|
|
, glib
|
|
|
|
, exo
|
|
|
|
, libXtst
|
|
|
|
, xorgproto
|
|
|
|
, libxfce4util
|
|
|
|
, xfce4-panel
|
|
|
|
, libxfce4ui
|
|
|
|
, xfconf
|
|
|
|
, gtk3
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, xfce
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
category = "panel-plugins";
|
2021-02-05 17:12:51 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "xfce4-cpugraph-plugin";
|
2021-04-05 15:23:46 +00:00
|
|
|
version = "1.2.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-17 00:15:33 +00:00
|
|
|
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-+wzM2aZ4E2JW7dDwT5ReYRqwqpEoN/V0E+87sPUVYIw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
intltool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
exo
|
|
|
|
libXtst
|
|
|
|
xorgproto
|
|
|
|
libxfce4util
|
|
|
|
libxfce4ui
|
|
|
|
xfce4-panel
|
|
|
|
xfconf
|
|
|
|
gtk3
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = xfce.updateScript {
|
|
|
|
inherit pname version;
|
|
|
|
attrPath = "xfce.${pname}";
|
|
|
|
versionLister = xfce.archiveLister category pname;
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin";
|
|
|
|
description = "CPU graph show for Xfce panel";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|