Subject: [PATCH v2 6/6] gnu: Add mbedtls, version 3.5.1.

From: Hilton Chain <[email-masked]>
Date: Sat, 18 Nov 2023 14:49:18 +0800

* gnu/packages/tls.scm (mbedtls): New variable.

Change-Id: I09c86ce04734bd5b44441d7749688a5c39389ece
---
 gnu/packages/tls.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index d53893ec5a..5d1468df58 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1018,6 +1018,21 @@ (define-public mbedtls-lts
     (home-page "https://www.trustedfirmware.org/projects/mbed-tls/")
     (license (list license:asl2.0 license:gpl2+)))) ;dual licensed
 
+(define-public mbedtls
+  (package
+    (inherit mbedtls-lts)
+    (name "mbedtls")
+    (version "3.5.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ARMmbed/mbedtls")
+                    (commit (string-append "mbedtls-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1b1xq1fpsw1ywl6xm6577biwnhyyr4gk2wkfd1sil4yjcrq0f6qz"))))))
+
 (define-public mbedtls-apache
   (deprecated-package "mbedtls-apache" mbedtls-lts))
 
-- 
2.41.0