all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27671] [PATCH] gnu: Add bmon.
@ 2017-07-12 15:43 Arun Isaac
  2017-07-12 17:06 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 6+ messages in thread
From: Arun Isaac @ 2017-07-12 15:43 UTC (permalink / raw)
  To: 27671

* 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 <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
-;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
 ;;; Copyright © 2016, 2017 Pjotr Prins <pjotr.guix@thebird.nl>
 ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
@@ -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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#27671] [PATCH] gnu: Add bmon.
  2017-07-12 15:43 [bug#27671] [PATCH] gnu: Add bmon Arun Isaac
@ 2017-07-12 17:06 ` Tobias Geerinckx-Rice
  2017-07-12 17:49   ` Arun Isaac
  0 siblings, 1 reply; 6+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-07-12 17:06 UTC (permalink / raw)
  To: arunisaac, 27671


[-- Attachment #1.1: Type: text/plain, Size: 1518 bytes --]

Arun,

Thanks! Just a few comments:

On 12/07/17 17:43, Arun Isaac wrote:
> +(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-"

Use ‘version’ instead of "4.0" here, as well.

> +                           version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0ylzriv4pwh76344abzl1w219x188gshbycbna35gsyfp09c7z82"))))
> +    (build-system gnu-build-system)
> +    (inputs
> +     `(("libconfuse" ,libconfuse)
> +       ("libnl" ,libnl)
> +       ("ncurses" ,ncurses)))
> +    (native-inputs `(("pkg-config" ,pkg-config)))

I'd write this as two lines for consistency and aesthetics.

> +    (synopsis "Bandwidth monitor")
> +    (description "bmon is a monitoring and debugging tool to capture
> +networking related statistics and prepare them visually in a human friendly

‘networking-related’, ‘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))))

Hm. Do you know which files are BSD-licenced? Quite a few have an
expat-style header, but only ‘README.md’ mentions BSD (while saying
nothing of use).

Kind regards,

T G-R


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 504 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#27671] [PATCH] gnu: Add bmon.
  2017-07-12 17:06 ` Tobias Geerinckx-Rice
@ 2017-07-12 17:49   ` Arun Isaac
  2017-07-20 15:00     ` Arun Isaac
       [not found]     ` <aa4ccdf6.AEAANLxPx3oAAAAAAAAAAAPU5Q8AAAACwQwAAAAAAAW9WABZcMWs@mailjet.com>
  0 siblings, 2 replies; 6+ messages in thread
From: Arun Isaac @ 2017-07-12 17:49 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 27671


Tobias Geerinckx-Rice writes:

>> +     (origin
>> +       (method url-fetch)
>> +       (uri (string-append "https://github.com/tgraf/bmon/releases/download/v4.0/bmon-"
>
> Use ‘version’ instead of "4.0" here, as well.

Noted.

>> +    (native-inputs `(("pkg-config" ,pkg-config)))
>
> I'd write this as two lines for consistency and aesthetics.

Noted.

>> +    (description "bmon is a monitoring and debugging tool to capture
>> +networking related statistics and prepare them visually in a human friendly
>
> ‘networking-related’, ‘human-friendly’.

Noted.

>> +    (license (list license:bsd-2
>> +                   license:expat))))
>
> Hm. Do you know which files are BSD-licenced? Quite a few have an
> expat-style header, but only ‘README.md’ mentions BSD (while saying
> nothing of use).

You are right. All files have expat license headers. I have contacted
the author seeking clarification.

https://github.com/tgraf/bmon/issues/59

Let's wait and see if the author replies in a few days.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#27671] [PATCH] gnu: Add bmon.
  2017-07-12 17:49   ` Arun Isaac
@ 2017-07-20 15:00     ` Arun Isaac
       [not found]     ` <aa4ccdf6.AEAANLxPx3oAAAAAAAAAAAPU5Q8AAAACwQwAAAAAAAW9WABZcMWs@mailjet.com>
  1 sibling, 0 replies; 6+ messages in thread
From: Arun Isaac @ 2017-07-20 15:00 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 27671


>>> +    (license (list license:bsd-2
>>> +                   license:expat))))
>>
>> Hm. Do you know which files are BSD-licenced? Quite a few have an
>> expat-style header, but only ‘README.md’ mentions BSD (while saying
>> nothing of use).
>
> You are right. All files have expat license headers. I have contacted
> the author seeking clarification.
>
> https://github.com/tgraf/bmon/issues/59
>
> Let's wait and see if the author replies in a few days.

No response from upstream yet. How shall we proceed?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#27671] [PATCH] gnu: Add bmon.
       [not found]     ` <aa4ccdf6.AEAANLxPx3oAAAAAAAAAAAPU5Q8AAAACwQwAAAAAAAW9WABZcMWs@mailjet.com>
@ 2017-07-20 16:01       ` Tobias Geerinckx-Rice
  2017-07-21  4:06         ` bug#27671: " Arun Isaac
  0 siblings, 1 reply; 6+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-07-20 16:01 UTC (permalink / raw)
  To: arunisaac; +Cc: 27671


[-- Attachment #1.1: Type: text/plain, Size: 1003 bytes --]

Arun,

On 20/07/17 17:00, Arun Isaac wrote:
>>>> +    (license (list license:bsd-2
>>>> +                   license:expat))))
>>>
>>> Hm. Do you know which files are BSD-licenced? Quite a few have an
>>> expat-style header, but only ‘README.md’ mentions BSD (while saying
>>> nothing of use).
>>
>> You are right. All files have expat license headers. I have contacted
>> the author seeking clarification.
>>
>> https://github.com/tgraf/bmon/issues/59
>>
>> Let's wait and see if the author replies in a few days.
> 
> No response from upstream yet. How shall we proceed?

Thanks for keeping track of this!

While it's always good to be certain (even authors sometimes get
confused about their own intentions), it's not like we risk omitting a
licence or misrepresenting the author's intent in this case.

I'd say this is fine to push with the above licence list + a short
explanation + link to your issue report. We can always amend it later.

Kind regards,

T G-R


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 504 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27671: [PATCH] gnu: Add bmon.
  2017-07-20 16:01       ` Tobias Geerinckx-Rice
@ 2017-07-21  4:06         ` Arun Isaac
  0 siblings, 0 replies; 6+ messages in thread
From: Arun Isaac @ 2017-07-21  4:06 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 27671-done


Pushed!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-21  4:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-12 15:43 [bug#27671] [PATCH] gnu: Add bmon Arun Isaac
2017-07-12 17:06 ` Tobias Geerinckx-Rice
2017-07-12 17:49   ` Arun Isaac
2017-07-20 15:00     ` Arun Isaac
     [not found]     ` <aa4ccdf6.AEAANLxPx3oAAAAAAAAAAAPU5Q8AAAACwQwAAAAAAAW9WABZcMWs@mailjet.com>
2017-07-20 16:01       ` Tobias Geerinckx-Rice
2017-07-21  4:06         ` bug#27671: " Arun Isaac

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.