Subject: [PATCH rust-team 057/101] gnu: Place rust-language-tags-0.3 in alphabetical order.

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

* gnu/packages/crates-io.scm (rust-language-tags-0.3,
rust-language-tags-0.2): Move variables.

Change-Id: Ifcb6d9e3871066438374df152de47c9700313ee8
---
 gnu/packages/crates-io.scm | 91 ++++++++++++++++++--------------------
 1 file changed, 43 insertions(+), 48 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e670d3c0d2..00ae3036da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36435,54 +36435,6 @@ (define-public rust-k9-0.11
                        ("rust-syn" ,rust-syn-1)
                        ("rust-term-size" ,rust-term-size-0.3))))))
 
-(define-public rust-language-tags-0.3
-  (package
-    (name "rust-language-tags")
-    (version "0.3.2")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "language-tags" version))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "124k6w9nx33q4xs8rpa9f7klshrsa0x4f7qngdwq890lpdj5jd6l"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-serde" ,rust-serde-1))
-       #:cargo-development-inputs
-       (("rust-bencher" ,rust-bencher-0.1)
-        ("rust-serde-json" ,rust-serde-json-1))))
-    (home-page "https://github.com/pyfisch/rust-language-tags")
-    (synopsis "Language tags for Rust")
-    (description
-     "Language tags can be used identify human languages, scripts e.g. Latin
-script, countries and other regions.  They are commonly used in HTML and HTTP
-@code{Content-Language} and @code{Accept-Language} header fields.  This package
-currently supports parsing (fully conformant parser), formatting and comparing
-language tags.")
-    (license license:expat)))
-
-(define-public rust-language-tags-0.2
-  (package
-    (inherit rust-language-tags-0.3)
-    (name "rust-language-tags")
-    (version "0.2.2")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "language-tags" version))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-heapsize" ,rust-heapsize-0.3)
-        ("rust-heapsize-plugin" ,rust-heapsize-plugin-0.1))))))
-
 (define-public rust-lab-0.11
   (package
     (name "rust-lab")
@@ -36665,6 +36617,49 @@ (define-public rust-lalrpop-util-0.17
        (sha256
         (base32 "0z4bjn3g9232n1im5p6mn9mwlvw5aj5iac6hbjmljqxkhf3d2xy2"))))))
 
+(define-public rust-language-tags-0.3
+  (package
+    (name "rust-language-tags")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "language-tags" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "124k6w9nx33q4xs8rpa9f7klshrsa0x4f7qngdwq890lpdj5jd6l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)
+                                   ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/pyfisch/rust-language-tags")
+    (synopsis "Language tags for Rust")
+    (description
+     "Language tags can be used identify human languages, scripts e.g. Latin
+script, countries and other regions.  They are commonly used in HTML and HTTP
+@code{Content-Language} and @code{Accept-Language} header fields.  This package
+currently supports parsing (fully conformant parser), formatting and comparing
+language tags.")
+    (license license:expat)))
+
+(define-public rust-language-tags-0.2
+  (package
+    (inherit rust-language-tags-0.3)
+    (name "rust-language-tags")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "language-tags" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-heapsize" ,rust-heapsize-0.3)
+                       ("rust-heapsize-plugin" ,rust-heapsize-plugin-0.1))))))
+
 (define-public rust-lazy-bytes-cast-5
   (package
     (name "rust-lazy-bytes-cast")
-- 
2.41.0