summaryrefslogtreecommitdiffstats
path: root/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix')
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix
new file mode 100644
index 000000000000..8afff65696d3
--- /dev/null
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix
@@ -0,0 +1,40 @@
+{ lib, stdenv, fetchurl, pkg-config, intltool, autoreconfHook, gnome2, gtkmm2,
+ libgtop, libxfce4ui, libxfce4util, xfce4-panel, lm_sensors, xfce
+}:
+
+stdenv.mkDerivation rec {
+ pname = "xfce4-hardware-monitor-plugin";
+ version = "1.6.0";
+
+ src = fetchurl {
+ url = "https://git.xfce.org/archive/${pname}/snapshot/${pname}-${version}.tar.gz";
+ sha256 = "11k7m41jxkaqmpp5njkixw60q517xnw923mz34dnm1llx9ilvfk8";
+ };
+
+ nativeBuildInputs = [
+ autoreconfHook
+ pkg-config
+ intltool
+ ];
+
+ buildInputs = [
+ gtkmm2
+ gnome2.libgnomecanvas
+ gnome2.libgnomecanvasmm
+ libgtop
+ libxfce4ui
+ libxfce4util
+ xfce4-panel
+ lm_sensors
+ ];
+
+ enableParallelBuilding = true;
+
+ meta = with lib; {
+ homepage = "https://goodies.xfce.org/projects/panel-plugins/xfce4-hardware-monitor-plugin";
+ description = "Hardware monitor plugin for the XFCE4 panel";
+ license = licenses.gpl3;
+ platforms = platforms.unix;
+ maintainers = [ maintainers.romildo ];
+ };
+}