[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 054/228] gnu: Add rust-http-body-1.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 054/228] gnu: Add rust-http-body-1. |
Date: |
Sun, 18 Feb 2024 22:02:52 +0100 |
* gnu/packages/crates-web.scm (rust-http-body-1): Add variable.
(rust-http-body-0.4): Inherit rust-http-body-1.
Change-Id: I9616eb39dd18c5a9d9b366a4942614558dca61cc
---
gnu/packages/crates-web.scm | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 6650c26913..b0b431ff88 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2278,8 +2278,32 @@ (define-public rust-http-auth-0.1
extended with server support and additional auth schemes.")
(license (list license:expat license:asl2.0))))
+(define-public rust-http-body-1
+ (package
+ (name "rust-http-body")
+ (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 "0hyn8n3iadrbwq8y0p1rl1275s4nm49bllw5wji29g4aa3dqbb0w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-http" ,rust-http-1))))
+ (home-page "https://github.com/hyperium/http-body")
+ (synopsis "Trait representing an asynchronous, streaming, HTTP request
+or response body")
+ (description
+ "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
@@ -2289,18 +2313,11 @@ (define-public rust-http-body-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1lmyjfk6bqk6k9gkn1dxq770sb78pqbqshga241hr5p995bb5skw"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bytes" ,rust-bytes-1)
- ("rust-http" ,rust-http-0.2))))
- (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,
-HTTP request or response body.")
- (license license:expat)))
+ ("rust-http" ,rust-http-0.2))))))
(define-public rust-http-body-0.3
(package
--
2.41.0
- [bug#69257] [PATCH 212/228] gnu: Add rust-matrix-sdk-sqlite-0.7., (continued)
- [bug#69257] [PATCH 212/228] gnu: Add rust-matrix-sdk-sqlite-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 220/228] gnu: Add rust-weedle2-4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 223/228] gnu: Add rust-uniffi-build-0.25., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 225/228] gnu: Add rust-async-cell-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 228/228] WIP: gnu: Add fractal., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 193/228] gnu: Add rust-macroific-attr-parse-1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 137/228] gnu: Place rust-jwalk-0.8 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 082/228] gnu: Place rust-paw-structopt-1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 084/228] gnu: Place rust-paw-attributes-1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 072/228] gnu: Add rust-inferno-0.11., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 054/228] gnu: Add rust-http-body-1.,
Herman Rimm <=
- [bug#69257] [PATCH 027/228] gnu: Add rust-rclite-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 227/228] gnu: Add rust-matrix-sdk-ui-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 180/228] gnu: Add rust-matrix-pickle-derive-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 058/228] gnu: Add rust-hyper-util-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 021/228] gnu: Place rust-rpassword-6 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 221/228] gnu: Add rust-uniffi-udl-0.25., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 035/228] gnu: Add rust-mas-jose-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 173/228] gnu: Add rust-ruma-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 024/228] gnu: Place rust-rtoolbox-0.0.1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 159/228] gnu: Add rust-curve25519-dalek-4., Herman Rimm, 2024/02/18