diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 42 |
1 files changed, 34 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5c0381b558..366010f8cb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -84080,8 +84080,41 @@ parser.") (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 @@ parser.") (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 @@ parser.") ("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 |