Subject: [bug#70606] [PATCH rust-team 099/101] gnu: Place rust-argh-shared-0.1 in alphabetical order.

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

* gnu/packages/crates-io.scm (rust-argh-shared-0.1, rust-argh-0.1): Swap
variables.

Change-Id: Iefe88d2d405dd0fb8df4dc7d731ec90f263a06a0
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d490bc34ad..833e27ca95 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2621,23 +2621,26 @@ (define-public rust-argfile-0.1
 @code{rust-wild}.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-argh-shared-0.1
+(define-public rust-argh-0.1
   (package
-    (name "rust-argh-shared")
+    (name "rust-argh")
     (version "0.1.12")
     (source
      (origin
        (method url-fetch)
-       (uri (crate-uri "argh_shared" version))
+       (uri (crate-uri "argh" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0cbmf3n5fd7ha014m303f4bmsmj0v84an4a1rh77d9dx868z74sn"))))
+        (base32 "06fjmac07knqw7vahra9rkbfrrsv31yrqhf7wi623xvzjq3bmxbs"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))
+     `(#:cargo-inputs (("rust-argh-derive" ,rust-argh-derive-0.1)
+                       ("rust-argh-shared" ,rust-argh-shared-0.1))
+       #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)
+                                   ("rust-trybuild" ,rust-trybuild-1))))
     (home-page "https://github.com/google/argh")
-    (synopsis "Derive-based argument parsing optimized for code size")
-    (description "Derive-based argument parsing optimized for code size.")
+    (synopsis "Derive-based argument parser optimized for code size")
+    (description "Derive-based argument parser optimized for code size.")
     (license license:bsd-3)))
 
 (define-public rust-argh-derive-0.1
@@ -2662,26 +2665,23 @@ (define-public rust-argh-derive-0.1
     (description "Derive-based argument parsing optimized for code size.")
     (license license:bsd-3)))
 
-(define-public rust-argh-0.1
+(define-public rust-argh-shared-0.1
   (package
-    (name "rust-argh")
+    (name "rust-argh-shared")
     (version "0.1.12")
     (source
      (origin
        (method url-fetch)
-       (uri (crate-uri "argh" version))
+       (uri (crate-uri "argh_shared" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "06fjmac07knqw7vahra9rkbfrrsv31yrqhf7wi623xvzjq3bmxbs"))))
+        (base32 "0cbmf3n5fd7ha014m303f4bmsmj0v84an4a1rh77d9dx868z74sn"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-argh-derive" ,rust-argh-derive-0.1)
-                       ("rust-argh-shared" ,rust-argh-shared-0.1))
-       #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)
-                                   ("rust-trybuild" ,rust-trybuild-1))))
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))
     (home-page "https://github.com/google/argh")
-    (synopsis "Derive-based argument parser optimized for code size")
-    (description "Derive-based argument parser optimized for code size.")
+    (synopsis "Derive-based argument parsing optimized for code size")
+    (description "Derive-based argument parsing optimized for code size.")
     (license license:bsd-3)))
 
 (define-public rust-argmax-0.3
-- 
2.41.0