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

Message ID 20250308033446.2101481-19-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-derive-0.3): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e7b7f040be..fa7a4d9c56 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59530,8 +59530,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
@@ -59541,17 +59564,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