Subject: [bug#54644] [PATCH v2 2/6] gnu: rust-pretty 0.11: Update to 0.11.2.

From: Evgenii Lepikhin <[email-masked]>
Date: Sat, 2 Apr 2022 00:54:33 +0300

* gnu/packages/crates-io.scm (rust-pretty-0.11) Update to 0.11.2.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 82fd24b310..cc5c8e2a1b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44223,6 +44223,32 @@ (define-public rust-pretty-0.5
 particularly useful for printing structured recursive data like trees.")
     (license license:expat)))
 
+(define-public rust-pretty-0.11
+  (package
+    (inherit rust-pretty-0.5)
+    (name "rust-pretty")
+    (version "0.11.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pretty" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1282l4pa9hhamvbnd5mjrwhdgcsjy1l1lj44i0m4pczsf1cd3br9"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-log" ,rust-log-0.4)
+        ("rust-arrayvec" ,rust-arrayvec-0.5)
+        ("rust-typed-arena" ,rust-typed-arena-2)
+        ("rust-termcolor" ,rust-termcolor-1)
+        ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-difference" ,rust-difference-2)
+        ("rust-env-logger" ,rust-env-logger-0.9)
+        ("rust-tempfile" ,rust-tempfile-3))))))
+
 (define-public rust-pretty-assertions-0.7
   (package
     (name "rust-pretty-assertions")
-- 
2.34.0