[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
182/330: gnu: Add rust-http-body-1.
From: |
guix-commits |
Subject: |
182/330: gnu: Add rust-http-body-1. |
Date: |
Mon, 18 Mar 2024 07:16:04 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 669a226fd29d732d5e9347b154f88c706fa1edf2
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:52 2024 +0100
gnu: Add rust-http-body-1.
* gnu/packages/crates-web.scm (rust-http-body-1): Add variable.
(rust-http-body-0.4): Inherit rust-http-body-1.
Change-Id: I9616eb39dd18c5a9d9b366a4942614558dca61cc
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-web.scm | 32 ++++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index ac0ab06afc..f594d373dc 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2617,30 +2617,46 @@ challenge lists, respond to Basic and Digest
challenges. It is likely to be
extended with server support and additional auth schemes.")
(license (list license:expat license:asl2.0))))
-(define-public rust-http-body-0.4
+(define-public rust-http-body-1
(package
(name "rust-http-body")
- (version "0.4.6")
+ (version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "http-body" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1lmyjfk6bqk6k9gkn1dxq770sb78pqbqshga241hr5p995bb5skw"))))
+ (base32 "0hyn8n3iadrbwq8y0p1rl1275s4nm49bllw5wji29g4aa3dqbb0w"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-bytes" ,rust-bytes-1)
- ("rust-http" ,rust-http-0.2))))
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-http" ,rust-http-1))))
(home-page "https://github.com/hyperium/http-body")
(synopsis "Asynchronous, streaming, HTTP request or response body")
(description
- "This crate provides a trait representing an asynchronous, streaming,
+ "This package provides a trait representing an asynchronous, streaming,
HTTP request or response body.")
(license license:expat)))
+(define-public rust-http-body-0.4
+ (package
+ (inherit rust-http-body-1)
+ (name "rust-http-body")
+ (version "0.4.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "http-body" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lmyjfk6bqk6k9gkn1dxq770sb78pqbqshga241hr5p995bb5skw"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-1)
+ ("rust-http" ,rust-http-0.2))))))
+
(define-public rust-http-body-0.3
(package
(inherit rust-http-body-0.4)
- 240/330: gnu: Add rust-inferno-0.11., (continued)
- 240/330: gnu: Add rust-inferno-0.11., guix-commits, 2024/03/18
- 242/330: gnu: Place rust-prost-build-0.12 in alphabetical order., guix-commits, 2024/03/18
- 245/330: gnu: Add rust-msvc-demangler-0.9., guix-commits, 2024/03/18
- 60/330: gnu: Add rust-wl-clipboard-rs-0.8., guix-commits, 2024/03/18
- 62/330: gnu: Add rust-windows-win-3., guix-commits, 2024/03/18
- 72/330: gnu: Add rust-windows-core-0.52., guix-commits, 2024/03/18
- 162/330: gnu: Add rust-foreign-vec-0.1., guix-commits, 2024/03/18
- 164/330: gnu: Add rust-fast-float-0.2., guix-commits, 2024/03/18
- 165/330: gnu: Add rust-ethnum-1., guix-commits, 2024/03/18
- 170/330: gnu: Add rust-casey-0.4., guix-commits, 2024/03/18
- 182/330: gnu: Add rust-http-body-1.,
guix-commits <=
- 178/330: gnu: Add rust-arrow-array-43., guix-commits, 2024/03/18
- 190/330: gnu: Add rust-etherparse-0.9., guix-commits, 2024/03/18
- 200/330: gnu: Add rust-castaway-0.1., guix-commits, 2024/03/18
- 214/330: gnu: Add rust-anstyle-lossy-1., guix-commits, 2024/03/18
- 208/330: gnu: rust-mockall-0.11: Update to 0.11.4., guix-commits, 2024/03/18
- 220/330: gnu: rust-serde-spanned: Update to 0.6.5., guix-commits, 2024/03/18
- 221/330: gnu: rust-palette-0.7: Update to 0.7.5., guix-commits, 2024/03/18
- 227/330: gnu: Add rust-uutils-term-grid-0.6., guix-commits, 2024/03/18
- 234/330: gnu: rust-include-flate-0.1: Update to 0.1.4., guix-commits, 2024/03/18
- 235/330: gnu: rust-include-flate-codegen-0.1: Update to 0.1.4., guix-commits, 2024/03/18