all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27396] [PATCH] gnu: networking: Add nzbget
@ 2017-06-16 12:46 Rutger Helling
  2017-06-20 21:35 ` bug#27396: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Rutger Helling @ 2017-06-16 12:46 UTC (permalink / raw)
  To: 27396


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

Hey Guix, 

this patch adds nzbget.

[-- Attachment #1.2: Type: text/html, Size: 245 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-networking-Add-nzbget.patch --]
[-- Type: text/x-diff; name=0001-gnu-networking-Add-nzbget.patch, Size: 2520 bytes --]

From 10b8ae648cb426c3da6a8f81128a15fef438dc89 Mon Sep 17 00:00:00 2001
From: Rutger Helling <rhelling@mykolab.com>
Date: Fri, 16 Jun 2017 14:38:59 +0200
Subject: [PATCH] gnu: networking: Add nzbget.

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

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 5d1c432da..e618112e2 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1070,6 +1071,42 @@ which PID is causing this.  This makes it easy to identify programs that have
 gone wild and are suddenly taking up your bandwidth.")
     (license license:gpl2+)))
 
+(define-public nzbget
+  (package
+    (name "nzbget")
+    (version "18.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/nzbget/nzbget/archive/v"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1a8wmbhc1si1n8axzrr8ysmrd3gr643lbh6pvzmr0hnd65fixmx5"))))
+    (arguments
+     `(#:configure-flags
+       (list
+        (string-append "--with-libcurses-includes=" (assoc-ref
+%build-inputs "ncurses") "/include")
+        (string-append "--with-libcurses-libraries=" (assoc-ref
+%build-inputs "ncurses") "/lib")
+        (string-append "--with-tlslib=GnuTLS"))))
+    (build-system gnu-build-system)
+    (inputs `(("gnutls", gnutls)
+              ("libxml2", libxml2)
+              ("ncurses", ncurses)
+              ("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)))
+
 (define-public openvswitch
   (package
     (name "openvswitch")
-- 
2.13.1


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

* bug#27396: [PATCH] gnu: networking: Add nzbget
  2017-06-16 12:46 [bug#27396] [PATCH] gnu: networking: Add nzbget Rutger Helling
@ 2017-06-20 21:35 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-06-20 21:35 UTC (permalink / raw)
  To: Rutger Helling; +Cc: 27396-done

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

Rutger Helling <rhelling@mykolab.com> skribis:

> Hey Guix, 
>
> this patch adds nzbget.
> From 10b8ae648cb426c3da6a8f81128a15fef438dc89 Mon Sep 17 00:00:00 2001
> From: Rutger Helling <rhelling@mykolab.com>
> 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’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1571 bytes --]

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

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

end of thread, other threads:[~2017-06-20 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-16 12:46 [bug#27396] [PATCH] gnu: networking: Add nzbget Rutger Helling
2017-06-20 21:35 ` bug#27396: " Ludovic Courtès

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.