Subject: [bug#69257] [PATCH 167/228] gnu: Add rust-macro-attr-0.2.

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

* gnu/packages/crates-io.scm (rust-macro-attr-0.2): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c52ec0def..b1663d0872 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36855,6 +36855,29 @@ (define-public rust-macaddr-1
     (description "This pakcage provides MAC address types.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-macro-attr-0.2
+  (package
+    (name "rust-macro-attr")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "macro-attr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0anc4valrldnn0gwaqlhlr4b5zh25g1lyy1x3fq65y1b1rpirr80"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))
+    (home-page "https://github.com/DanielKeep/rust-custom-derive")
+    (synopsis "macro_attr! macro for custom attributes and derivations")
+    (description
+     "This package provides the `macro_attr!` macro that enables the use
+of custom, macro-based attributes and derivations.  Supercedes the
+`custom_derive` crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-macrotest-1
   (package
     (name "rust-macrotest")
-- 
2.41.0