Subject: [PATCH rust-team 02/57] gnu: rust-pyo3-macros-0.22: Order alphabetically.

From: Herman Rimm <[email-masked]>
Date: Tue, 24 Dec 2024 22:25:45 +0100

* gnu/packages/crates-io.scm (rust-pyo3-macros-0.22): Order.

Change-Id: Ie7426bbefe076811fcf4cc2f018f47432ec5f2d5
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5f4982fa07..71ceb27c64 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64192,6 +64192,24 @@ (define-public rust-pyo3-macros-0.23
      "This package provides compiler macros for use with PyO3.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pyo3-macros-0.22
+  (package
+    (inherit rust-pyo3-macros-0.23)
+    (name "rust-pyo3-macros")
+    (version "0.22.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pyo3-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lylczfabgylnfldns6m36vsw98m9sini0wn1gcfda83g64lvlhg"))))
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.22)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))))
+
 (define-public rust-pyo3-macros-backend-0.23
   (package
     (name "rust-pyo3-macros-backend")
@@ -64349,24 +64367,6 @@ (define-public rust-pyo3-macros-backend-0.15
         ("rust-syn" ,rust-syn-1))))
     (native-inputs (list python))))
 
-(define-public rust-pyo3-macros-0.22
-  (package
-    (inherit rust-pyo3-macros-0.23)
-    (name "rust-pyo3-macros")
-    (version "0.22.6")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "pyo3-macros" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0lylczfabgylnfldns6m36vsw98m9sini0wn1gcfda83g64lvlhg"))))
-    (arguments
-     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
-                       ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.22)
-                       ("rust-quote" ,rust-quote-1)
-                       ("rust-syn" ,rust-syn-2))))))
-
 (define-public rust-pyo3-macros-0.21
   (package
     (inherit rust-pyo3-macros-0.22)
-- 
2.45.2