diff mbox series

[bug#67515,48/91] gnu: Add rust-crokey-proc-macros-0.4.

Message ID DU2P193MB2132700324F8386C513D77B0F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:12 p.m. UTC
* gnu/packages/crates-io.scm (rust-crokey-proc-macros-0.4): New variable.

Change-Id: I122c6fb23c34ffa2e872ae318d28e4d372493822
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 598af20dfd..d767e5e792 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17136,6 +17136,28 @@  (define-public rust-critical-section-0.2
     (description "This package provides a critical section abstraction.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-crokey-proc-macros-0.4
+  (package
+    (name "rust-crokey-proc-macros")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crokey-proc_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0y5c874c2ah3lj6xmxqj0wa06ib13xpajc6gzgrwm291mbpk4j2d"))))
+    (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/Canop/crokey")
+    (synopsis "proc macros for the crokey crate")
+    (description "proc macros for the crokey crate")
+    (license license:expat)))
+
 (define-public rust-crossbeam-0.8
   (package
     (name "rust-crossbeam")