Subject: [bug#69170] [PATCH rust-team 07/46] gnu: Add rust-axum-macros-0.3.

From: Tomas Volf <[email-masked]>
Date: Thu, 15 Feb 2024 21:26:20 +0100

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

Change-Id: I193a3a9111a93f9827c2d666300f6039685f6417
---
 gnu/packages/crates-web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index d457839b53..71411c64dd 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1632,6 +1632,29 @@ (define-public rust-awc-0.2
         ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)
         ("rust-tokio-timer" ,rust-tokio-timer-0.2))))))
 
+(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 @code{axum}")
+    (description "Macros for @code{axum}.")
+    (license license:expat)))
+
 (define-public rust-chunked-transfer-1
   (package
     (name "rust-chunked-transfer")
-- 
2.41.0