gnu: gnutls: Add 'guile2.2-gnutls'.

Suggested by Chris Webber.

* gnu/packages/tls.scm (gnutls/guile-2.2): New variable.
This commit is contained in:
Ludovic Courtès 2017-01-20 21:35:51 +01:00
parent be051880c4
commit 079f013be2
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 15 additions and 1 deletions

View File

@ -46,7 +46,8 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages base))
#:use-module (gnu packages base)
#:use-module (srfi srfi-1))
(define-public libtasn1
(package
@ -227,6 +228,19 @@ required structures.")
"1zyl2z63s68hx1dpxqx0lykmlf3rwrzlrf44sq3h7dvjmr1z55qf"))))
(replacement #f)))
(define-public gnutls/guile-2.2
;; GnuTLS for Guile 2.2. This is supported by GnuTLS >= 3.5.5.
(package
(inherit gnutls-3.5.8)
(name "guile2.2-gnutls")
(arguments
;; Remove '--with-guile-site-dir=…/2.0'.
(substitute-keyword-arguments (package-arguments gnutls-3.5.8)
((#:configure-flags flags)
`(cdr ,flags))))
(inputs `(("guile" ,guile-next)
,@(alist-delete "guile" (package-inputs gnutls-3.5.8))))))
(define-public openssl
(package
(name "openssl")