diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-24 10:00:11 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:16:08 +0200 |
commit | 96da8b980e4a19ba84822d0b318d9c0321fd81c4 (patch) | |
tree | 99c71b5761bb84f2203a78de4bb0c00052ca8b6d /gnu/packages/crates-web.scm | |
parent | 8346f2e6de552bb4031c6d0149e5940e91d88d5a (diff) |
gnu: Add rust-h3-quinn-0.0.7.
* gnu/packages/crates-web.scm (rust-h3-quinn-0.0.7): New variable.
(rust-h3-quinn-0.0.5): Inherit from rust-h3-quinn-0.0.7.
Change-Id: I478e71b8d592ef3b2bd617c72380d9e710361e7f
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index df7c191efe..c8c09b8ab2 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2888,8 +2888,35 @@ transfer coding.") ("rust-tokio" ,rust-tokio-1) ("rust-tracing" ,rust-tracing-0.1)))))) +(define-public rust-h3-quinn-0.0.7 + (package + (name "rust-h3-quinn") + (version "0.0.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3-quinn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mfq4kf97vir2kcqh8k5basz8kq85w9xii1na98fmvpw2gs9kiqp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-h3" ,rust-h3-0.0.6) + ("rust-quinn" ,rust-quinn-0.11) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/hyperium/h3") + (synopsis "QUIC transport implementation based on Quinn") + (description + "This package provides QUIC transport implementation based on Quinn.") + (license license:expat))) + (define-public rust-h3-quinn-0.0.5 (package + (inherit rust-h3-quinn-0.0.7) (name "rust-h3-quinn") (version "0.0.5") (source @@ -2899,7 +2926,6 @@ transfer coding.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ii06bi5a19k4qfkppn5019nw8xca2wzfl66cax949jc1v66ny3k")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) @@ -2908,12 +2934,7 @@ transfer coding.") ("rust-quinn" ,rust-quinn-0.10) ("rust-quinn-proto" ,rust-quinn-proto-0.10) ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-util" ,rust-tokio-util-0.7)))) - (home-page "https://github.com/hyperium/h3") - (synopsis "QUIC transport implementation based on Quinn") - (description - "This package provides QUIC transport implementation based on Quinn.") - (license license:expat))) + ("rust-tokio-util" ,rust-tokio-util-0.7)))))) (define-public rust-h3-quinn-0.0.4 (package |