[bug#75677,rust-team,v2,13/81] gnu: rust-proc-macro-error-attr2-2: New variable.

Message ID 20250308033446.2101481-14-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:33 a.m. UTC
  * gnu/packages/crates-io.scm (rust-proc-macro-error-attr2-2): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e42f498766..8b99f8035a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57725,6 +57725,26 @@  (define-public rust-proc-macro-error-attr-1
     (description "Attribute macro for proc-macro-error crate")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-proc-macro-error-attr2-2
+  (package
+    (name "rust-proc-macro-error-attr2")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proc-macro-error-attr2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ifzi763l7swl258d8ar4wbpxj4c9c2im7zy89avm6xv6vgl5pln"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1))))
+    (home-page "https://github.com/GnomedDev/proc-macro-error-2")
+    (synopsis "Attribute macro for the proc-macro-error2 crate")
+    (description "Attribute macro for the proc-macro-error2 crate")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-proc-macro-hack-0.5
   (package
     (name "rust-proc-macro-hack")