summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-25 09:52:17 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:58:40 +0200
commit9d5abdc8b75489d07e0c79b6436d19d942e25531 (patch)
tree7181c2507710f957db50ddb82f7a74d797c86240 /gnu
parent4216f86b7b10dca311555390daa8cf5bcdd2c69d (diff)
downloadguix-9d5abdc8b75489d07e0c79b6436d19d942e25531.tar.gz
gnu: Add rust-actix-macros-0.2.
* gnu/packages/crates-io.scm (rust-actix-macros-0.2): New variable.
(rust-actix-macros-0.1): Inherit from rust-actix-macros-0.2.

Change-Id: I7e77ff1258f2b00e52c5936559487f84d8852911
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 23 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 077e804bec..b5a8de5c34 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -866,8 +866,30 @@ during testing.")
         ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
         ("rust-tokio-timer" ,rust-tokio-timer-0.2))))))
 
+(define-public rust-actix-macros-0.2
+  (package
+    (name "rust-actix-macros")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "actix-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jsmhq9k5nsms8sci2lqkihym5nrhlpfv8dgd0n4539g1cad67p0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f  ; use of undeclared crate or module `rustversion`
+       #:cargo-inputs (("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://actix.rs")
+    (synopsis "Actix runtime macros")
+    (description "This package provides Actix runtime macros.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-actix-macros-0.1
   (package
+    (inherit rust-actix-macros-0.2)
     (name "rust-actix-macros")
     (version "0.1.3")
     (source
@@ -877,7 +899,6 @@ during testing.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0mfnprr8gy1gb5xcr18iwsv781hysvh7sr5xxg6ghyi61gh8rjml"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-quote" ,rust-quote-1)
@@ -885,11 +906,7 @@ during testing.")
        #:cargo-development-inputs
        (("rust-actix-rt" ,rust-actix-rt-1)
         ("rust-futures-util" ,rust-futures-util-0.3)
-        ("rust-trybuild" ,rust-trybuild-1))))
-    (home-page "https://actix.rs")
-    (synopsis "Actix runtime macros")
-    (description "This package provides Actix runtime macros.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-trybuild" ,rust-trybuild-1))))))
 
 (define-public rust-actix-router-0.2
   (package