unofficial mirror of guix-patches@gnu.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

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 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).