mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
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:
parent
be051880c4
commit
079f013be2
1 changed files with 15 additions and 1 deletions
|
@ -46,7 +46,8 @@ (define-module (gnu packages tls)
|
|||
#: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 @@ (define gnutls-3.5.8 ;fixes GNUTLS-SA-2017-{1,2}
|
|||
"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")
|
||||
|
|
Loading…
Reference in a new issue