2019-03-09 11:23:54 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, autoreconfHook, gnome2, gtkmm2,
|
2020-04-13 22:12:16 +01:00
|
|
|
libgtop, libxfce4ui, libxfce4util, xfce4-panel, lm_sensors, xfce
|
2016-09-15 14:49:56 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xfce4-hardware-monitor-plugin";
|
2018-07-14 20:11:17 +01:00
|
|
|
version = "1.6.0";
|
2016-09-15 14:49:56 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-29 14:11:12 +01:00
|
|
|
url = "https://git.xfce.org/archive/${pname}/snapshot/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "11k7m41jxkaqmpp5njkixw60q517xnw923mz34dnm1llx9ilvfk8";
|
2016-09-15 14:49:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-03-09 11:23:54 +00:00
|
|
|
gtkmm2
|
2016-09-15 14:49:56 +01:00
|
|
|
gnome2.libgnomecanvas
|
|
|
|
gnome2.libgnomecanvasmm
|
|
|
|
libgtop
|
|
|
|
libxfce4ui
|
|
|
|
libxfce4util
|
2018-03-12 22:55:30 +00:00
|
|
|
xfce4-panel
|
2016-09-15 14:49:56 +01:00
|
|
|
lm_sensors
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2020-04-13 22:12:16 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-03-20 12:36:23 +00:00
|
|
|
homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
|
2016-09-15 14:49:56 +01:00
|
|
|
description = "Hardware monitor plugin for the XFCE4 panel";
|
2020-04-13 22:12:16 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
2016-09-15 14:49:56 +01:00
|
|
|
};
|
|
|
|
}
|