Subject: [bug#70606] [PATCH rust-team 054/101] gnu: Place rust-libz-sys-1 in alphabetical order.

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

* gnu/packages/crates-io.scm (rust-libz-sys-1): Move variable.

Change-Id: Ie721ac54b72c17fc807de942f7e15dfc85357d3a
---
 gnu/packages/crates-io.scm | 65 ++++++++++++++++++--------------------
 1 file changed, 30 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5138cc42f2..0f101cbd5d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38769,41 +38769,6 @@ (define-public rust-libxml-0.2
        (sha256
         (base32 "1xx1bsay6c0jy9vi7qcvliidya33lvbkxwpdfz9qmzl23f11xxxh"))))))
 
-(define-public rust-libz-sys-1
-  (package
-    (name "rust-libz-sys")
-    (version "1.1.8")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "libz-sys" version))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "1gqb8nk7j4ngvlcll8plm2fvjwic40p2g4qp20pwry1m74f7c0lp"))
-        (modules '((guix build utils)))
-        (snippet
-         '(begin (delete-file-recursively "src/zlib")
-                 (delete-file-recursively "src/zlib-ng")))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-libc" ,rust-libc-0.2)
-        ;; Build dependencies:
-        ("rust-cc" ,rust-cc-1)
-        ("rust-cmake" ,rust-cmake-0.1)
-        ("rust-pkg-config" ,rust-pkg-config-0.3)
-        ("rust-vcpkg" ,rust-vcpkg-0.2))))
-    (native-inputs
-     (list pkg-config zlib))
-    (home-page "https://github.com/rust-lang/libz-sys")
-    (synopsis "Bindings to the system libz library")
-    (description
-     "This package provides bindings to the system @code{libz} library (also
-known as zlib).")
-    (license (list license:asl2.0
-                   license:expat))))
-
 (define-public rust-libz-ng-sys-1
   (package
     (name "rust-libz-ng-sys")
@@ -38828,6 +38793,36 @@ (define-public rust-libz-ng-sys-1
 high-performance zlib library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-libz-sys-1
+  (package
+    (name "rust-libz-sys")
+    (version "1.1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libz-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gqb8nk7j4ngvlcll8plm2fvjwic40p2g4qp20pwry1m74f7c0lp"))
+       (modules '((guix build utils)))
+       (snippet '(begin
+                   (delete-file-recursively "src/zlib")
+                   (delete-file-recursively "src/zlib-ng")))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-cc" ,rust-cc-1)
+                       ("rust-cmake" ,rust-cmake-0.1)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3)
+                       ("rust-vcpkg" ,rust-vcpkg-0.2))))
+    (native-inputs (list pkg-config zlib))
+    (home-page "https://github.com/rust-lang/libz-sys")
+    (synopsis "Bindings to the system libz library")
+    (description
+     "This package provides bindings to the system @code{libz} library (also
+known as zlib).")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-lifeguard-0.6
   (package
     (name "rust-lifeguard")
-- 
2.41.0