[bug#75677,rust-team,v2,19/81] gnu: rust-ptr-meta-0.3: New variable.

Message ID 20250308033446.2101481-20-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:33 a.m. UTC
  * 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(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fa7a4d9c56..5696e6ab2d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59500,23 +59500,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:
@@ -59530,6 +59528,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")