Subject: [bug#70146] [PATCH 127/147] gnu: Add rust-smol-potat-macro-0.6.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:05:19 +0200

* gnu/packages/crates-io.scm (rust-smol-potat-macro-0.6): New variable.

Change-Id: I5aaf148ad666e740dcdabf015793b0bed5f1685b
---
 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 12268fa3b2..d1cb9e962f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64340,6 +64340,29 @@ (define-public rust-smol-0.1
         ("rust-piper" ,rust-piper-0.1)
         ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-smol-potat-macro-0.6
+  (package
+    (name "rust-smol-potat-macro")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "smol-potat-macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cirpy1309cr3n6zbmia66miyidih88sinpanj2r61hqk89dhz3b"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/wusyong/smol-potat")
+    (synopsis "Macros to initalize the @code{smol} asynchronous runtime.")
+    (description "This package provides a Rust procedural macro to simplify
+initialization of the @code{smol} asynchronous runtime in final binaries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-smol-str-0.2
   (package
     (name "rust-smol-str")
-- 
2.41.0