gnu: nzbget: Update to 19.1.

* gnu/packages/networking.scm (nzbget): Update to 19.1.
[source]: Fix building with gnutls in a snippet.
[arguments]: Fix indentation.
This commit is contained in:
Tobias Geerinckx-Rice 2017-07-16 08:49:23 +02:00
parent a2dd927091
commit 657f18158b
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99

View file

@ -1103,7 +1103,7 @@ (define-public nethogs
(define-public nzbget (define-public nzbget
(package (package
(name "nzbget") (name "nzbget")
(version "18.1") (version "19.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1112,14 +1112,22 @@ (define-public nzbget
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1a8wmbhc1si1n8axzrr8ysmrd3gr643lbh6pvzmr0hnd65fixmx5")))) "0y713g7gd4n5chbhr8lv7k50rxkmzysrg13sscxam3s386mmlb1r"))
(modules '((guix build utils)))
(snippet
;; Reported upstream as <https://github.com/nzbget/nzbget/pull/414>.
'(begin
(substitute* "daemon/connect/TlsSocket.cpp"
(("gnutls_certificate-verification_status_print")
"gnutls_certificate_verification_status_print"))
#t))))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (list
(string-append "--with-libcurses-includes=" (assoc-ref (string-append "--with-libcurses-includes="
%build-inputs "ncurses") "/include") (assoc-ref %build-inputs "ncurses") "/include")
(string-append "--with-libcurses-libraries=" (assoc-ref (string-append "--with-libcurses-libraries="
%build-inputs "ncurses") "/lib") (assoc-ref %build-inputs "ncurses") "/lib")
(string-append "--with-tlslib=GnuTLS")))) (string-append "--with-tlslib=GnuTLS"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("gnutls", gnutls) (inputs `(("gnutls", gnutls)