unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Add nload package
@ 2016-03-10 12:33 Raimon Grau
  2016-03-10 13:06 ` Raimon Grau
  0 siblings, 1 reply; 3+ messages in thread
From: Raimon Grau @ 2016-03-10 12:33 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 98 bytes --]

Hi guixers,

I created a package definition for nload.

Comments are very welcome.

Cheers,

Rai


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: add nload --]
[-- Type: text/x-diff, Size: 1656 bytes --]

From 5a6300c447843b08a70311be867007e1daa5b58b Mon Sep 17 00:00:00 2001
From: Raimon Grau <raimon@3scale.net>
Date: Thu, 10 Mar 2016 12:26:11 +0000
Subject: [PATCH] gnu: Add nload 0.7.4.

* gnu/packages/networking.scm (nload): New variable.
---
 gnu/packages/networking.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index e731183..49403c1 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -187,3 +187,26 @@ needed/wanted real-time traffic statistics of multiple network
 interfaces, with a simple and efficient view on the command line.  It is
 intended as a substitute for the PPPStatus and EthStatus projects.")
     (license license:gpl2+)))
+
+(define-public nload
+  (package
+    (name "nload")
+    (version "0.7.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/nload/nload"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1rb9skch2kgqzigf19x8bzk211jdfjfdkrcvaqyj89jy2pkm3h61"))))
+    (build-system gnu-build-system)
+    (inputs `(("ncurses" ,ncurses)))
+    (home-page "http://www.roland-riegel.de/nload/")
+    (synopsis "Realtime console network usage monitor")
+    (description
+     "nload is a console application which monitors network traffic and
+bandwidth usage in real time.  It visualizes the in- and outgoing traffic using
+two graphs and provides additional info like total amount of transfered data
+and min/max network usage.")
+    (license license:gpl2)))
+
-- 
2.6.3


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

* Re: Add nload package
  2016-03-10 12:33 Add nload package Raimon Grau
@ 2016-03-10 13:06 ` Raimon Grau
  2016-03-10 21:53   ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Raimon Grau @ 2016-03-10 13:06 UTC (permalink / raw)
  To: Raimon Grau; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]


Raimon Grau writes:

> Hi guixers,
>
> I created a package definition for nload.
>
> Comments are very welcome.
>
> Cheers,
>
> Rai
Ooops,

There was a typo in there. This should be the right one.

Cheers,

Rai


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add nload --]
[-- Type: text/x-diff, Size: 1654 bytes --]

From 092c01d3300c17edf0e9bbe95f87ae093072143d Mon Sep 17 00:00:00 2001
From: Raimon Grau <raimon@3scale.net>
Date: Thu, 10 Mar 2016 12:47:56 +0000
Subject: [PATCH] gnu: Add nload 0.7.4.

* gnu/packages/networking.scm (nload): New variable.
---
 gnu/packages/networking.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index e731183..1df2a8d 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -187,3 +187,25 @@ needed/wanted real-time traffic statistics of multiple network
 interfaces, with a simple and efficient view on the command line.  It is
 intended as a substitute for the PPPStatus and EthStatus projects.")
     (license license:gpl2+)))
+
+(define-public nload
+  (package
+    (name "nload")
+    (version "0.7.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/nload/nload-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1rb9skch2kgqzigf19x8bzk211jdfjfdkrcvaqyj89jy2pkm3h61"))))
+    (build-system gnu-build-system)
+    (inputs `(("ncurses" ,ncurses)))
+    (home-page "http://www.roland-riegel.de/nload/")
+    (synopsis "Realtime console network usage monitor")
+    (description
+     "nload is a console application which monitors network traffic and
+bandwidth usage in real time.  It visualizes the in- and outgoing traffic using
+two graphs and provides additional info like total amount of transfered data
+and min/max network usage.")
+    (license license:gpl2)))
-- 
2.6.3


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

* Re: Add nload package
  2016-03-10 13:06 ` Raimon Grau
@ 2016-03-10 21:53   ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2016-03-10 21:53 UTC (permalink / raw)
  To: Raimon Grau; +Cc: guix-devel

On Thu, Mar 10, 2016 at 01:06:25PM +0000, Raimon Grau wrote:
> From 092c01d3300c17edf0e9bbe95f87ae093072143d Mon Sep 17 00:00:00 2001
> From: Raimon Grau <raimon@3scale.net>
> Date: Thu, 10 Mar 2016 12:47:56 +0000
> Subject: [PATCH] gnu: Add nload 0.7.4.

Thanks for the patch!

I see that the unexpected context in the nethogs patch is from this one.

I applied this patch with some minor changes as 951466232.

I added a copyright line for you, capitalized the beginning of the
description, and simplified the commit message.

I also looked at the license headers on the source files. They all say
"later version" so I changed gpl2 to gpl2+.

> 
> * gnu/packages/networking.scm (nload): New variable.
> ---
>  gnu/packages/networking.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> index e731183..1df2a8d 100644
> --- a/gnu/packages/networking.scm
> +++ b/gnu/packages/networking.scm
> @@ -187,3 +187,25 @@ needed/wanted real-time traffic statistics of multiple network
>  interfaces, with a simple and efficient view on the command line.  It is
>  intended as a substitute for the PPPStatus and EthStatus projects.")
>      (license license:gpl2+)))
> +
> +(define-public nload
> +  (package
> +    (name "nload")
> +    (version "0.7.4")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://sourceforge/nload/nload-"
> +                                  version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1rb9skch2kgqzigf19x8bzk211jdfjfdkrcvaqyj89jy2pkm3h61"))))
> +    (build-system gnu-build-system)
> +    (inputs `(("ncurses" ,ncurses)))
> +    (home-page "http://www.roland-riegel.de/nload/")
> +    (synopsis "Realtime console network usage monitor")
> +    (description
> +     "nload is a console application which monitors network traffic and
> +bandwidth usage in real time.  It visualizes the in- and outgoing traffic using
> +two graphs and provides additional info like total amount of transfered data
> +and min/max network usage.")
> +    (license license:gpl2)))
> -- 
> 2.6.3
> 

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

end of thread, other threads:[~2016-03-10 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-10 12:33 Add nload package Raimon Grau
2016-03-10 13:06 ` Raimon Grau
2016-03-10 21:53   ` Leo Famulari

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).