summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-10 22:57:22 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-10 23:49:56 +0100
commitb31d9a2fe644c974adb610b1b98307adb1aabfd7 (patch)
treec652f3bdf12100f386c073b83b70914f93958887 /gnu/packages
parent0846ddb129f50fa20587dcd0896262b2a8703fac (diff)
gnu: Add rust-http-body-0.4.
* gnu/packages/crates-io.scm (rust-http-body-0.4): New variable. (rust-http-body-0.3): Inherit from above.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6bbff19546..815f5f2733 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17999,28 +17999,47 @@ requests and responses.")
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))))))
-(define-public rust-http-body-0.3
+(define-public rust-http-body-0.4
(package
(name "rust-http-body")
- (version "0.3.1")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "http-body" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "06qi0ni45lb92w3ml260c0bxbq5zd4snjmz0a9k69xq6021zzm8k"))))
+ (base32 "150rkibhyrcmsyi0qzwx4hp02c4lga1kkdg8j7l5wkh7xqkvsq98"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-bytes" ,rust-bytes-0.5)
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-1)
("rust-http" ,rust-http-0.2))))
(home-page "https://github.com/hyperium/http-body")
(synopsis "Asynchronous, streaming, HTTP request or response body")
- (description "Trait representing an asynchronous, streaming, HTTP request
-or response body.")
+ (description
+ "This crate provides a trait representing an asynchronous, streaming,
+HTTP request or response body.")
(license license:expat)))
+(define-public rust-http-body-0.3
+ (package
+ (inherit rust-http-body-0.4)
+ (name "rust-http-body")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "http-body" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06qi0ni45lb92w3ml260c0bxbq5zd4snjmz0a9k69xq6021zzm8k"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.5)
+ ("rust-http" ,rust-http-0.2))))))
+
(define-public rust-http-body-0.1
(package/inherit rust-http-body-0.3
(name "rust-http-body")