gnu: Add nzbget.

* gnu/packages/networking.scm (nzbget): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Rutger Helling 2017-06-16 14:38:59 +02:00 committed by Ludovic Courtès
parent 7e9e1a36b0
commit b3623b6fe7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -15,6 +15,7 @@
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name> ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -66,6 +67,7 @@ (define-module (gnu packages networking)
#:use-module (gnu packages textutils) #:use-module (gnu packages textutils)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
#:use-module (gnu packages valgrind) #:use-module (gnu packages valgrind)
#:use-module (gnu packages xml)
#:use-module (ice-9 match)) #:use-module (ice-9 match))
(define-public macchanger (define-public macchanger
@ -1095,6 +1097,44 @@ (define-public nethogs
gone wild and are suddenly taking up your bandwidth.") gone wild and are suddenly taking up your bandwidth.")
(license license:gpl2+))) (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 (define-public openvswitch
(package (package
(name "openvswitch") (name "openvswitch")