diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-24 10:00:41 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:16:08 +0200 |
commit | cc1b3305fbc17b775662fa8e592a8e5153656ee2 (patch) | |
tree | ce6e3669fca3abeca6785c5ef21c273004824f05 /gnu/packages/crates-web.scm | |
parent | 96da8b980e4a19ba84822d0b318d9c0321fd81c4 (diff) |
gnu: Add rust-h3-0.0.6.
* gnu/packages/crates-web.scm (rust-h3-0.0.6): New variable.
(rust-h3-0.0.4): Inherit from rust-h3-0.0.6.
Change-Id: I66b01f3c8b47db1c94e32800be2c5e6045a87090
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index c8c09b8ab2..93fc8c9e24 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2793,8 +2793,48 @@ transfer coding.") ("rust-webpki" ,rust-webpki-0.21) ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) +(define-public rust-h3-0.0.6 + (package + (name "rust-h3") + (version "0.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ay6bfnj49wdyhvsqf78msdv3zxl32cjfk745z8scirvjsh7axjy")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f ; not all files included + #:cargo-inputs + (list rust-bytes-1 + rust-fastrand-2 + rust-futures-util-0.3 + rust-http-1 + rust-pin-project-lite-0.2 + rust-tokio-1 + rust-tracing-0.1) + #:cargo-development-inputs + (list rust-assert-matches-1 + rust-futures-0.3 + rust-futures-util-0.3 + rust-proptest-1 + rust-quinn-0.11 + rust-quinn-proto-0.11 + rust-rcgen-0.13 + rust-rustls-0.23 + rust-tokio-1 + rust-tokio-util-0.7 + rust-tracing-subscriber-0.3))) + (home-page "https://github.com/hyperium/h3") + (synopsis "Async HTTP/3 implementation") + (description "This package provides an async HTTP/3 implementation.") + (license license:expat))) + (define-public rust-h3-0.0.4 (package + (inherit rust-h3-0.0.6) (name "rust-h3") (version "0.0.4") (source @@ -2804,7 +2844,6 @@ transfer coding.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "04clhh6b5iqlgnbppikbz4zpxl78g4vkyhyrjgnyg4vfkrmqij5i")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ;not all files included #:cargo-inputs @@ -2826,11 +2865,7 @@ transfer coding.") ("rust-rustls" ,rust-rustls-0.21) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-util" ,rust-tokio-util-0.7) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/hyperium/h3") - (synopsis "Async HTTP/3 implementation") - (description "This package provides an async HTTP/3 implementation.") - (license license:expat))) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) (define-public rust-h3-0.0.3 (package |