summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2026-08-28 16:09:07 +0900
committerNguyễn Gia Phong <cnx@loang.net>2026-08-28 16:09:07 +0900
commitfc0692279f94b53a60a2eb2d7b15d67861edfc35 (patch)
treee77b5b2708fddf9fc00bc12a2f493b9f94aa982a /gnu
parentc9f7ab4a55b562e68e131d1ae9c55d6e77916537 (diff)
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm2
-rw-r--r--gnu/packages/emulators.scm2
-rw-r--r--gnu/packages/scheme.scm2
-rw-r--r--gnu/packages/tls.scm13
4 files changed, 16 insertions, 3 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 48af0efc0d8..c52784e58dd 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26429,7 +26429,7 @@ with Eglot.")
26429 (sha256 26429 (sha256
26430 (base32 26430 (base32
26431 "0462mmqv6499lrp19sz5y7h1s5z0mflaphrdgndy6n0mhn03bcjm"))))) 26431 "0462mmqv6499lrp19sz5y7h1s5z0mflaphrdgndy6n0mhn03bcjm")))))
26432 (inputs (list mbedtls)) 26432 (inputs (list mbedtls-3))
26433 (propagated-inputs (list emacs-fsm emacs-keymap-popup)) 26433 (propagated-inputs (list emacs-fsm emacs-keymap-popup))
26434 (home-page "https://thanosapollo.org/projects/jabber/") 26434 (home-page "https://thanosapollo.org/projects/jabber/")
26435 (synopsis "XMPP (Jabber) client for Emacs") 26435 (synopsis "XMPP (Jabber) client for Emacs")
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 3e82bd92ec2..88165da9474 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -2056,7 +2056,7 @@ to avoid macro conflicts.")
2056 glslang 2056 glslang
2057 libusb 2057 libusb
2058 lz4 2058 lz4
2059 mbedtls 2059 mbedtls-3
2060 mcl-cpp-for-eden 2060 mcl-cpp-for-eden
2061 nlohmann-json 2061 nlohmann-json
2062 nx-tzdb 2062 nx-tzdb
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 84b6f9aed01..5d37c4c17e7 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.")
1122 (base32 "10zpbbikkcpdzk6c52wkckiyhn7nhnqjv2djdzyjr0n8qxxy4hrn")))) 1122 (base32 "10zpbbikkcpdzk6c52wkckiyhn7nhnqjv2djdzyjr0n8qxxy4hrn"))))
1123 (build-system gnu-build-system) 1123 (build-system gnu-build-system)
1124 (inputs 1124 (inputs
1125 (list libatomic-ops mbedtls slib zlib)) 1125 (list libatomic-ops mbedtls-3 slib zlib))
1126 (native-inputs 1126 (native-inputs
1127 (list texinfo openssl ; needed for tests 1127 (list texinfo openssl ; needed for tests
1128 pkg-config)) ; needed to find external libatomic-ops 1128 pkg-config)) ; needed to find external libatomic-ops
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index d9f699b83eb..7dcdb421d25 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1117,6 +1117,19 @@ coding footprint.")
1117 (home-page "https://www.trustedfirmware.org/projects/mbed-tls/") 1117 (home-page "https://www.trustedfirmware.org/projects/mbed-tls/")
1118 (license (list license:asl2.0 license:gpl2+)))) ;dual licensed 1118 (license (list license:asl2.0 license:gpl2+)))) ;dual licensed
1119 1119
1120(define-public mbedtls-3
1121 (package
1122 (inherit mbedtls)
1123 (version "3.6.7")
1124 (source
1125 (origin
1126 (method url-fetch)
1127 (uri (string-append "https://github.com/Mbed-TLS/mbedtls/releases"
1128 "/download/mbedtls-" version
1129 "/mbedtls-" version ".tar.bz2"))
1130 (sha256
1131 (base32 "1xhi5lhn78vphv07kvwfyrigfdbbc9vmdwi4mys63xz6q2zbrs57"))))))
1132
1120;;; TODO: No longer maintained, migrate dependents to current mbedtls. 1133;;; TODO: No longer maintained, migrate dependents to current mbedtls.
1121(define-public mbedtls-lts 1134(define-public mbedtls-lts
1122 (package 1135 (package