[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
185/330: gnu: Add rust-hyper-1.
From: |
guix-commits |
Subject: |
185/330: gnu: Add rust-hyper-1. |
Date: |
Mon, 18 Mar 2024 07:16:04 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit a4c643ddad4d75252b33af0e453908793714ab63
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:55 2024 +0100
gnu: Add rust-hyper-1.
* gnu/packages/crates-web.scm (rust-hyper-1): Add variable.
(rust-hyper-0.14): Inherit rust-hyper-1.
Change-Id: I4a803247155cae29dab9e9d4bcf915196d8ee31f
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-web.scm | 53 ++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 48 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 5f750c2231..dbe5e7a8f2 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2896,8 +2896,55 @@ response bodies.")
"This crates parses and formats HTTP datetime strings.")
(license (list license:expat license:asl2.0))))
+(define-public rust-hyper-1
+ (package
+ (name "rust-hyper")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hyper" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fi6k7hz5fmdph0a5r8hw50d7h2n9zxkizmafcmb65f67bblhr8q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; unresolved imports `super::DecodedLength`,
`super::Sender`
+ #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-h2" ,rust-h2-0.4)
+ ("rust-http" ,rust-http-1)
+ ("rust-http-body" ,rust-http-body-1)
+ ("rust-http-body-util" ,rust-http-body-util-0.1)
+ ("rust-httparse" ,rust-httparse-1)
+ ("rust-httpdate" ,rust-httpdate-1)
+ ("rust-itoa" ,rust-itoa-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-want" ,rust-want-0.3))
+ #:cargo-development-inputs
+ (("rust-form-urlencoded" ,rust-form-urlencoded-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http-body-util" ,rust-http-body-util-0.1)
+ ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-spmc" ,rust-spmc-0.3)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-test" ,rust-tokio-test-0.4)
+ ("rust-tokio-util" ,rust-tokio-util-0.7))))
+ (home-page "https://hyper.rs")
+ (synopsis "Fast and correct HTTP library")
+ (description "This package provides a fast and correct HTTP library.")
+ (license license:expat)))
+
(define-public rust-hyper-0.14
(package
+ (inherit rust-hyper-1)
(name "rust-hyper")
(version "0.14.27")
(source
@@ -2940,11 +2987,7 @@ response bodies.")
("rust-tokio-test" ,rust-tokio-test-0.4)
("rust-tokio-util" ,rust-tokio-util-0.7)
("rust-tower" ,rust-tower-0.4)
- ("rust-url" ,rust-url-2))))
- (home-page "https://hyper.rs")
- (synopsis "Fast and correct HTTP library")
- (description "This package provides a fast and correct HTTP library.")
- (license license:expat)))
+ ("rust-url" ,rust-url-2))))))
(define-public rust-hyper-0.13
(package
- 161/330: gnu: Add rust-halfbrown-0.2., (continued)
- 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, 2024/03/18
- 175/330: gnu: Add rust-arrow-schema-43., guix-commits, 2024/03/18
- 185/330: gnu: Add rust-hyper-1.,
guix-commits <=
- 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
- 186/330: gnu: Add rust-hyper-util-0.1., guix-commits, 2024/03/18
- 187/330: gnu: Add rust-http-range-header-0.4., guix-commits, 2024/03/18