Subject: bug#27671: closed (Re: [bug#27671] [PATCH] gnu: Add bmon.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 21 Jul 2017 04:08:02 +0000

Your bug report

#27671: [PATCH] gnu: Add bmon.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
27671: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27671
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#27671] [PATCH] gnu: Add bmon.
From: Arun Isaac <[email-masked]>
To: Tobias Geerinckx-Rice <[email-masked]>
Cc: [email-masked]
Date: Fri, 21 Jul 2017 09:36:44 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Pushed!

Subject: [PATCH] gnu: Add bmon.
From: Arun Isaac <[email-masked]>
To: [email-masked]
Cc: Arun Isaac <[email-masked]>
Date: Wed, 12 Jul 2017 21:13:54 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/networking.scm (bmon): New variable.
---
 gnu/packages/networking.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index d4b9a3d12..c6a47f924 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -9,7 +9,7 @@
 ;;; Copyright © 2016 Nicolas Goaziou <[email-masked]>
 ;;; Copyright © 2016 Eric Bavier <[email-masked]>
 ;;; Copyright © 2016, 2017 ng0 <[email-masked]>
-;;; Copyright © 2016 Arun Isaac <[email-masked]>
+;;; Copyright © 2016, 2017 Arun Isaac <[email-masked]>
 ;;; Copyright © 2016 Benz Schenk <[email-masked]>
 ;;; Copyright © 2016, 2017 Pjotr Prins <[email-masked]>
 ;;; Copyright © 2017 Mathieu Othacehe <[email-masked]>
@@ -70,6 +70,7 @@
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages valgrind)
+  #:use-module (gnu packages wm)
   #:use-module (gnu packages xml)
   #:use-module (ice-9 match))
 
@@ -1387,3 +1388,30 @@ newer and only works on Ethernet network interfaces.")
     ;; AGPL 3 with exception for linking with OpenSSL. See the 'LICENSE' file in
     ;; the source distribution for more information.
     (license license:agpl3)))
+
+(define-public bmon
+  (package
+    (name "bmon")
+    (version "4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/tgraf/bmon/releases/download/v4.0/bmon-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0ylzriv4pwh76344abzl1w219x188gshbycbna35gsyfp09c7z82"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libconfuse" ,libconfuse)
+       ("libnl" ,libnl)
+       ("ncurses" ,ncurses)))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (synopsis "Bandwidth monitor")
+    (description "bmon is a monitoring and debugging tool to capture
+networking related statistics and prepare them visually in a human friendly
+way.  It features various output methods including an interactive curses user
+interface and a programmable text output for scripting.")
+    (home-page "https://github.com/tgraf/bmon")
+    (license (list license:bsd-2
+                   license:expat))))
-- 
2.12.2