2016-09-15 14:49:56 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, autoreconfHook, gnome2,
|
2018-03-12 22:55:30 +00:00
|
|
|
libgtop, libxfce4ui, libxfce4util, xfce4-panel, lm_sensors
|
2016-09-15 14:49:56 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
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 {
|
|
|
|
url = "https://git.xfce.org/panel-plugins/${pname}/snapshot/${name}.tar.bz2";
|
2018-07-14 20:11:17 +01:00
|
|
|
sha256 = "0xg5har11fk1wmdymydxlbk1z8aa39j8k0p4gzw2iqslv3n0zf7b";
|
2016-09-15 14:49:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gnome2.gtkmm2
|
|
|
|
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;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://goodies.xfce.org/projects/panel-plugins/${pname}";
|
|
|
|
description = "Hardware monitor plugin for the XFCE4 panel";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|