diff mbox series

[bug#56057,bug,#56057,v2,19/21] gnu: Add rust-tui-0.17.

Message ID 20220619172711.3413-20-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-0.17): New variable.
(rust-tui-0.16): Inherit from rust-tui-0.17.
---
:100644 100644 a333f6c6ce 0410e42dfd M	gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++--------
 1 file changed, 36 insertions(+), 9 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a333f6c6ce..0410e42dfd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14986,7 +14986,7 @@  (define-public rust-crosstermion-0.9
         ("rust-futures-core" ,rust-futures-core-0.3)
         ("rust-futures-lite" ,rust-futures-lite-1)
         ("rust-termion" ,rust-termion-1)
-        ("rust-tui" ,rust-tui-0.18)
+        ("rust-tui" ,rust-tui-0.17)
         ("rust-tui-react" ,rust-tui-react-0.17))))
     (home-page "https://github.com/Byron/tui-crates")
     (synopsis
@@ -67556,8 +67556,42 @@  (define-public rust-ttf-parser-0.6
         (base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
     (arguments `(#:skip-build? #t))))
 
+(define-public rust-tui-0.17
+  (package
+    (name "rust-tui")
+    (version "0.17.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "tui" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0w92l3ilsz4lzmsp6illpsvabgsl0nysridny5rrn0wbr0r0mv93"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-cassowary" ,rust-cassowary-0.3)
+        ("rust-crossterm" ,rust-crossterm-0.22)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-termion" ,rust-termion-1)
+        ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+        ("rust-unicode-width" ,rust-unicode-width-0.1))
+       #:cargo-development-inputs
+       (("rust-argh" ,rust-argh-0.1)
+        ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/fdehau/tui-rs")
+    (synopsis "Library to build rich terminal user interfaces or dashboards")
+    (description
+     "This package provides a library to build rich terminal user interfaces
+or dashboards.")
+    (license license:expat)))
+
 (define-public rust-tui-0.16
   (package
+    (inherit rust-tui-0.17)
     (name "rust-tui")
     (version "0.16.0")
     (source
@@ -67567,7 +67601,6 @@  (define-public rust-tui-0.16
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -67583,13 +67616,7 @@  (define-public rust-tui-0.16
         ("rust-unicode-width" ,rust-unicode-width-0.1))
        #:cargo-development-inputs
        (("rust-argh" ,rust-argh-0.1)
-        ("rust-rand" ,rust-rand-0.8))))
-    (home-page "https://github.com/fdehau/tui-rs")
-    (synopsis "Library to build rich terminal user interfaces or dashboards")
-    (description
-     "This package provides a library to build rich terminal user interfaces
-or dashboards.")
-    (license license:expat)))
+        ("rust-rand" ,rust-rand-0.8))))))
 
 (define-public rust-tui-0.15
   (package