diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-10-17 21:50:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-17 23:15:07 +0200 |
commit | a1cd93083bbf7b8af2bc463d7a9b4352aebe6eb6 (patch) | |
tree | 0da101bf91a203c62d2de2bb226b7688663de567 /gnu/packages | |
parent | 30ac571eac98b491b84a17a38c2401eea98d834e (diff) | |
download | guix-a1cd93083bbf7b8af2bc463d7a9b4352aebe6eb6.tar.gz guix-a1cd93083bbf7b8af2bc463d7a9b4352aebe6eb6.zip |
gnu: Add Guile-GnuTLS.
* gnu/packages/tls.scm (guile-gnutls): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/tls.scm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index e488b572a3..4d1dc77d7f 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -370,6 +370,50 @@ required structures.") ,@(alist-delete "guile" (package-inputs gnutls)))))) +(define-public guile-gnutls + (package + ;; This package supersedes the Guile bindings that came with GnuTLS until + ;; version 3.7.8 included. + (name "guile-gnutls") + (version "3.7.9") + (home-page "https://gitlab.com/gnutls/guile/") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 + "00sfpqjmd263ka51fq4xf7nvaaxyfqsr3r8fj94jgx45q6q6n6wq")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags + ;; Tell the build system that we want Guile bindings installed to + ;; the output instead of Guiles own module directory. + (list "--disable-static" + (string-append "--with-guile-site-dir=" + "$(datarootdir)/guile/site/$(GUILE_EFFECTIVE_VERSION)") + (string-append "--with-guile-site-ccache-dir=" + "$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache") + (string-append "--with-guile-extension-dir=" + "$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/extensions")))) + (native-inputs + (list autoconf + automake + libtool + pkg-config + texinfo + guile-3.0)) + (inputs + (list gnutls-latest)) + (synopsis "Guile bindings to GnuTLS") + (description + "This package provides Guile bindings to GnuTLS, a library implementation +the @acronym{TLS, Transport-Layer Security} protocol. It supersedes the Guile +bindings that were formerly provided as part of GnuTLS.") + (license license:lgpl2.1+))) + (define (target->openssl-target target) "Return the value to set CONFIGURE_TARGET_ARCH to when cross-compiling OpenSSL for TARGET." |