Subject: [bug#75677] [PATCH rust-team 22/89] gnu: rust-ptr-meta-derive-0.3: New variable.

From: Aaron Covrig <[email-masked]>
Date: Sun, 19 Jan 2025 17:48:56 -0500

* gnu/packages/crates-io.scm (rust-ptr-meta-derive-0.3): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3a2ddc41d7..6b734d5220 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58366,8 +58366,31 @@ (define-public rust-ptr-meta-0.1
 @end itemize")
     (license license:expat)))
 
+(define-public rust-ptr-meta-derive-0.3
+  (package
+    (name "rust-ptr-meta-derive")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ptr_meta_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1l9jznaz85cchixyp07v6sxcvjadsyq6lmhjbh98sk0v2pdlwhfa"))))
+    (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/rkyv/ptr_meta")
+    (synopsis "Macros for the ptr_meta fat pointer metadata API")
+    (description "This package provides macros for the ptr_meta API.")
+    (license license:expat)))
+
 (define-public rust-ptr-meta-derive-0.1
   (package
+    (inherit rust-ptr-meta-derive-0.3)
     (name "rust-ptr-meta-derive")
     (version "0.1.4")
     (source
@@ -58377,17 +58400,12 @@ (define-public rust-ptr-meta-derive-0.1
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1b69cav9wn67cixshizii0q5mlbl0lihx706vcrzm259zkdlbf0n"))))
-    (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/djkoloski/ptr_meta")
-    (synopsis "Macros for the ptr_meta fat pointer metadata API")
-    (description "This package provides macros for the ptr_meta API.")
-    (license license:expat)))
+        ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-ptree-0.4
   (package
-- 
2.47.1