Subject: [bug #56057] [PATCH v2 20/21] gnu: Add rust-tui-react-0.18.

From: antlers <[email-masked]>
Date: Sun, 19 Jun 2022 10:27:10 -0700

* gnu/packages/crates-io.scm (rust-tui-react-0.18): New variable.
---
:100644 100644 0410e42dfd f1529748b7 M	gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0410e42dfd..f1529748b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67670,6 +67670,33 @@ (define-public rust-tui-0.14
         ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
         ("rust-unicode-width" ,rust-unicode-width-0.1))))))
 
+(define-public rust-tui-react-0.17
+  (package
+    (name "rust-tui-react")
+    (version "0.17.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "tui-react" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1va3imj01d6hy5hyhn0zg73l5dqk79fscvzf354svzbxkjdkw3aa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-log" ,rust-log-0.4)
+        ("rust-tui" ,rust-tui-0.17)
+        ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+        ("rust-unicode-width" ,rust-unicode-width-0.1))))
+    (home-page "https://github.com/Byron/tui-crates")
+    (synopsis
+     "TUI widgets using a react-like paradigm")
+    (description
+     "This package provides TUI widgets using a react-like paradigm, allowing
+mutable component state and render properties.")
+    (license license:expat)))
+
 (define-public rust-tuikit-0.4
   (package
     (name "rust-tuikit")
-- 
2.36.0