Subject: [PATCH rust-team 094/101] gnu: Place rust-autocompress-0.2 in alphabetical order.

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

* gnu/packages/crates-io.scm (rust-autocompress-0.2): Move variable.

Change-Id: I1d71bf0ee8dfbecafefd8a220d37ef2adeed9035
---
 gnu/packages/crates-io.scm | 78 +++++++++++++++++++-------------------
 1 file changed, 38 insertions(+), 40 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dddc9a20d6..91abab858f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6083,46 +6083,6 @@ (define-public rust-auto-impl-0.4
        (("rust-rustversion" ,rust-rustversion-1)
         ("rust-trybuild" ,rust-trybuild-1))))))
 
-(define-public rust-autocompress-0.2
-  (package
-    (name "rust-autocompress")
-    (version "0.2.2")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "autocompress" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "16pjdfr5b2ixs2xk3h6mvxprxr84rpaips624d6vbap5vsdkvzx4"))))
-    (build-system cargo-build-system)
-    (arguments
-     (list
-      #:tests? #false ;The crate does not include test files
-      #:skip-build? #t  ; could not find `block` in `zstd`
-      #:cargo-inputs
-      `(("rust-brotli" ,rust-brotli-3)
-        ("rust-bzip2" ,rust-bzip2-0.4)
-        ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
-        ("rust-flate2" ,rust-flate2-1)
-        ("rust-log" ,rust-log-0.4)
-        ("rust-lz4" ,rust-lz4-1)
-        ("rust-snap" ,rust-snap-1)
-        ("rust-xz2" ,rust-xz2-0.1)
-        ("rust-zstd" ,rust-zstd-0.9))
-      #:cargo-development-inputs
-      `(("rust-clap" ,rust-clap-2)
-        ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4)
-        ("rust-rand" ,rust-rand-0.8)
-        ("rust-temp-testdir" ,rust-temp-testdir-0.2))))
-    (inputs (list xz))
-    (native-inputs (list pkg-config))
-    (home-page "https://github.com/informationsea/autocompress-rs")
-    (synopsis "Select decoder from magic bytes or encoder from file extension")
-    (description
-     "This crate lets you automatically select a suitable decoder from magic
-bytes or encoder from file extension.")
-    (license license:asl2.0)))
-
 (define-public rust-autocfg-1
   (package
     (name "rust-autocfg")
@@ -6156,6 +6116,44 @@ (define-public rust-autocfg-0.1
           "1chwgimpx5z7xbag7krr9d8asxfqbh683qhgl9kn3hxk2l0djj8x"))))
     (arguments '(#:skip-build? #t))))
 
+(define-public rust-autocompress-0.2
+  (package
+    (name "rust-autocompress")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "autocompress" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16pjdfr5b2ixs2xk3h6mvxprxr84rpaips624d6vbap5vsdkvzx4"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:tests? #f
+      #:skip-build? #t
+      #:cargo-inputs `(("rust-brotli" ,rust-brotli-3)
+                       ("rust-bzip2" ,rust-bzip2-0.4)
+                       ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+                       ("rust-flate2" ,rust-flate2-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-lz4" ,rust-lz4-1)
+                       ("rust-snap" ,rust-snap-1)
+                       ("rust-xz2" ,rust-xz2-0.1)
+                       ("rust-zstd" ,rust-zstd-0.9))
+      #:cargo-development-inputs `(("rust-clap" ,rust-clap-2)
+                                   ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4)
+                                   ("rust-rand" ,rust-rand-0.8)
+                                   ("rust-temp-testdir" ,rust-temp-testdir-0.2))))
+    (inputs (list xz))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/informationsea/autocompress-rs")
+    (synopsis "Select decoder from magic bytes or encoder from file extension")
+    (description
+     "This crate lets you automatically select a suitable decoder from magic
+bytes or encoder from file extension.")
+    (license license:asl2.0)))
+
 (define-public rust-automod-1
   (package
     (name "rust-automod")
-- 
2.41.0