aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-04-20 21:46:33 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-05-05 13:20:23 +0200
commitdf3954b2114e065155218d5c78006bad41ec9455 (patch)
tree7ca925891ad28192142e9eab448e6974bdf44aec
parent5ac71eda18b9e80e1acbb9e102c3a4bb95c5ad03 (diff)
downloadpatches-df3954b2114e065155218d5c78006bad41ec9455.tar
patches-df3954b2114e065155218d5c78006bad41ec9455.tar.gz
gnu: Add rust-http-body-0.1.
* gnu/packages/crates-io.scm (rust-http-body-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fdedaf28c8..d07b2737df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9849,6 +9849,25 @@ requests and responses.")
or response body.")
(license license:expat)))
+(define-public rust-http-body-0.1
+ (package/inherit rust-http-body-0.3
+ (name "rust-http-body")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "http-body" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b99404k4mw6a92hvyr0qwzkqv4f866ykg0x7913limjq5cwhhb7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-http" ,rust-http-0.1)
+ ("rust-tokio-buf" ,rust-tokio-buf-0.1))))))
+
(define-public rust-http-req-0.5
(package
(name "rust-http-req")