summaryrefslogtreecommitdiff
path: root/gnu/packages/tls.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/tls.scm')
-rw-r--r--gnu/packages/tls.scm36
1 files changed, 20 insertions, 16 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 63beb09ef4..7eefc31928 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -324,19 +324,17 @@ required structures.")
;; This package supersedes the Guile bindings that came with GnuTLS until
;; version 3.7.8 included.
(name "guile-gnutls")
- (version "4.0.0")
- (home-page "https://gitlab.com/gnutls/guile/")
+ (version "5.0.1")
+ (home-page "https://codeberg.org/guile-gnutls/guile-gnutls")
(source (origin
;; url-fetch is used here to avoid a circular dependency with
;; git-download, see https://issues.guix.gnu.org/63331
(method url-fetch)
- (uri (string-append
- "https://gitlab.com/gnutls/guile/uploads/"
- "9060bc55069cedb40ab46cea49b439c0"
- "/guile-gnutls-" version ".tar.gz"))
+ (uri (string-append "mirror://gnu/gnutls/guile-gnutls-"
+ version ".tar.gz"))
(sha256
(base32
- "0fdjmy9vfjwk2v616nan1zz6iy9i086vrh5mdcsfqxi00ckbjk2v"))))
+ "0azgp79a4hgmbg2p2ghd1x2zav8894m9ch3i4hbvq8dlxvrnf06c"))))
(build-system gnu-build-system)
(outputs '("out" "debug"))
(arguments
@@ -350,11 +348,7 @@ required structures.")
(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"))
-
- ;; The 'gnutls' package currently lacks support for SRP, making this
- ;; test fail.
- #:make-flags #~'("XFAIL_TESTS=tests/srp-base64.scm")))
+ "$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/extensions"))))
(native-inputs
(list libtool
pkg-config
@@ -984,7 +978,8 @@ number generator")
(base32 "0ldqhvmj9wl0yp3hz675zbnq69lw533s0ahy9bbdxxnj5gjb86gw"))))
(build-system cmake-build-system)
(arguments
- (list #:configure-flags
+ (list #:parallel-tests? #f
+ #:configure-flags
#~(list "-DCMAKE_C_FLAGS=-Wno-error=calloc-transposed-args"
"-DUSE_SHARED_MBEDTLS_LIBRARY=ON"
"-DUSE_STATIC_MBEDTLS_LIBRARY=OFF")
@@ -1236,9 +1231,18 @@ ciphers such as ChaCha20, Curve25519, NTRU, and Blake2b.")
(build-system cmake-build-system)
(native-inputs (list perl))
(arguments
- '(#:test-target "run_minimal_tests"
- #:configure-flags
- '("-DBUILD_SHARED_LIBS=ON" "-DDISABLE_GO=ON")))
+ (list
+ #:configure-flags
+ #~(list "-DBUILD_SHARED_LIBS=ON" "-DDISABLE_GO=ON")
+ #:modules '((guix build cmake-build-system)
+ ((guix build gnu-build-system) #:prefix gnu:)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:rest args)
+ (apply (assoc-ref gnu:%standard-phases 'check)
+ #:test-target "run_minimal_tests" args))))))
(synopsis "General purpose cryptographic library")
(description "AWS libcrypto (aws-lc) contains portable C implementations
of algorithms needed for TLS and common applications, and includes optimized