[bug#75127,v7,33/44] gnu: Add rust-structmeta-derive-0.3.

Message ID 0eef75b511eb51b62e80ed8ce2d17584d998ef72.1736607644.git.lockbox@struct.foo
State New
Headers
Series Add cargo-nextest |

Commit Message

Jordan Moore Jan. 11, 2025, 3:11 p.m. UTC
  * gnu/packages/crates-io.scm (rust-structmeta-derive-0.3): New variable.

Change-Id: Ice4007124f9325337e6259c3ebea317f5d89f737
---
 gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8b1b810e0e..23050d98f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76648,8 +76648,30 @@  (define-public rust-structmeta-0.1
         ("rust-structmeta-derive" ,rust-structmeta-derive-0.1)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-structmeta-derive-0.3
+  (package
+    (name "rust-structmeta-derive")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "structmeta-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1z12r4v2d3272hxqxclnr1kn2kp07qsy5aswm4ynrzwhlmjhnahm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/frozenlib/structmeta")
+    (synopsis "derive macro for structmeta crate")
+    (description "This package provides derive macro for structmeta crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-structmeta-derive-0.2
   (package
+    (inherit rust-structmeta-derive-0.3)
     (name "rust-structmeta-derive")
     (version "0.2.0")
     (source
@@ -76663,13 +76685,7 @@  (define-public rust-structmeta-derive-0.2
     (arguments
      `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
                        ("rust-quote" ,rust-quote-1)
-                       ("rust-syn" ,rust-syn-2))
-       #:cargo-development-inputs (("rust-syn" ,rust-syn-2))))
-    (home-page "https://github.com/frozenlib/structmeta")
-    (synopsis "Derive macro for structmeta crate")
-    (description
-     "This package provides a derive macro for the structmeta crate.")
-    (license (list license:expat license:asl2.0))))
+                       ("rust-syn" ,rust-syn-2))))))
 
 (define-public rust-structmeta-derive-0.1
   (package