gnu: Add mbedtls, version 3.5.2.

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

Change-Id: I09c86ce04734bd5b44441d7749688a5c39389ece
This commit is contained in:
Hilton Chain 2023-05-27 19:33:20 +08:00
parent 2b296427d7
commit 06331aec11
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -1007,6 +1007,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.2")
(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
"1wsjrx98h74q0q4zqwsghiqvjz4aqgvigpxb9f8xjw0w4sfsclcm"))))))
(define-public mbedtls-apache
(deprecated-package "mbedtls-apache" mbedtls-lts))