gnu: Add aws-lc.

* gnu/packages/tls.scm (aws-lc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Greg Hogan 2021-07-01 14:37:50 +00:00 committed by Ludovic Courtès
parent 02f849ad7a
commit da9272fa00
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1205,3 +1205,30 @@ (define-public wolfssl
ciphers such as ChaCha20, Curve25519, NTRU, and Blake2b.")
(home-page "https://www.wolfssl.com/")
(license license:gpl2+))) ; Audit
(define-public aws-lc
(let ((commit "d0a5455417d80e68581e197d95720c3fb25e3926")
(revision "0"))
(package
(name "aws-lc")
(version (git-version "0.0.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url (string-append "https://github.com/awslabs/" name))
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1ysj3x1f2lcdvwzyb9x3waykz1j7r21viv5z5vgc0ja9xv7znm9g"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f ; re-enable but with go and perl dependencies
#:configure-flags
'("-DBUILD_SHARED_LIBS=ON")))
(synopsis "General purpose cryptographic library")
(description "AWS libcrypto (aws-lc) contains portable C implementations
of algorithms needed for TLS and common applications, and includes optimized
assembly versions for x86 and ARM.")
(home-page "https://github.com/awslabs/aws-lc")
(license license:asl2.0))))