Subject: [bug#74558] [PATCH rust-team 4/5] gnu: Add rust-libcst-derive-1.

From: Maxim Cournoyer <[email-masked]>
Date: Thu, 28 Nov 2024 13:43:08 +0900

* gnu/packages/crates-io.scm (rust-libcst-derive-1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 10464be69d..401a20f239 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39654,6 +39654,27 @@ (define-public rust-libc-print-0.1
 macros on libc without stdlib.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-libcst-derive-1
+  (package
+    (name "rust-libcst-derive")
+    (version "1.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libcst_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lcwnpbr1l9ybll6jr172s0jbcvlbhrcax94qmbcs89jas5nw5cq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://github.com/Instagram/LibCST")
+    (synopsis "Proc macro helpers for libcst")
+    (description "This package provides Proc macro helpers for libcst.")
+    (license license:expat)))
+
 (define-public rust-libdbus-sys-0.2
   (package
     (name "rust-libdbus-sys")
-- 
2.46.0