gnu: aws-lc: Update to 1.34.2.

* gnu/packages/tls.scm (aws-lc): Update to 1.34.2.
[native-inputs]: Remove libfaketime.
[arguments]<#:configure-flags>: Disable Go.
<#:phases>: Remove overwritten 'check phase.

Change-Id: Ib15fc22d0660ad805395acbec6fc45a63079b6f4
This commit is contained in:
Greg Hogan 2024-09-17 20:16:49 +00:00 committed by Ludovic Courtès
parent 9b7a4f3511
commit eb4b4f3e32
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1216,7 +1216,7 @@ (define-public aws-lc
(package (package
(name "aws-lc") (name "aws-lc")
;; Update only when updating aws-crt-cpp. ;; Update only when updating aws-crt-cpp.
(version "1.0.2") (version "1.34.2")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -1225,25 +1225,12 @@ (define-public aws-lc
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"16y4iy2rqrmb7b1c394wyq7a5vbjb41599524my6b6q1vk1pi307")))) "075a5z3qck0wqb7k2im8k7vj7rqn7r7v1j0i18l6k2n5pi52wypa"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:test-target "run_minimal_tests" '(#:test-target "run_minimal_tests"
#:configure-flags #:configure-flags
'("-DBUILD_SHARED_LIBS=ON") '("-DBUILD_SHARED_LIBS=ON" "-DDISABLE_GO=ON")))
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? test-target parallel-tests? #:allow-other-keys)
(when tests?
;; SSLTest.HostMatching fails due to an expired certificate.
;; Fake the time to be that of the release.
(invoke "faketime" "2022-05-23"
"make" test-target
"-j" (if parallel-tests?
(number->string (parallel-job-count))
"1"))))))))
(native-inputs (list libfaketime))
(synopsis "General purpose cryptographic library") (synopsis "General purpose cryptographic library")
(description "AWS libcrypto (aws-lc) contains portable C implementations (description "AWS libcrypto (aws-lc) contains portable C implementations
of algorithms needed for TLS and common applications, and includes optimized of algorithms needed for TLS and common applications, and includes optimized