gnu: Add rust-tui-0.16.

* gnu/packages/crates-io.scm (rust-tui-0.16): New variable.
 (rust-tui-0.15): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Petr Hodina 2021-11-09 19:38:32 +01:00 committed by Nicolas Goaziou
parent ae01172fb3
commit d8c0d955a4
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -58231,8 +58231,44 @@ (define-public rust-ttf-parser-0.6
parser.")
(license (list license:expat license:asl2.0))))
(define-public rust-tui-0.16
(package
(name "rust-tui")
(version "0.16.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tui" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r"))))
(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.20)
("rust-easycurses" ,rust-easycurses-0.12)
("rust-pancurses" ,rust-pancurses-0.16)
("rust-rustbox" ,rust-rustbox-0.11)
("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.15
(package
(inherit rust-tui-0.16)
(name "rust-tui")
(version "0.15.0")
(source
@ -58242,7 +58278,6 @@ (define-public rust-tui-0.15
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0w9azg9zj1nnwcwbra9pxrwy47ab0m2bhanbkchydv8lscx8y7c6"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -58255,13 +58290,7 @@ (define-public rust-tui-0.15
("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))))
(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-unicode-width" ,rust-unicode-width-0.1))))))
(define-public rust-tui-0.14
(package