Subject: Re: [bug#27396] [PATCH] gnu: networking: Add nzbget
From: [email-masked] (Ludovic Courtès)
To: Rutger Helling <[email-masked]>
Cc: [email-masked]
Date: Tue, 20 Jun 2017 23:35:51 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Rutger Helling <[email-masked]> skribis:

> Hey Guix, 
>
> this patch adds nzbget.
> From 10b8ae648cb426c3da6a8f81128a15fef438dc89 Mon Sep 17 00:00:00 2001
> From: Rutger Helling <[email-masked]>
> Date: Fri, 16 Jun 2017 14:38:59 +0200
> Subject: [PATCH] gnu: networking: Add nzbget.
>
> * gnu/packages/networking.scm (nzbget): New variable.

Nice.  Applied with the attached changes.  The description you proposed
had too many superlatives ;-) (see
<https://www.gnu.org/software/guix/manual/html_node/Synopses-and-Descriptions.html>)
so I wrote something based on their ‘README’  file.  Note the “+” in the
license, meaning “version 2 or any later version at the user’s option”
as specified in source file headers.

Thanks,
Ludo’.

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 77f0e9b32..06a2c8be6 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -67,6 +67,7 @@
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages valgrind)
+  #:use-module (gnu packages xml)
   #:use-module (ice-9 match))
 
 (define-public macchanger
@@ -1124,13 +1125,15 @@ gone wild and are suddenly taking up your bandwidth.")
               ("zlib", zlib)))
     (native-inputs `(("pkg-config", pkg-config)))
     (home-page "https://github.com/nzbget/nzbget")
-    (synopsis "C++ Usenet downloader")
-    (description "NZBGet is a binary downloader, which downloads files from
-Usenet based on information given in nzb-files.  NZBGet is written in C++ and is
-known for its extraordinary performance and efficiency.  NZBGet can be run at
-almost every platform - classic PCs,NAS, media players,
-SAT-receivers,WLAN-routers, etc.")
-    (license license:gpl2)))
+    (synopsis "Usenet binary file downloader")
+    (description
+     "NZBGet is a binary newsgrabber, which downloads files from Usenet based
+on information given in @code{nzb} files.  NZBGet can be used in standalone
+and in server/client modes.  In standalone mode, you pass NZBGet @command{nzb}
+files as command-line parameters and it downloads them and exits.  NZBGet also
+contains a Web interface.  Its server can be controlled through remote
+procedure calls (RPCs).")
+    (license license:gpl2+)))
 
 (define-public openvswitch
   (package