guix-commits
[Top][All Lists]
Advanced

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

24/25: gnu: Add rust-tokio-util-0.5.


From: guix-commits
Subject: 24/25: gnu: Add rust-tokio-util-0.5.
Date: Wed, 22 Feb 2023 14:05:19 -0500 (EST)

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

commit 8b9b09559320be0685a0a539075a322cba970da4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 21:01:00 2023 +0200

    gnu: Add rust-tokio-util-0.5.
    
    * gnu/packages/crates-io.scm (rust-tokio-util-0.5): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8e430436af..52e206c9e8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64301,6 +64301,30 @@ stream-based WebSocket implementation.")
         ("rust-slab" ,rust-slab-0.4)
         ("rust-tokio" ,rust-tokio-1))))))
 
+(define-public rust-tokio-util-0.5
+  (package
+    (inherit rust-tokio-util-0.6)
+    (name "rust-tokio-util")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tokio-util" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18qh9w84zfgz2r0k9wryzr9sgj92gzl25ibcd55jg5cf0wmxwdri"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bytes" ,rust-bytes-0.6)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-futures-io" ,rust-futures-io-0.3)
+        ("rust-futures-sink" ,rust-futures-sink-0.3)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+        ("rust-slab" ,rust-slab-0.4)
+        ("rust-tokio" ,rust-tokio-0.3))))))
+
 (define-public rust-tokio-util-0.4
   (package
     (inherit rust-tokio-util-0.6)



reply via email to

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