diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-01-20 21:35:51 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-20 21:39:17 +0100 |
commit | 079f013be2a3601518a67d65f4e39f7fabddb053 (patch) | |
tree | 15eb5a9403f6dd8a945cd317077300ac54163812 | |
parent | be051880c435d19e7788d5df56c062f7797e0a49 (diff) | |
download | guix-079f013be2a3601518a67d65f4e39f7fabddb053.tar guix-079f013be2a3601518a67d65f4e39f7fabddb053.tar.gz |
gnu: gnutls: Add 'guile2.2-gnutls'.
Suggested by Chris Webber.
* gnu/packages/tls.scm (gnutls/guile-2.2): New variable.
-rw-r--r-- | gnu/packages/tls.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index b6a193de1b..1198eb7d0e 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -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") |