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-12-06 16:07:01 +00:00
|
|
|
version = "1.2.5";
|
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-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-wvbb1/g8ebY7g8mCMsedBQ4YZA6CRkueyNNkOpLDobA=";
|
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-12-19 01:06:50 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|