mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: Add s2n.
* gnu/packages/tls.scm (s2n): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
748e2ec07a
commit
1b51888863
1 changed files with 27 additions and 0 deletions
|
@ -1135,3 +1135,30 @@ (define-public go-github-com-certifi-gocertifi
|
|||
derived from Mozilla's collection.")
|
||||
(home-page "https://certifi.io")
|
||||
(license license:mpl2.0))))
|
||||
|
||||
(define-public s2n
|
||||
(package
|
||||
(name "s2n")
|
||||
(version "1.0.0")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url (string-append "https://github.com/awslabs/" name))
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1q6kmgwb8jxmc4ijzk9pkqzz8lsbfsv9hyzqvy944w7306zx1r5h"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; tests fail to build for static library
|
||||
#:configure-flags
|
||||
'("-DBUILD_TESTING=OFF"
|
||||
"-DBUILD_SHARED_LIBS=ON")))
|
||||
(propagated-inputs
|
||||
`(("openssl" ,openssl)
|
||||
("openssl:static" ,openssl "static")))
|
||||
(synopsis "SSL/TLS implementation")
|
||||
(description "This library provides a C99 implementation of SSL/TLS.")
|
||||
(home-page "https://github.com/awslabs/s2n")
|
||||
(license license:asl2.0)))
|
||||
|
|
Loading…
Reference in a new issue