Subject: [bug#68312] [PATCH 019/156] gnu: Add rust-axum-macros-0.3.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:51:56 +0100

* gnu/packages/crates-io.scm (rust-axum-macros-0.3): New variable.

Change-Id: Ib3ca43b8a37d00c15bd36590e345a7c7cd588d06
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cedb2058182..09cad125882 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5685,6 +5685,30 @@ (define-public rust-axum-0.6
     (synopsis "Web framework that focuses on ergonomics and modularity")
     (description "Web framework that focuses on ergonomics and modularity")
     (license license:expat)))
+
+(define-public rust-axum-macros-0.3
+  (package
+    (name "rust-axum-macros")
+    (version "0.3.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "axum-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0qkb5cg06bnp8994ay0smk57shd5hpphcmp90kd7p65dxh86mjnd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #: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))))
+    (home-page "https://github.com/tokio-rs/axum")
+    (synopsis "Macros for axum")
+    (description "Macros for axum")
+    (license license:expat)))
+
 (define-public rust-az-1
   (package
     (name "rust-az")
-- 
2.41.0