summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorng0 <ng0@libertad.pw>2017-01-12 00:39:27 +0000
committerLeo Famulari <leo@famulari.name>2017-01-13 14:13:02 -0500
commit401f4f0816066d54736179400ecebcca432a6bdc (patch)
treebc600613656bc6855893b8748eece633e6c9150d /gnu/packages
parent559115a64ea96add2b1269d939816146382ecaab (diff)
downloadguix-401f4f0816066d54736179400ecebcca432a6bdc.tar.gz
gnu: Add sbm.
* gnu/packages/suckless.scm (sbm): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/suckless.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 002c9273ba..87ffe7204d 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -373,3 +373,29 @@ drivers capable of injecting packets in wireless networks.")
 Pipe text to it, and it will scroll a given number of letters from right to
 left.")
     (license license:wtfpl2)))
+
+(define-public sbm
+  (package
+    (name "sbm")
+    (version "0.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://dl.2f30.org/releases/"
+                           name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1nks5mkh5wn30kyjzlkjlgi31bv1wq52kbp0r6nzbyfnvfdlywik"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; No tests
+       #:make-flags (list "CC=gcc"
+                          (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)))) ; No configure script
+    (home-page "http://git.2f30.org/sbm/")
+    (synopsis "Simple bandwidth monitor")
+    (description
+     "Sbm is a simple bandwidth monitor.")
+    (license license:isc)))