Subject: [PATCH rust-team 023/101] gnu: Place rust-rkyv-derive-0.7 in alphabetical order.

From: Herman Rimm <[email-masked]>
Date: Sat, 27 Apr 2024 14:34:45 +0200

* gnu/packages/crates-io.scm (rust-rkyv-derive-0.7,
rust-rkyv-derive-0.6, rust-rkyv-0.7, rust-rkyv-0.6): Move variables.

Change-Id: I0a763a643fa223c9ff6c33142b028ace06dc27ab
---
 gnu/packages/crates-io.scm | 191 ++++++++++++++++++-------------------
 1 file changed, 95 insertions(+), 96 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 87cb265bd9..d3ebcf4539 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62162,6 +62162,101 @@ (define-public rust-ringbuf-0.2
 First In First Out} ring buffer with direct access to inner data.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rkyv-0.7
+  (package
+    (name "rust-rkyv")
+    (version "0.7.44")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "rkyv" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1h4rpjn15bfldwb2j3zlmv3zaksvizzl1yf6vg24yfdk5534dfjw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-arrayvec" ,rust-arrayvec-0.7)
+        ("rust-bitvec" ,rust-bitvec-1)
+        ("rust-bytecheck" ,rust-bytecheck-0.6)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-hashbrown" ,rust-hashbrown-0.12)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-ptr-meta" ,rust-ptr-meta-0.1)
+        ("rust-rend" ,rust-rend-0.4)
+        ("rust-rkyv-derive" ,rust-rkyv-derive-0.7)
+        ("rust-seahash" ,rust-seahash-4)
+        ("rust-smallvec" ,rust-smallvec-1)
+        ("rust-smol-str" ,rust-smol-str-0.2)
+        ("rust-tinyvec" ,rust-tinyvec-1)
+        ("rust-uuid" ,rust-uuid-1))))
+    (home-page "https://github.com/rkyv/rkyv")
+    (synopsis "Zero-copy deserialization framework for Rust")
+    (description "Rkyv is a zero-copy deserialization framework for Rust.")
+    (license license:expat)))
+
+(define-public rust-rkyv-0.6
+  (package
+    (inherit rust-rkyv-0.7)
+    (name "rust-rkyv")
+    (version "0.6.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rkyv" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01wsn0i8gsw958j892w8i4fyzjdsyhrh7c5zajig049kbqz5n4yb"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bytecheck" ,rust-bytecheck-0.5)
+        ("rust-memoffset" ,rust-memoffset-0.6)
+        ("rust-ptr-meta" ,rust-ptr-meta-0.1)
+        ("rust-rkyv-derive" ,rust-rkyv-derive-0.6)
+        ("rust-seahash" ,rust-seahash-4))))))
+
+(define-public rust-rkyv-derive-0.7
+  (package
+    (name "rust-rkyv-derive")
+    (version "0.7.44")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "rkyv_derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0rbwvbxka171bvhj60yjaxn77ipi5d1nwknnp5i6ypp2ipzxzpd7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/rkyv/rkyv")
+    (synopsis "Derive macro for zero-copy deserialization framework")
+    (description "This package provides a Derive macro for the rkyv
+deserialization framework.")
+    (license license:expat)))
+
+(define-public rust-rkyv-derive-0.6
+  (package
+    (inherit rust-rkyv-derive-0.7)
+    (name "rust-rkyv-derive")
+    (version "0.6.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rkyv_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1mc7rnps41gdywahsffqlypsp9jqmp0r6hlh2nxm31bddfgli3xs"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-rle-decode-fast-1
   (package
     (name "rust-rle-decode-fast")
@@ -65961,102 +66056,6 @@ (define-public rust-ruzstd-0.4
        #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
                                    ("rust-rand" ,rust-rand-0.8))))))
 
-(define-public rust-rkyv-0.7
-  (package
-    (name "rust-rkyv")
-    (version "0.7.44")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "rkyv" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1h4rpjn15bfldwb2j3zlmv3zaksvizzl1yf6vg24yfdk5534dfjw"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-arrayvec" ,rust-arrayvec-0.7)
-        ("rust-bitvec" ,rust-bitvec-1)
-        ("rust-bytecheck" ,rust-bytecheck-0.6)
-        ("rust-bytes" ,rust-bytes-1)
-        ("rust-hashbrown" ,rust-hashbrown-0.12)
-        ("rust-indexmap" ,rust-indexmap-1)
-        ("rust-ptr-meta" ,rust-ptr-meta-0.1)
-        ("rust-rend" ,rust-rend-0.4)
-        ("rust-rkyv-derive" ,rust-rkyv-derive-0.7)
-        ("rust-seahash" ,rust-seahash-4)
-        ("rust-smallvec" ,rust-smallvec-1)
-        ("rust-smol-str" ,rust-smol-str-0.2)
-        ("rust-tinyvec" ,rust-tinyvec-1)
-        ("rust-uuid" ,rust-uuid-1))))
-    (home-page "https://github.com/rkyv/rkyv")
-    (synopsis "Zero-copy deserialization framework for Rust")
-    (description "Rkyv is a zero-copy deserialization framework for Rust.")
-    (license license:expat)))
-
-(define-public rust-rkyv-0.6
-  (package
-    (inherit rust-rkyv-0.7)
-    (name "rust-rkyv")
-    (version "0.6.7")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "rkyv" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "01wsn0i8gsw958j892w8i4fyzjdsyhrh7c5zajig049kbqz5n4yb"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-bytecheck" ,rust-bytecheck-0.5)
-        ("rust-memoffset" ,rust-memoffset-0.6)
-        ("rust-ptr-meta" ,rust-ptr-meta-0.1)
-        ("rust-rkyv-derive" ,rust-rkyv-derive-0.6)
-        ("rust-seahash" ,rust-seahash-4))))))
-
-
-(define-public rust-rkyv-derive-0.7
-  (package
-    (name "rust-rkyv-derive")
-    (version "0.7.44")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "rkyv_derive" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0rbwvbxka171bvhj60yjaxn77ipi5d1nwknnp5i6ypp2ipzxzpd7"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
-                       ("rust-quote" ,rust-quote-1)
-                       ("rust-syn" ,rust-syn-1))))
-    (home-page "https://github.com/rkyv/rkyv")
-    (synopsis "Derive macro for zero-copy deserialization framework")
-    (description "This package provides a Derive macro for the rkyv
-deserialization framework.")
-    (license license:expat)))
-
-(define-public rust-rkyv-derive-0.6
-  (package
-    (inherit rust-rkyv-derive-0.7)
-    (name "rust-rkyv-derive")
-    (version "0.6.7")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "rkyv_derive" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1mc7rnps41gdywahsffqlypsp9jqmp0r6hlh2nxm31bddfgli3xs"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))))
-
 (define-public rust-ryu-1
   (package
     (name "rust-ryu")
-- 
2.41.0