[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/127: gnu: Add rust-http-1.
From: |
guix-commits |
Subject: |
18/127: gnu: Add rust-http-1. |
Date: |
Tue, 26 Dec 2023 06:42:30 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit f7187b5c02cee7a3867692a1d8e1855e49baa187
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 24 09:56:28 2023 +0200
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
---
gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++-------
1 file changed, 31 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9958a15903..5ddcdf43e6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36361,8 +36361,38 @@ and traversing, manipulating, and querying the
document tree.")
(description "Kuznyechik (GOST R 34.12-2015) block cipher")
(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
(package
+ (inherit rust-http-1)
(name "rust-http")
(version "0.2.9")
(source
@@ -36372,7 +36402,6 @@ and traversing, manipulating, and querying the document
tree.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "10j4jjpngaymxjvi92hllr2y6acr09pq61cvzxd44qzvkb4zyvmx"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bytes" ,rust-bytes-1)
@@ -36385,12 +36414,7 @@ and traversing, manipulating, and querying the
document tree.")
("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:asl2.0 license:expat))))
+ ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-http-0.1
(package
- 11/127: gnu: rust-configparser-3: Update to 3.0.3., (continued)
- 11/127: gnu: rust-configparser-3: Update to 3.0.3., guix-commits, 2023/12/26
- 09/127: gnu: Add rust-cargo-options-0.7., guix-commits, 2023/12/26
- 10/127: gnu: rust-cc-1: Update to 1.0.83., guix-commits, 2023/12/26
- 12/127: gnu: Add rust-cookie-store-0.20., guix-commits, 2023/12/26
- 14/127: gnu: Add rust-elain-0.3., guix-commits, 2023/12/26
- 17/127: gnu: rust-hashbrown-0.14: Update to 0.14.3., guix-commits, 2023/12/26
- 19/127: gnu: Add rust-idna-0.5., guix-commits, 2023/12/26
- 13/127: gnu: Add rust-dialoguer-0.11., guix-commits, 2023/12/26
- 23/127: gnu: Add rust-itertools-0.12., guix-commits, 2023/12/26
- 15/127: gnu: rust-form-urlencoded-1: Update to 1.2.1., guix-commits, 2023/12/26
- 18/127: gnu: Add rust-http-1.,
guix-commits <=
- 20/127: gnu: rust-indexmap-2: Update to 2.1.0., guix-commits, 2023/12/26
- 24/127: gnu: Add rust-minijinja-1., guix-commits, 2023/12/26
- 30/127: gnu: Add rust-rustls-pemfile-2., guix-commits, 2023/12/26
- 28/127: gnu: Add rust-ring-0.17., guix-commits, 2023/12/26
- 29/127: gnu: rust-rustls-0.21: Update to 0.21.10., guix-commits, 2023/12/26
- 31/127: gnu: Add rust-rustls-pki-types-1., guix-commits, 2023/12/26
- 32/127: gnu: rust-rustls-webpki-0.101: Update to 0.101.7., guix-commits, 2023/12/26
- 41/127: gnu: rust-ring-0.14: Build all the files from source., guix-commits, 2023/12/26
- 47/127: gnu: Add rust-clap-cargo-0.12., guix-commits, 2023/12/26
- 67/127: gnu: Add rust-gdk4-sys-0.7., guix-commits, 2023/12/26