guix-commits
[Top][All Lists]
Advanced

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

293/330: gnu: Add rust-axum-macros-0.4.


From: guix-commits
Subject: 293/330: gnu: Add rust-axum-macros-0.4.
Date: Mon, 18 Mar 2024 07:16:39 -0400 (EDT)

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

commit c37493073753d3414d95c39d2f6a8232081d4f03
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:34 2024 +0200

    gnu: Add rust-axum-macros-0.4.
    
    * gnu/packages/crates-web.scm (rust-axum-macros-0.4): New variable.
    
    Change-Id: I2e08fdeb75f32f05f535c5e1adf1c442958f4b4e
---
 gnu/packages/crates-web.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 1366ebc0dc..b98da39886 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2093,6 +2093,37 @@ built on the Actix ecosystem.")
                                    ("rust-tokio" ,rust-tokio-1)
                                    ("rust-tower-http" 
,rust-tower-http-0.4))))))
 
+(define-public rust-axum-macros-0.4
+  (package
+    (name "rust-axum-macros")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "axum-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ahfy8z5z2xlibj41gyr2jm84di1x1s660g13jcfajh15pp5bh00"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; Tests unexpectedly pass.
+       #:cargo-inputs (("rust-heck" ,rust-heck-0.4)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("rust-axum" ,rust-axum-0.7)
+                                   ("rust-axum-extra" ,rust-axum-extra-0.9)
+                                   ("rust-rustversion" ,rust-rustversion-1)
+                                   ("rust-serde" ,rust-serde-1)
+                                   ("rust-serde-json" ,rust-serde-json-1)
+                                   ("rust-syn" ,rust-syn-2)
+                                   ("rust-tokio" ,rust-tokio-1)
+                                   ("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://github.com/tokio-rs/axum";)
+    (synopsis "Macros for axum")
+    (description "This package provides macros for axum.")
+    (license license:expat)))
+
 (define-public rust-axum-extra-0.9
   (package
     (name "rust-axum-extra")



reply via email to

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