guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

166/311: gnu: Add rust-actix-macros-0.2.


From: guix-commits
Subject: 166/311: gnu: Add rust-actix-macros-0.2.
Date: Sat, 28 Oct 2023 16:38:52 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 3a2ac76ccc33bebcd39dcf45f1e1d5e698bef0aa
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 09:52:17 2023 +0300

    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
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 57afc489ef..2739a67b42 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]