From 91eb0e96935dcf184ac8479b7310caf030a53c93 Mon Sep 17 00:00:00 2001
From: Kei Yamashita <kei@openmailbox.org>
Date: Wed, 6 Apr 2016 13:50:36 -0400
Subject: [PATCH] gnu: Add wmcpuload.

* gnu/packages/gnustep.scm (wmcpuload): New variable.
---
 gnu/packages/gnustep.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/gnustep.scm b/gnu/packages/gnustep.scm
index 8ca32e4..f084de6 100644
--- a/gnu/packages/gnustep.scm
+++ b/gnu/packages/gnustep.scm
@@ -152,3 +152,31 @@ graph), and battery status (high - green, low - yellow, or critical - red).")
      "WMND is a dockapp for monitoring network interfaces under WindowMaker and
 other compatible window managers.")
     (license gpl2+)))
+
+(define-public wmcpuload
+  (package
+    (name "wmcpuload")
+    (version "1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://debian/pool/main/w/wmcpuload/"
+                    name "_" version ".orig.tar.gz"))
+              (sha256
+               (base32
+                "0irlns4cvxy2mnicx75bya166hdxq7h8bphds3ligijcl9fzgs6n"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libx11" ,libx11)
+       ("libxext" ,libxext)
+       ("libxpm" ,libxpm)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://windowmaker.org/dockapps/?name=wmcpuload")
+    (synopsis "Montior CPU usage")
+    (description
+     "It displays the current usage, expressed as a percentile and a chart, and
+has an LCD look-alike user interface.  The back-light may be turned on/off by
+clicking the mouse button over the application.  If the CPU usage hits a
+certain threshold, an alarm-mode will alert you by turning back-light on.")
+    (license gpl2+)))
-- 
2.7.3

