gnu: Add rust-tui-0.19.

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

Change-Id: Ibd6d500fb52d18287a27f9f7d84cf005fbc1ec76
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Jaeme Sifat 2023-12-20 12:05:52 +02:00 committed by Efraim Flashner
parent 33313d57b9
commit 70dc1fcc6a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -84080,8 +84080,41 @@ (define-public rust-ttf-parser-0.6
(base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
(arguments `(#:skip-build? #t))))
(define-public rust-tui-0.19
(package
(name "rust-tui")
(version "0.19.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tui" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ldswnqgmdkd2fkislyh1amd6rmnbx3s8b97k9j7w03lsv5jdpfc"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags `("--"
"--skip=buffer::tests::index_of_panics_on_out_of_bounds"
"--skip=buffer::tests::pos_of_panics_on_out_of_bounds")
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
("rust-cassowary" ,rust-cassowary-0.3)
("rust-crossterm" ,rust-crossterm-0.25)
("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.19)
(name "rust-tui")
(version "0.16.0")
(source
@ -84091,7 +84124,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
@ -84107,13 +84139,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