gnu: Add rust-http-1.
* gnu/packages/crates-io.scm (rust-http-1): New variable. (rust-http-0.2): Inherit from rust-http-1. Change-Id: I555477a03d7bf15c18deb03e513c4717db53a094
This commit is contained in:
		
							parent
							
								
									68c17ae379
								
							
						
					
					
						commit
						a2b0f0ff7a
					
				
					 1 changed files with 31 additions and 7 deletions
				
			
		|  | @ -36419,8 +36419,38 @@ and traversing, manipulating, and querying the document tree.") | ||||||
|     (description "Kuznyechik (GOST R 34.12-2015) block cipher") |     (description "Kuznyechik (GOST R 34.12-2015) block cipher") | ||||||
|     (license (list license:expat license:asl2.0)))) |     (license (list license:expat license:asl2.0)))) | ||||||
| 
 | 
 | ||||||
|  | (define-public rust-http-1 | ||||||
|  |   (package | ||||||
|  |     (name "rust-http") | ||||||
|  |     (version "1.0.0") | ||||||
|  |     (source | ||||||
|  |      (origin | ||||||
|  |        (method url-fetch) | ||||||
|  |        (uri (crate-uri "http" version)) | ||||||
|  |        (file-name (string-append name "-" version ".tar.gz")) | ||||||
|  |        (sha256 | ||||||
|  |         (base32 "1sllw565jn8r5w7h928nsfqq33x586pyasdfr7vid01scwwgsamk")))) | ||||||
|  |     (build-system cargo-build-system) | ||||||
|  |     (arguments | ||||||
|  |      `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) | ||||||
|  |                        ("rust-fnv" ,rust-fnv-1) | ||||||
|  |                        ("rust-itoa" ,rust-itoa-1)) | ||||||
|  |        #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) | ||||||
|  |                                    ("rust-indexmap" ,rust-indexmap-1.8) | ||||||
|  |                                    ("rust-quickcheck" ,rust-quickcheck-0.9) | ||||||
|  |                                    ("rust-rand" ,rust-rand-0.7) | ||||||
|  |                                    ("rust-seahash" ,rust-seahash-3) | ||||||
|  |                                    ("rust-serde" ,rust-serde-1) | ||||||
|  |                                    ("rust-serde-json" ,rust-serde-json-1)))) | ||||||
|  |     (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:expat license:asl2.0)))) | ||||||
|  | 
 | ||||||
| (define-public rust-http-0.2 | (define-public rust-http-0.2 | ||||||
|   (package |   (package | ||||||
|  |     (inherit rust-http-1) | ||||||
|     (name "rust-http") |     (name "rust-http") | ||||||
|     (version "0.2.9") |     (version "0.2.9") | ||||||
|     (source |     (source | ||||||
|  | @ -36430,7 +36460,6 @@ and traversing, manipulating, and querying the document tree.") | ||||||
|        (file-name (string-append name "-" version ".tar.gz")) |        (file-name (string-append name "-" version ".tar.gz")) | ||||||
|        (sha256 |        (sha256 | ||||||
|         (base32 "10j4jjpngaymxjvi92hllr2y6acr09pq61cvzxd44qzvkb4zyvmx")))) |         (base32 "10j4jjpngaymxjvi92hllr2y6acr09pq61cvzxd44qzvkb4zyvmx")))) | ||||||
|     (build-system cargo-build-system) |  | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:cargo-inputs |      `(#:cargo-inputs | ||||||
|        (("rust-bytes" ,rust-bytes-1) |        (("rust-bytes" ,rust-bytes-1) | ||||||
|  | @ -36443,12 +36472,7 @@ and traversing, manipulating, and querying the document tree.") | ||||||
|         ("rust-rand" ,rust-rand-0.7) |         ("rust-rand" ,rust-rand-0.7) | ||||||
|         ("rust-seahash" ,rust-seahash-3) |         ("rust-seahash" ,rust-seahash-3) | ||||||
|         ("rust-serde" ,rust-serde-1) |         ("rust-serde" ,rust-serde-1) | ||||||
|         ("rust-serde-json" ,rust-serde-json-1)))) |         ("rust-serde-json" ,rust-serde-json-1)))))) | ||||||
|     (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 | (define-public rust-http-0.1 | ||||||
|   (package |   (package | ||||||
|  |  | ||||||
		Reference in a new issue