Subject: [bug#53315] [PATCH 137/150] gnu: Add rust-actix-derive-0.4.

From: Aleksandr Vityazev <[email-masked]>
Date: Mon, 17 Jan 2022 15:15:31 +0000

* gnu/packages/crates-io.scm (rust-actix-derive-0.4): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 22074560f7..1be9080b29 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -395,6 +395,25 @@ (define-public rust-actix-derive-0.5
      "This package provides proc macros for the Rust actor framework Actix.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-actix-derive-0.4
+  (package
+    (inherit rust-actix-derive-0.5)
+    (name "rust-actix-derive")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "actix-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0v0mvq883aq5z6d0893bh32bfddvfajh5bm7nkl0l8idpzbzdx8b"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+        ("rust-quote" ,rust-quote-0.6)
+        ("rust-syn" ,rust-syn-0.15))))))
+
 (define-public rust-actix-http-2
   (package
     (name "rust-actix-http")
--
2.34.0

--

Aleksandr Vityazev