[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
184/330: gnu: Add rust-h2-0.4.
From: |
guix-commits |
Subject: |
184/330: gnu: Add rust-h2-0.4. |
Date: |
Mon, 18 Mar 2024 07:16:04 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 5adfc1c766c31586222371d03bcc8172ba1a3950
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:54 2024 +0100
gnu: Add rust-h2-0.4.
* gnu/packages/crates-web.scm (rust-h2-0.4): Add variable.
(rust-h2-0.3): Inherit rust-h2-0.4.
Change-Id: I929d97b3f4a0ac9b015c39e92993190c062a5192
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-web.scm | 77 ++++++++++++++++++++++++++++++++-------------
1 file changed, 56 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 468cb65b38..5f750c2231 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1883,48 +1883,83 @@ transfer coding.")
(description "This package provides a library to fetch gemini pages.")
(license license:expat)))
-(define-public rust-h2-0.3
+(define-public rust-h2-0.4
(package
(name "rust-h2")
- (version "0.3.21")
+ (version "0.4.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "h2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0cq8g5bgk3fihnqicy3g8gc3dpsalzqjg4bjyip9g4my26m27z4i"))))
+ (base32 "1m4rj76zl77jany6p10k4mm1cqwsrlc1dmgmxwp3jy7kwk92vvji"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Not all files included.
- #:cargo-inputs
- (("rust-bytes" ,rust-bytes-1)
- ("rust-fnv" ,rust-fnv-1)
- ("rust-futures-core" ,rust-futures-core-0.3)
- ("rust-futures-sink" ,rust-futures-sink-0.3)
- ("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-http" ,rust-http-0.2)
- ("rust-indexmap" ,rust-indexmap-1)
- ("rust-slab" ,rust-slab-0.4)
- ("rust-tokio" ,rust-tokio-1)
- ("rust-tokio-util" ,rust-tokio-util-0.7)
- ("rust-tracing" ,rust-tracing-0.1))
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-sink" ,rust-futures-sink-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-1)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-tracing" ,rust-tracing-0.1))
#:cargo-development-inputs
- (("rust-env-logger" ,rust-env-logger-0.9)
+ (("rust-env-logger" ,rust-env-logger-0.10)
("rust-hex" ,rust-hex-0.4)
("rust-quickcheck" ,rust-quickcheck-1)
("rust-rand" ,rust-rand-0.8)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-tokio" ,rust-tokio-1)
- ("rust-tokio-rustls" ,rust-tokio-rustls-0.23)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
("rust-walkdir" ,rust-walkdir-2)
- ("rust-webpki-roots" ,rust-webpki-roots-0.22))))
+ ("rust-webpki-roots" ,rust-webpki-roots-0.25))))
(home-page "https://github.com/hyperium/h2")
- (synopsis "HTTP/2.0 client and server")
- (description "This package provides an HTTP/2.0 client and server.")
+ (synopsis "HTTP/2 client and server")
+ (description "This package provides an HTTP/2 client and server.")
(license license:expat)))
+(define-public rust-h2-0.3
+ (package
+ (inherit rust-h2-0.4)
+ (name "rust-h2")
+ (version "0.3.21")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "h2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cq8g5bgk3fihnqicy3g8gc3dpsalzqjg4bjyip9g4my26m27z4i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Not all files included.
+ #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-sink" ,rust-futures-sink-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-tracing" ,rust-tracing-0.1))
+ #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-rustls"
,rust-tokio-rustls-0.23)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-webpki-roots"
,rust-webpki-roots-0.22))))))
+
(define-public rust-h2-0.2
(package
(inherit rust-h2-0.3)
- 158/330: gnu: Add rust-lz4-flex-0.9., (continued)
- 158/330: gnu: Add rust-lz4-flex-0.9., guix-commits, 2024/03/18
- 159/330: gnu: Add rust-json-deserializer-0.4., guix-commits, 2024/03/18
- 161/330: gnu: Add rust-halfbrown-0.2., guix-commits, 2024/03/18
- 163/330: gnu: Add rust-force-send-sync-1., guix-commits, 2024/03/18
- 166/330: gnu: Add rust-csv-async-1., guix-commits, 2024/03/18
- 167/330: gnu: Add rust-comfy-table-6., guix-commits, 2024/03/18
- 172/330: gnu: Add rust-avro-schema-0.3., guix-commits, 2024/03/18
- 169/330: gnu: Add rust-codspeed-criterion-compat-2., guix-commits, 2024/03/18
- 173/330: gnu: Add rust-atoi-simd-0.15., guix-commits, 2024/03/18
- 174/330: gnu: Add rust-arrow2-0.17., guix-commits, 2024/03/18
- 184/330: gnu: Add rust-h2-0.4.,
guix-commits <=
- 175/330: gnu: Add rust-arrow-schema-43., guix-commits, 2024/03/18
- 185/330: gnu: Add rust-hyper-1., guix-commits, 2024/03/18
- 179/330: gnu: Add rust-array-init-cursor-0.2., guix-commits, 2024/03/18
- 177/330: gnu: Add rust-arrow-buffer-43., guix-commits, 2024/03/18
- 180/330: gnu: Add rust-argminmax-0.6., guix-commits, 2024/03/18
- 176/330: gnu: Add rust-arrow-data-43., guix-commits, 2024/03/18
- 188/330: gnu: Add rust-gat-std-proc-0.1., guix-commits, 2024/03/18
- 189/330: gnu: Add rust-gat-std-0.1., guix-commits, 2024/03/18
- 183/330: gnu: Add rust-http-body-util-0.1., guix-commits, 2024/03/18
- 181/330: gnu: Add rust-pwd-1., guix-commits, 2024/03/18