aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-02-18 22:02:52 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:42:21 +0300
commitab1102727f9d0c9a87a739097f86acb58364d9b3 (patch)
tree945fc3d5ef46f44815a7741c16e6b2c473af3e20 /gnu/packages
parent062c7d473a5152910ba32c2155569218cbaa11a9 (diff)
downloadguix-ab1102727f9d0c9a87a739097f86acb58364d9b3.tar
guix-ab1102727f9d0c9a87a739097f86acb58364d9b3.tar.gz
gnu: Add rust-http-body-1.
* gnu/packages/crates-web.scm (rust-http-body-1): Add variable. (rust-http-body-0.4): Inherit rust-http-body-1. Change-Id: I9616eb39dd18c5a9d9b366a4942614558dca61cc Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-web.scm32
1 files changed, 24 insertions, 8 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index ac0ab06afc..f594d373dc 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2617,30 +2617,46 @@ challenge lists, respond to Basic and Digest challenges. It is likely to be
extended with server support and additional auth schemes.")
(license (list license:expat license:asl2.0))))
-(define-public rust-http-body-0.4
+(define-public rust-http-body-1
(package
(name "rust-http-body")
- (version "0.4.6")
+ (version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "http-body" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1lmyjfk6bqk6k9gkn1dxq770sb78pqbqshga241hr5p995bb5skw"))))
+ (base32 "0hyn8n3iadrbwq8y0p1rl1275s4nm49bllw5wji29g4aa3dqbb0w"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-bytes" ,rust-bytes-1)
- ("rust-http" ,rust-http-0.2))))
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-http" ,rust-http-1))))
(home-page "https://github.com/hyperium/http-body")
(synopsis "Asynchronous, streaming, HTTP request or response body")
(description
- "This crate provides a trait representing an asynchronous, streaming,
+ "This package provides a trait representing an asynchronous, streaming,
HTTP request or response body.")
(license license:expat)))
+(define-public rust-http-body-0.4
+ (package
+ (inherit rust-http-body-1)
+ (name "rust-http-body")
+ (version "0.4.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "http-body" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lmyjfk6bqk6k9gkn1dxq770sb78pqbqshga241hr5p995bb5skw"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-1)
+ ("rust-http" ,rust-http-0.2))))))
+
(define-public rust-http-body-0.3
(package
(inherit rust-http-body-0.4)