mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-rustls-ffi-0.14.
* gnu/packages/crates-tls.scm (rust-rustls-ffi-0.14): New variable. (rust-rustls-ffi-0.8): Inherit from rust-rustls-ffi-0.14. Change-Id: I7249cc67852b2ba159678d13a8d2215c8cf0247a
This commit is contained in:
parent
6595340031
commit
c6586985ba
1 changed files with 34 additions and 6 deletions
|
@ -1586,8 +1586,41 @@ grammars and BER/DER encodings, for example.")
|
||||||
("rust-untrusted" ,rust-untrusted-0.6)
|
("rust-untrusted" ,rust-untrusted-0.6)
|
||||||
("rust-webpki" ,rust-webpki-0.18))))))
|
("rust-webpki" ,rust-webpki-0.18))))))
|
||||||
|
|
||||||
|
(define-public rust-rustls-ffi-0.14
|
||||||
|
(package
|
||||||
|
(name "rust-rustls-ffi")
|
||||||
|
(version "0.14.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "rustls-ffi" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1cdpnx205m3bc7sn6gvaizlsb8ayipf1l061das37mf7n4sw157s"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-test-flags
|
||||||
|
'("--release" "--"
|
||||||
|
"--skip=acceptor::tests::test_acceptor_success")
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-log" ,rust-log-0.4)
|
||||||
|
("rust-rustls" ,rust-rustls-0.23)
|
||||||
|
("rust-rustls-pemfile" ,rust-rustls-pemfile-2)
|
||||||
|
("rust-rustls-pki-types" ,rust-rustls-pki-types-1)
|
||||||
|
("rust-rustls-platform-verifier" ,rust-rustls-platform-verifier-0.3)
|
||||||
|
("rust-rustls-webpki" ,rust-rustls-webpki-0.102))
|
||||||
|
#:cargo-development-inputs (("rust-regex" ,rust-regex-1)
|
||||||
|
("rust-toml" ,rust-toml-0.6))))
|
||||||
|
(home-page "https://github.com/rustls/rustls-ffi")
|
||||||
|
(synopsis "Rustls bindings for non-Rust languages")
|
||||||
|
(description
|
||||||
|
"This package provides Rustls bindings for non-Rust languages.")
|
||||||
|
(license (list license:asl2.0 license:isc license:expat))))
|
||||||
|
|
||||||
(define-public rust-rustls-ffi-0.8
|
(define-public rust-rustls-ffi-0.8
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-rustls-ffi-0.14)
|
||||||
(name "rust-rustls-ffi")
|
(name "rust-rustls-ffi")
|
||||||
(version "0.8.2")
|
(version "0.8.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
|
@ -1596,7 +1629,6 @@ grammars and BER/DER encodings, for example.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "06kqrvm1d5ps9pml26zdd2hm8hh20j6svwvqibpnx7m5rh3jg9cx"))))
|
(base32 "06kqrvm1d5ps9pml26zdd2hm8hh20j6svwvqibpnx7m5rh3jg9cx"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-libc" ,rust-libc-0.2)
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
|
@ -1615,11 +1647,7 @@ grammars and BER/DER encodings, for example.")
|
||||||
;; a version requirement for cbindgen.
|
;; a version requirement for cbindgen.
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Cargo.toml"
|
(substitute* "Cargo.toml"
|
||||||
(("0\\.19\\.0") "*")))))))
|
(("0\\.19\\.0") "*")))))))))
|
||||||
(home-page "https://github.com/rustls/rustls-ffi")
|
|
||||||
(synopsis "Rustls bindings for non-Rust languages")
|
|
||||||
(description "Rustls bindings for non-Rust languages")
|
|
||||||
(license (list license:asl2.0 license:isc license:expat))))
|
|
||||||
|
|
||||||
(define-public rust-rustls-native-certs-0.7
|
(define-public rust-rustls-native-certs-0.7
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue