Subject: [PATCH v2 12/49] gnu: rust-clap-4: Update to 4.5.21.

From: Jordan Moore <[email-masked]>
Date: Sat, 30 Nov 2024 11:54:47 -0500

* gnu/packages/crates-io.scm (rust-clap-4): Update to 4.5.21.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3f5b97d3c5..5a9f4e573d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13844,34 +13844,32 @@ (define-public rust-clap-derive-3
 (define-public rust-clap-4
   (package
     (name "rust-clap")
-    (version "4.5.18")
+    (version "4.5.21")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "clap" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1lsxa59bgfxaag1q65ndp801h7vw9dffsly0zzx1mb13nd1nm5dh"))))
+        (base32 "0kv0n5jbpfpl9xyags5lpyq5cccbx6g36s98lpgi8xbwbag4nfzv"))))
     (build-system cargo-build-system)
     (arguments
-     (list #:cargo-inputs
-           `(("rust-clap-builder" ,rust-clap-builder-4)
-             ("rust-clap-derive" ,rust-clap-derive-4))
-           #:cargo-development-inputs
-           `(("rust-automod" ,rust-automod-1)
-             ("rust-clap-cargo" ,rust-clap-cargo-0.14)
-             ("rust-humantime" ,rust-humantime-2)
-             ("rust-rustversion" ,rust-rustversion-1)
-             ("rust-shlex" ,rust-shlex-1)
-             ("rust-snapbox" ,rust-snapbox-0.6)
-             ("rust-trybuild" ,rust-trybuild-1)
-             ("rust-trycmd" ,rust-trycmd-0.15))))
-    (home-page "https://clap.rs/")
+     `(#:cargo-inputs (("rust-clap-builder" ,rust-clap-builder-4)
+                       ("rust-clap-derive" ,rust-clap-derive-4)
+                       ("rust-terminal-size" ,rust-terminal-size-0.4))
+       #:cargo-development-inputs (("rust-automod" ,rust-automod-1)
+                                   ("rust-clap-cargo" ,rust-clap-cargo-0.14)
+                                   ("rust-humantime" ,rust-humantime-2)
+                                   ("rust-rustversion" ,rust-rustversion-1)
+                                   ("rust-shlex" ,rust-shlex-1)
+                                   ("rust-snapbox" ,rust-snapbox-0.6)
+                                   ("rust-trybuild" ,rust-trybuild-1)
+                                   ("rust-trycmd" ,rust-trycmd-0.15))))
+    (home-page "https://github.com/clap-rs/clap")
     (synopsis "Command Line Argument Parser")
     (description
-     "This package provides a simple to use, efficient, and full-featured
-Command Line Argument Parser.")
+     "This package provides a simple to use, efficient, and full-featured Command Line
+Argument Parser.")
     (license (list license:expat license:asl2.0))))
 
 (define-public rust-clap-3
-- 
2.46.0