Subject: [bug#69257] [PATCH 089/228] gnu: Add rust-axum-macros-0.3.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:03:27 +0100

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

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

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index ef78621eb8..ba4480e1c0 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1820,6 +1820,36 @@ (define-public rust-axum-macros-0.3
     (description "Macros for @code{axum}.")
     (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
+     `(#: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.6)
+                                   ("rust-axum-extra" ,rust-axum-extra-0.7)
+                                   ("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-chunked-transfer-1
   (package
     (name "rust-chunked-transfer")
-- 
2.41.0