guix-commits
[Top][All Lists]
Advanced

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

44/299: gnu: Add rust-tokio-codec-0.1.


From: guix-commits
Subject: 44/299: gnu: Add rust-tokio-codec-0.1.
Date: Thu, 2 Jan 2020 13:19:08 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit a80b060e3525ff3146bdc589319209a64e716709
Author: John Soo <address@hidden>
Date:   Sat Dec 14 11:52:41 2019 -0800

    gnu: Add rust-tokio-codec-0.1.
    
    * gnu/packages/crates-io.scm (rust-tokio-codec-0.1): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16c9e53..e0306d5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5001,6 +5001,34 @@ in Rust.")
     (license (list license:asl2.0
                    license:expat))))
 
+;; Cyclic dependency with tokio-io
+(define-public rust-tokio-codec-0.1
+  (package
+    (name "rust-tokio-codec")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tokio-codec" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "17y3hi3dd0bdfkrzshx9qhwcf49xv9iynszj7iwy3w4nmz71wl2w"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bytes" ,rust-bytes-0.4)
+        ("rust-futures" ,rust-futures-0.1)
+        ("rust-tokio-io" ,rust-tokio-io-0.1))))
+    (home-page "https://tokio.rs";)
+    (synopsis
+     "Utilities for encoding and decoding frames")
+    (description
+     "Utilities for encoding and decoding frames.")
+    (license license:expat)))
+
 ;; Cyclic dependency with rust-tokio.
 (define-public rust-tokio-executor-0.1
   (package



reply via email to

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