From b3623b6fe70c2bc448346ba25a266262c738d727 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Fri, 16 Jun 2017 14:38:59 +0200 Subject: gnu: Add nzbget. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/networking.scm (nzbget): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/networking.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index ed0420b422..06a2c8be6e 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Leo Famulari ;;; Copyright © 2017 Efraim Flashner +;;; Copyright © 2017 Rutger Helling ;;; ;;; This file is part of GNU Guix. ;;; @@ -66,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 @@ -1095,6 +1097,44 @@ 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 "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 (name "openvswitch") -- cgit v1.2.3