diff mbox series

[bug#64720,v2,4/8] gnu: Add rust-proc-macro2-1.0.34.

Message ID 20230830195955.16158-4-distopico@riseup.net
State New
Headers show
Series [bug#64720,v2,1/8] gnu: Add rust-notify-5-pre.13. | expand

Commit Message

Distopico Aug. 30, 2023, 7:58 p.m. UTC
* gnu/packages/crates-io.scm (rust-proc-macro2-1.0.34): New variable.
---

* gnu/packages/crates-io.scm (rust-proc-macro2-1.0.34): New variable.

 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a0f4e187d..70918d16d0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49419,6 +49419,27 @@  (define-public rust-proc-macro2-1
 in terms of the upstream unstable API.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-proc-macro2-1.0.34
+  (package
+    (inherit rust-proc-macro2-1)
+    (name "rust-proc-macro2")
+    (version "1.0.34")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proc-macro2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1c93jhwl8lv3hiqqvdhd2d2xhjryh5bqb9w5icr5i7bw1wnfk11g"))))
+    (arguments
+     `(#:cargo-test-flags '("--lib")
+       #:cargo-inputs
+       (("rust-unicode-ident" ,rust-unicode-ident-1))
+       #:cargo-development-inputs
+       (("rust-quote" ,rust-quote-1.0.10)
+        ("rust-rustversion" ,rust-rustversion-1))))))
+
 (define-public rust-proc-macro2-0.4
   (package
     (inherit rust-proc-macro2-1)