summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-24 10:21:40 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-06 18:29:40 +0100
commit7370231e248922141585fb57ad9edaa92cf1d72e (patch)
treeaccb087ce9dbad7c9c4b10e43a7b3c0eb7e0f653
parent7d00f7d79d85258c1440317adf22df6f81e9a75a (diff)
downloadguix-7370231e248922141585fb57ad9edaa92cf1d72e.tar.gz
gnu: Add rust-actix-derive-0.5.
* gnu/packages/crates-io.scm (rust-actix-derive-0.5): New variable.
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9874ecefd4..222d2feb55 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -191,6 +191,33 @@ protocols.")
      "This package provides a TCP connector service for Actix ecosystem.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-actix-derive-0.5
+  (package
+    (name "rust-actix-derive")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "actix-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0k1kg4gkp2jhi5fgdfd0cq2qfbyy3gfgwqjrvzq1hzrjmynwwnmr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #true              ;bootsrapping issues with rust-actix
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       ;; #:cargo-development-inputs
+       ;; (("rust-actix" ,rust-actix-0.8))
+       ))
+    (home-page "https://github.com/actix/actix-derive/")
+    (synopsis "Proc macros for Actix Rust actor framework")
+    (description
+     "This package provides proc macros for the Rust actor framework Actix.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-actix-macros-0.1
   (package
     (name "rust-actix-macros")