diff mbox series

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

Message ID 20220619172711.3413-21-antlers@luris.net
State New
Headers show
Series [bug#56057,bug,#56057,v2,01/21] gnu: Add rust-addr2line-0.17. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

antlers June 19, 2022, 5:27 p.m. UTC
* 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 mbox series

Patch

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")