[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40874] [PATCH 39/94] gnu: Add rust-http-0.2.
From: |
Hartmut Goebel |
Subject: |
[bug#40874] [PATCH 39/94] gnu: Add rust-http-0.2. |
Date: |
Sun, 26 Apr 2020 18:45:18 +0200 |
* gnu/packages/crates-io.scm (rust-http-0.2): New variable.
(rust-http-0.1): Inherit from it.
---
gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++--------
1 file changed, 34 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa0b3ea11c..ea70bc9f85 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8779,8 +8779,40 @@ compile time.")
"High-performance browser-grade HTML5 parser.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-http-0.1
+(define-public rust-http-0.2
(package
+ (name "rust-http")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "http" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1y827q7j0gvs8z2x12biaik9db6nb902lpqv889cbcj84sbnkm98"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;; FIXME requires Rust >= 1.39 for building
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.5)
+ ("rust-fnv" ,rust-fnv-1.0)
+ ("rust-itoa" ,rust-itoa-0.4))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-indexmap" ,rust-indexmap-1.0)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-seahash" ,rust-seahash-3.0)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0))))
+ (home-page "https://github.com/hyperium/http")
+ (synopsis "Set of types for representing HTTP requests and responses")
+ (description "This package provides a set of types for representing HTTP
+requests and responses.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-http-0.1
+ (package/inherit rust-http-0.2
(name "rust-http")
(version "0.1.17")
(source
@@ -8792,7 +8824,6 @@ compile time.")
(sha256
(base32
"06icxvrd26r6s7dzjavja7r47hgjb9851wblqh8frxnsy3q29lzf"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -8805,13 +8836,7 @@ compile time.")
("rust-rand" ,rust-rand-0.4)
("rust-seahash" ,rust-seahash-3.0)
("rust-serde" ,rust-serde-1.0)
- ("rust-serde-json" ,rust-serde-json-1.0))))
- (home-page "https://github.com/hyperium/http")
- (synopsis "Set of types for representing HTTP requests and responses")
- (description
- "This package provides a set of types for representing HTTP
-requests and responses.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-serde-json" ,rust-serde-json-1.0))))))
(define-public rust-http-req-0.5
(package
--
2.21.3
- [bug#40874] [PATCH 33/94] gnu: Add rust-expectest-0.9., (continued)
- [bug#40874] [PATCH 33/94] gnu: Add rust-expectest-0.9., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 36/94] gnu: Add rust-fs2-0.4., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 29/94] gnu: Add rust-dogged-0.2., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 32/94] gnu: Add rust-environment-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 34/94] gnu: Add rust-fallible-streaming-iterator-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 30/94] gnu: Add rust-docopt-0.8., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 31/94] gnu. Add rust-ena-0.13., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 38/94] gnu: Add rust-hex-0.2., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 37/94] gnu: Add rust-h2-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 35/94] gnu: Add rust-futures-timer-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 39/94] gnu: Add rust-http-0.2.,
Hartmut Goebel <=
- [bug#40874] [PATCH 40/94] gnu: Add rust-http-body-0.3., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 41/94] gnu: Add rust-http-body-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 42/94] gnu: Add rust-hyper-0.12., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 44/94] gnu: Add rust-lalrpop-util-0.17., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 43/94] gnu: Add rust-hyper-tls-0.3., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 46/94] gnu: Add rust-libc-print-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 48/94] gnu: Add rust-loom-0.2., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 51/94] gnu: Add rust-mach-o-sys-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 49/94] gnu: Add rust-loom-0.3., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 45/94] gnu: Add rust-lalrpop-0.17., Hartmut Goebel, 2020/04/26