Subject: [bug#68312] [PATCH 065/156] gnu: Add rust-indicatif-0.17.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:52:42 +0100

* gnu/packages/crates-io.scm (rust-indicatif-0.17): New variable.
(rust-indicatif-0.16): Inherit from rust-indicatif-0.17.

Change-Id: Ie317b977d3a3c103ba8e3695d15a81ff6b8e2601
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index efad46c1d03..cec6eb810b6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33740,8 +33740,40 @@ (define-public rust-indextree-4
 of reference counted pointers.")
     (license license:expat)))
 
+(define-public rust-indicatif-0.17
+  (package
+    (name "rust-indicatif")
+    (version "0.17.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "indicatif" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "098ggvg7ps4097p5n9hmb3pqqy10bi8vjfzb7pci79xrklf78a7v"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-console" ,rust-console-0.15)
+                       ("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-instant" ,rust-instant-0.1)
+                       ("rust-number-prefix" ,rust-number-prefix-0.4)
+                       ("rust-portable-atomic" ,rust-portable-atomic-1)
+                       ("rust-rayon" ,rust-rayon-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1)
+                       ("rust-vt100" ,rust-vt100-0.15))))
+    (home-page "https://github.com/console-rs/indicatif")
+    (synopsis "Progress bar and cli reporting library for Rust")
+    (description
+     "This package provides a progress bar and cli reporting library for
+Rust.")
+    (license license:expat)))
+
 (define-public rust-indicatif-0.16
   (package
+    (inherit rust-indicatif-0.17)
     (name "rust-indicatif")
     (version "0.16.2")
     (source (origin
@@ -33751,7 +33783,6 @@ (define-public rust-indicatif-0.16
               (sha256
                (base32
                 "06xyjs0kzqiqkjn60n1miwm2l87sa9p2lmzz0ymq18y72z37s81d"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-console" ,rust-console-0.15)
@@ -33763,13 +33794,7 @@ (define-public rust-indicatif-0.16
         ("rust-unicode-width" ,rust-unicode-width-0.1))
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.8)
-        ("rust-tokio" ,rust-tokio-1))))
-    (home-page "https://github.com/console-rs/indicatif")
-    (synopsis "Progress bar and cli reporting library for Rust")
-    (description
-     "This package provides a progress bar and cli reporting library for
-Rust.")
-    (license license:expat)))
+        ("rust-tokio" ,rust-tokio-1))))))
 
 (define-public rust-indicatif-0.15
   (package
-- 
2.41.0