gnu: gnutls-latest: Remove dependency on Guile.

* gnu/packages/tls.scm (gnutls-latest)[inputs]: Remove 'guile' and add
'libunistring'.
[native-inputs]: Remove 'guile'.
This commit is contained in:
Ludovic Courtès 2022-10-18 10:45:41 +02:00
parent d5f07aa832
commit 69ed946bbc
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -66,6 +66,7 @@ (define-module (gnu packages tls)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libidn)
#:use-module (gnu packages libunistring)
#:use-module (gnu packages linux)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages nettle)
@ -330,8 +331,6 @@ (define-public gnutls
(ftp-directory . "/gcrypt/gnutls")))))
(define-public gnutls-latest
;; Version 3.7.7 introduces 'set-session-record-port-close!', which allows
;; us to get rid of the wrapper port in 'tls-wrap'.
(package
(inherit gnutls)
(version "3.7.7")
@ -344,7 +343,14 @@ (define-public gnutls-latest
"gnutls-cross.patch"))
(sha256
(base32
"01i1gl15k6qwvxmxx0by1mn9nlmcmym18wdpm7dn9awfsp8474dy"))))))
"01i1gl15k6qwvxmxx0by1mn9nlmcmym18wdpm7dn9awfsp8474dy"))))
;; Disable Guile bindings: they are now provided by Guile-GnuTLS.
(inputs (modify-inputs (package-inputs gnutls)
(delete "guile")
(append libunistring))) ;GnuTLS depends on it
(native-inputs (modify-inputs (package-native-inputs gnutls)
(delete "guile")))))
(define-public gnutls/guile-2.0
;; GnuTLS for Guile 2.0.