Subject: [bug#70606] [PATCH rust-team 022/101] gnu: Place rust-salsa-macros-0.17 in alphabetical order.

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

* gnu/packages/crates-io.scm (rust-salsa-macros-0.17, rust-salsa-0.17):
Move variables.

Change-Id: Iab85cbd9519740677ad2a7ea77ffca49a3cd66a7
---
 gnu/packages/crates-io.scm | 133 +++++++++++++++++--------------------
 1 file changed, 60 insertions(+), 73 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1374fdfa4e..87cb265bd9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66129,79 +66129,6 @@ (define-public rust-s3handler-0.7
      "This package is a s3 handler for S3 Rich Support client (S3RS).")
     (license license:expat)))
 
-(define-public rust-salsa-macros-0.17
-  (package
-    (name "rust-salsa-macros")
-    (version "0.17.0-pre.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "salsa-macros" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "1xrgb38l5fhv3lqx2lwnqc3s2zrgxmj63cd7kl0vyl7m5lsjwv5c"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:skip-build?
-       #t
-       #:cargo-inputs
-       (("rust-heck" ,rust-heck-0.3)
-        ("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
-    (home-page "https://github.com/salsa-rs/salsa")
-    (synopsis
-     "Procedural macros for the salsa crate")
-    (description
-     "This package provides a procedural macros for the salsa crate.")
-    (license (list license:asl2.0 license:expat))))
-
-(define-public rust-salsa-0.17
-  (package
-    (name "rust-salsa")
-    (version "0.17.0-pre.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "salsa" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0ypiig0p9969nkb7k0ydxm5bnc3jva815dfh8hqpackcnk63s8lv"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:skip-build?
-       #t
-       #:cargo-inputs
-       (("rust-crossbeam-utils"
-         ,rust-crossbeam-utils-0.8)
-        ("rust-indexmap" ,rust-indexmap-1.7)
-        ("rust-lock-api" ,rust-lock-api-0.4)
-        ("rust-log" ,rust-log-0.4)
-        ("rust-oorandom" ,rust-oorandom-11)
-        ("rust-parking-lot" ,rust-parking-lot-0.11)
-        ("rust-rustc-hash" ,rust-rustc-hash-1)
-        ("rust-salsa-macros" ,rust-salsa-macros-0.17)
-        ("rust-smallvec" ,rust-smallvec-1))
-       #:cargo-development-inputs
-       (("rust-diff" ,rust-diff-0.1)
-        ("rust-env-logger" ,rust-env-logger-0.7)
-        ("rust-linked-hash-map"
-         ,rust-linked-hash-map-0.5)
-        ("rust-rand" ,rust-rand-0.7)
-        ("rust-rand-distr" ,rust-rand-distr-0.2))))
-    (home-page "https://github.com/salsa-rs/salsa")
-    (synopsis
-     "Generic framework for on-demand, incrementalized computation
-(experimental)")
-    (description
-     "This package provides a generic framework for on-demand, incrementalized
-computation (experimental)")
-    (license (list license:asl2.0 license:expat))))
-
 (define-public rust-safe-arch-0.7
   (package
     (name "rust-safe-arch")
@@ -66275,6 +66202,66 @@ (define-public rust-safemem-0.3
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-salsa-0.17
+  (package
+    (name "rust-salsa")
+    (version "0.17.0-pre.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "salsa" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ypiig0p9969nkb7k0ydxm5bnc3jva815dfh8hqpackcnk63s8lv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
+                       ("rust-indexmap" ,rust-indexmap-1.7)
+                       ("rust-lock-api" ,rust-lock-api-0.4)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-oorandom" ,rust-oorandom-11)
+                       ("rust-parking-lot" ,rust-parking-lot-0.11)
+                       ("rust-rustc-hash" ,rust-rustc-hash-1)
+                       ("rust-salsa-macros" ,rust-salsa-macros-0.17)
+                       ("rust-smallvec" ,rust-smallvec-1))
+       #:cargo-development-inputs (("rust-diff" ,rust-diff-0.1)
+                                   ("rust-env-logger" ,rust-env-logger-0.7)
+                                   ("rust-linked-hash-map" ,rust-linked-hash-map-0.5)
+                                   ("rust-rand" ,rust-rand-0.7)
+                                   ("rust-rand-distr" ,rust-rand-distr-0.2))))
+    (home-page "https://github.com/salsa-rs/salsa")
+    (synopsis "Generic framework for on-demand, incrementalized computation
+(experimental)")
+    (description
+     "This package provides a generic framework for on-demand, incrementalized
+computation (experimental)")
+    (license (list license:asl2.0 license:expat))))
+
+(define-public rust-salsa-macros-0.17
+  (package
+    (name "rust-salsa-macros")
+    (version "0.17.0-pre.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "salsa-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1xrgb38l5fhv3lqx2lwnqc3s2zrgxmj63cd7kl0vyl7m5lsjwv5c"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-heck" ,rust-heck-0.3)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/salsa-rs/salsa")
+    (synopsis "Procedural macros for the salsa crate")
+    (description
+     "This package provides a procedural macros for the salsa crate.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-same-file-1
   (package
     (name "rust-same-file")
-- 
2.41.0