Subject: [bug#70606] [PATCH rust-team 030/101] gnu: Place rust-publicsuffix-2 in alphabetical order.

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

* gnu/packages/crates-io.scm (rust-publicsuffix-2, rust-publicsuffix-1):
Move variables.

Change-Id: I4aa22027c285f2715c6ae401fb79b3d60f571aa2
---
 gnu/packages/crates-io.scm | 97 ++++++++++++++++++--------------------
 1 file changed, 46 insertions(+), 51 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f4419d1071..dc9324793b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57396,57 +57396,6 @@ (define-public rust-ptyprocess-0.4
      "This package provides a library to work with PTY/TTY on Unix systems.")
     (license license:expat)))
 
-(define-public rust-publicsuffix-2
-  (package
-    (name "rust-publicsuffix")
-    (version "2.2.3")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "publicsuffix" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0mvls29klp6xk16n8114sr1llhahy6fy8qi9kbwzf6mflnyw3a4n"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-hashbrown" ,rust-hashbrown-0.12)
-        ("rust-idna" ,rust-idna-0.3)
-        ("rust-psl-types" ,rust-psl-types-2)
-        ("rust-unicase" ,rust-unicase-2))
-       #:cargo-development-inputs
-       (("rust-lazy-static" ,rust-lazy-static-1)
-        ("rust-rspec" ,rust-rspec-1))))
-    (home-page "https://github.com/rushmorem/publicsuffix")
-    (synopsis "Domain name parsing and email address validation")
-    (description "This package provides robust domain name parsing and RFC
-compliant email address validation.")
-    (license (list license:expat license:asl2.0))))
-
-(define-public rust-publicsuffix-1
-  (package
-    (inherit rust-publicsuffix-2)
-    (name "rust-publicsuffix")
-    (version "1.5.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "publicsuffix" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0yvmjpywfyypfr17kxiwy6ssykgv8nmcdhfakas6548pfn8a9fiv"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-error-chain" ,rust-error-chain-0.12)
-        ("rust-idna" ,rust-idna-0.2)
-        ("rust-lazy-static" ,rust-lazy-static-1)
-        ("rust-native-tls" ,rust-native-tls-0.2)
-        ("rust-regex" ,rust-regex-1)
-        ("rust-url" ,rust-url-2))))))
-
 (define-public rust-public-api-0.33
   (package
     (name "rust-public-api")
@@ -57509,6 +57458,52 @@ (define-public rust-public-api-0.32
                                    ("rust-rustdoc-json" ,rust-rustdoc-json-0.8)
                                    ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-publicsuffix-2
+  (package
+    (name "rust-publicsuffix")
+    (version "2.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "publicsuffix" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mvls29klp6xk16n8114sr1llhahy6fy8qi9kbwzf6mflnyw3a4n"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.12)
+                       ("rust-idna" ,rust-idna-0.3)
+                       ("rust-psl-types" ,rust-psl-types-2)
+                       ("rust-unicase" ,rust-unicase-2))
+       #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                                   ("rust-rspec" ,rust-rspec-1))))
+    (home-page "https://github.com/rushmorem/publicsuffix")
+    (synopsis "Domain name parsing and email address validation")
+    (description "This package provides robust domain name parsing and RFC
+compliant email address validation.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-publicsuffix-1
+  (package
+    (inherit rust-publicsuffix-2)
+    (name "rust-publicsuffix")
+    (version "1.5.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "publicsuffix" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0yvmjpywfyypfr17kxiwy6ssykgv8nmcdhfakas6548pfn8a9fiv"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-error-chain" ,rust-error-chain-0.12)
+                       ("rust-idna" ,rust-idna-0.2)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-native-tls" ,rust-native-tls-0.2)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-url" ,rust-url-2))))))
+
 (define-public rust-puffin-0.18
   (package
     (name "rust-puffin")
-- 
2.41.0