summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 11:52:41 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:16 +0200
commita80b060e3525ff3146bdc589319209a64e716709 (patch)
tree02fc3556f79bc198e713cc2cef2d4ef2f7936b11
parent1cb21ed5a662c374f106b0854a2eed5b70cd8d1a (diff)
gnu: Add rust-tokio-codec-0.1.
* gnu/packages/crates-io.scm (rust-tokio-codec-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16c9e5314a..e0306d5639 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