guix_mirror_bot pushed a commit to branch master
in repository guix.

commit fc0692279f94b53a60a2eb2d7b15d67861edfc35
Author: Nguyễn Gia Phong <[email protected]>
AuthorDate: Fri Aug 28 16:09:07 2026 +0900

    gnu: Add mbedtls-3.
    
    * gnu/packages/tls.scm (mbedtls-3): New variable.
    * gnu/packages/emacs-xyz.scm (emacs-jabber)[inputs]:
      Replace mbedtls with mbedtsl-3.
    * gnu/packages/emulators.scm (eden): Likewise.
    * gnu/packages/scheme.scm (gauche): Likewise.
---
 gnu/packages/emacs-xyz.scm |  2 +-
 gnu/packages/emulators.scm |  2 +-
 gnu/packages/scheme.scm    |  2 +-
 gnu/packages/tls.scm       | 13 +++++++++++++
 4 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 48af0efc0d..c52784e58d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26429,7 +26429,7 @@ with Eglot.")
              (sha256
               (base32
                "0462mmqv6499lrp19sz5y7h1s5z0mflaphrdgndy6n0mhn03bcjm")))))
-    (inputs (list mbedtls))
+    (inputs (list mbedtls-3))
     (propagated-inputs (list emacs-fsm emacs-keymap-popup))
     (home-page "https://thanosapollo.org/projects/jabber/";)
     (synopsis "XMPP (Jabber) client for Emacs")
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 3e82bd92ec..88165da947 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -2056,7 +2056,7 @@ to avoid macro conflicts.")
       glslang
       libusb
       lz4
-      mbedtls
+      mbedtls-3
       mcl-cpp-for-eden
       nlohmann-json
       nx-tzdb
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 84b6f9aed0..5d37c4c17e 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -1122,7 +1122,7 @@ The core is 12 builtin special forms and 33 builtin 
functions.")
         (base32 "10zpbbikkcpdzk6c52wkckiyhn7nhnqjv2djdzyjr0n8qxxy4hrn"))))
     (build-system gnu-build-system)
     (inputs
-     (list libatomic-ops mbedtls slib zlib))
+     (list libatomic-ops mbedtls-3 slib zlib))
     (native-inputs
      (list texinfo openssl ; needed for tests
            pkg-config))    ; needed to find external libatomic-ops
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index d9f699b83e..7dcdb421d2 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1117,6 +1117,19 @@ coding footprint.")
     (home-page "https://www.trustedfirmware.org/projects/mbed-tls/";)
     (license (list license:asl2.0 license:gpl2+)))) ;dual licensed
 
+(define-public mbedtls-3
+  (package
+    (inherit mbedtls)
+    (version "3.6.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/Mbed-TLS/mbedtls/releases";
+                           "/download/mbedtls-" version
+                           "/mbedtls-" version ".tar.bz2"))
+       (sha256
+        (base32 "1xhi5lhn78vphv07kvwfyrigfdbbc9vmdwi4mys63xz6q2zbrs57"))))))
+
 ;;; TODO: No longer maintained, migrate dependents to current mbedtls.
 (define-public mbedtls-lts
   (package

Reply via email to