summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-22 21:30:52 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-06 18:29:35 +0100
commitbed6831cc094f71c443c544746b0fd73b951af27 (patch)
tree563c788ea6f00bd274035fbc1c2757b4068e4316
parent9cb973ed2f29e6dd13acbc0927fb55d9e43fb40c (diff)
downloadguix-bed6831cc094f71c443c544746b0fd73b951af27.tar.gz
gnu: Add rust-actix-codec-0.2.
* gnu/packages/crates-io.scm (rust-actix-codec-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ba825331c..38de91dd70 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -118,6 +118,29 @@ library in Rust.")
 protocols.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-actix-codec-0.2
+  (package
+    (inherit rust-actix-codec-0.3)
+    (name "rust-actix-codec")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "actix-codec" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "100k0n155fnnjqjz2s1gnwim2fp7s1mw942x0famg89cbh55zr89"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-bytes" ,rust-bytes-0.5)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-futures-sink" ,rust-futures-sink-0.3)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-tokio" ,rust-tokio-0.2)
+        ("rust-tokio-util" ,rust-tokio-util-0.2))))))
+
 (define-public rust-actix-macros-0.1
   (package
     (name "rust-actix-macros")