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

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

* gnu/packages/crates-io.scm (rust-ptr-meta-0.3): New variable.
---
 gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6b734d5220..3859eb3d87 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58336,23 +58336,21 @@ (define-public rust-psm-0.1
 stack pointer and inspect the properties of the stack.")
     (license (list license:isc license:asl2.0))))
 
-(define-public rust-ptr-meta-0.1
+(define-public rust-ptr-meta-0.3
   (package
     (name "rust-ptr-meta")
-    (version "0.1.4")
+    (version "0.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "ptr_meta" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1wd4wy0wxrcays4f1gy8gwcmxg7mskmivcv40p0hidh6xbvwqf07"))))
+        (base32 "147a6z4qz35gipj9k0d2yh4wygmibhaqsna59vs0d5izdpv7d7py"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-ptr-meta-derive" ,rust-ptr-meta-derive-0.1))))
-    (home-page "https://github.com/djkoloski/ptr_meta")
+     `(#:cargo-inputs (("rust-ptr-meta-derive" ,rust-ptr-meta-derive-0.3))))
+    (home-page "https://github.com/rkyv/ptr_meta")
     (synopsis "Manipulate metadata of fat pointers")
     (description "This package allows manipulating the metadata of fat
 pointers:
@@ -58366,6 +58364,23 @@ (define-public rust-ptr-meta-0.1
 @end itemize")
     (license license:expat)))
 
+(define-public rust-ptr-meta-0.1
+  (package
+    (inherit rust-ptr-meta-0.3)
+    (name "rust-ptr-meta")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ptr_meta" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1wd4wy0wxrcays4f1gy8gwcmxg7mskmivcv40p0hidh6xbvwqf07"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-ptr-meta-derive" ,rust-ptr-meta-derive-0.1))))))
+
 (define-public rust-ptr-meta-derive-0.3
   (package
     (name "rust-ptr-meta-derive")
-- 
2.47.1