diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-05-21 19:22:27 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:47:05 +0300 |
commit | f5e299be4d85d718c2c44a73da1fc5a2536e49b6 (patch) | |
tree | 8bde6a72f4afa493402c5d52c79eb93d97f3a7ad /gnu/packages/crates-web.scm | |
parent | dd68c47acf2ee5067f6eb6b2377a324a66714b03 (diff) | |
download | guix-f5e299be4d85d718c2c44a73da1fc5a2536e49b6.tar.gz guix-f5e299be4d85d718c2c44a73da1fc5a2536e49b6.zip |
gnu: Add rust-h3-quinn-0.0.5.
* gnu/packages/crates-web.scm (rust-h3-quinn-0.0.5): New variable.
(rust-h3-quinn-0.0.4): Inherit from above.
Change-Id: I28be9194a656008208d0a6c4e2d610cecff332c5
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 8287dfe19b..52b5d1cef3 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2587,8 +2587,36 @@ transfer coding.") ("rust-tokio" ,rust-tokio-1) ("rust-tracing" ,rust-tracing-0.1)))))) +(define-public rust-h3-quinn-0.0.5 + (package + (name "rust-h3-quinn") + (version "0.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3-quinn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ii06bi5a19k4qfkppn5019nw8xca2wzfl66cax949jc1v66ny3k")))) + (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.4) + ("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))) + (define-public rust-h3-quinn-0.0.4 (package + (inherit rust-h3-quinn-0.0.5) (name "rust-h3-quinn") (version "0.0.4") (source @@ -2598,7 +2626,6 @@ transfer coding.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r0sm0j51crlfpy2j1wfhgpg2lrfq2xmf5qjd98ksg3h9l0pb5mc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) ("rust-futures" ,rust-futures-0.3) @@ -2606,12 +2633,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.3 (package |