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 <rai...@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 >