Subject: [bug#69257] [PATCH 058/228] gnu: Add rust-hyper-util-0.1.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:02:56 +0100

* gnu/packages/crates-web.scm (rust-hyper-util-0.1): Add variable.

Change-Id: I331cb632236300355cc2504855ea3155d86e8513
---
 gnu/packages/crates-web.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index a35f0b8c25..dc80e10468 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3065,6 +3065,44 @@ (define-public rust-hyper-tls-0.4
        #:cargo-development-inputs
        (("rust-tokio" ,rust-tokio-0.2))))))
 
+(define-public rust-hyper-util-0.1
+  (package
+    (name "rust-hyper-util")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hyper-util" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1akngan7j0n2n0wd25c6952mvqbkj9gp1lcwzyxjc0d37l8yyf6a"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-futures-channel" ,rust-futures-channel-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-http" ,rust-http-1)
+                       ("rust-http-body" ,rust-http-body-1)
+                       ("rust-hyper" ,rust-hyper-1)
+                       ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+                       ("rust-socket2" ,rust-socket2-0.5)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tower" ,rust-tower-0.4)
+                       ("rust-tower-service" ,rust-tower-service-0.3)
+                       ("rust-tracing" ,rust-tracing-0.1))
+       #:cargo-development-inputs
+       (("rust-bytes" ,rust-bytes-1)
+        ("rust-http-body-util" ,rust-http-body-util-0.1)
+        ("rust-hyper" ,rust-hyper-1)
+        ("rust-pnet-datalink" ,rust-pnet-datalink-0.34)
+        ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tokio-test" ,rust-tokio-test-0.4))))
+    (home-page "https://hyper.rs")
+    (synopsis "@code{hyper} utilities")
+    (description "This package provides utilities for the @code{hyper} crate.")
+    (license license:expat)))
+
 (define-public rust-iron-0.6
   (package
     (name "rust-iron")
-- 
2.41.0