guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

186/330: gnu: Add rust-hyper-util-0.1.


From: guix-commits
Subject: 186/330: gnu: Add rust-hyper-util-0.1.
Date: Mon, 18 Mar 2024 07:16:04 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 37f3c564a4862b0d2a49acc73e37ccd9f832caeb
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:56 2024 +0100

    gnu: Add rust-hyper-util-0.1.
    
    * gnu/packages/crates-web.scm (rust-hyper-util-0.1): Add variable.
    
    Change-Id: I331cb632236300355cc2504855ea3155d86e8513
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-web.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index dbe5e7a8f2..05cc9c4f37 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3405,6 +3405,45 @@ with hyper.")
        #: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
+     `(#:tests? #f      ; could not find `client` in `hyper_util`
+       #: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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]