Subject: [bug#70606] [PATCH rust-team 026/101] gnu: Place rust-rust-htslib-0.38 in alphabetical order.

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

* gnu/packages/crates-io.scm (rust-rust-htslib-0.38): Move variable.

Change-Id: I0792e821d5ee8951abc1de89f0ad74e24d5e4406
---
 gnu/packages/crates-io.scm | 83 ++++++++++++++++++--------------------
 1 file changed, 40 insertions(+), 43 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dd68a649d4..902da28db8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64090,49 +64090,6 @@ (define-public rust-rusqlite-macros-0.1
      `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3)
                        ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12))))))
 
-(define-public rust-rust-htslib-0.38
-  (package
-    (name "rust-rust-htslib")
-    (version "0.38.2")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "rust-htslib" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "070sihnvyiyqcw8yjkdl8hvav598bsw36m722phgd2b394k6djia"))))
-    (build-system cargo-build-system)
-    (arguments
-     ;; TODO: cannot find openssl_src
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-bio-types" ,rust-bio-types-0.12)
-        ("rust-byteorder" ,rust-byteorder-1)
-        ("rust-custom-derive" ,rust-custom-derive-0.1)
-        ("rust-derive-new" ,rust-derive-new-0.5)
-        ("rust-hts-sys" ,rust-hts-sys-2)
-        ("rust-ieee754" ,rust-ieee754-0.2)
-        ("rust-lazy-static" ,rust-lazy-static-1)
-        ("rust-libc" ,rust-libc-0.2)
-        ("rust-linear-map" ,rust-linear-map-1)
-        ("rust-newtype-derive" ,rust-newtype-derive-0.1)
-        ("rust-regex" ,rust-regex-1)
-        ("rust-serde" ,rust-serde-1)
-        ("rust-serde-bytes" ,rust-serde-bytes-0.11)
-        ("rust-thiserror" ,rust-thiserror-1)
-        ("rust-url" ,rust-url-2))
-       #:cargo-development-inputs
-       (("rust-bincode" ,rust-bincode-1)
-        ("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
-    (inputs (list openssl))
-    (native-inputs (list pkg-config))
-    (home-page "https://github.com/rust-bio/rust-htslib.git")
-    (synopsis "HTSlib bindings and API for reading and writing BAM files")
-    (description
-     "This library provides HTSlib bindings and a high level Rust API for
-reading and writing BAM files.")
-    (license license:expat)))
-
 (define-public rust-rust-base58-0.0
   (package
     (name "rust-rust-base58")
@@ -64515,6 +64472,46 @@ (define-public rust-rust-hawktracer-sys-0.4
      "This package provides a sys crate for the rust_hawktracer library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rust-htslib-0.38
+  (package
+    (name "rust-rust-htslib")
+    (version "0.38.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rust-htslib" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "070sihnvyiyqcw8yjkdl8hvav598bsw36m722phgd2b394k6djia"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bio-types" ,rust-bio-types-0.12)
+                       ("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-custom-derive" ,rust-custom-derive-0.1)
+                       ("rust-derive-new" ,rust-derive-new-0.5)
+                       ("rust-hts-sys" ,rust-hts-sys-2)
+                       ("rust-ieee754" ,rust-ieee754-0.2)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-linear-map" ,rust-linear-map-1)
+                       ("rust-newtype-derive" ,rust-newtype-derive-0.1)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+                                   ("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
+    (inputs (list openssl))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/rust-bio/rust-htslib.git")
+    (synopsis "HTSlib bindings and API for reading and writing BAM files")
+    (description
+     "This library provides HTSlib bindings and a high level Rust API for
+reading and writing BAM files.")
+    (license license:expat)))
+
 (define-public rust-rust-ini-0.18
   (package
     (name "rust-rust-ini")
-- 
2.41.0