guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#75127] [PATCH rust-team v3 37/67] gnu: Add rust-structmeta-derive-0


From: Jordan Moore
Subject: [bug#75127] [PATCH rust-team v3 37/67] gnu: Add rust-structmeta-derive-0.3.
Date: Thu, 26 Dec 2024 22:37:56 -0500

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7037cc6c7b..c17dcbaa98 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83352,8 +83352,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
@@ -83368,12 +83390,7 @@ (define-public rust-structmeta-derive-0.2
      `(#: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))))
+       #:cargo-development-inputs (("rust-syn" ,rust-syn-2))))))
 
 (define-public rust-structmeta-derive-0.1
   (package
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]