diff options
author | Jaeme Sifat <jaeme@runbox.com> | 2023-12-20 12:05:52 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:22 +0200 |
commit | 70dc1fcc6aeced6cbcb5d21bd690123a169b0a99 (patch) | |
tree | ca892ed0c024bd34efaf761f599f3e1c0278e02e /gnu/packages | |
parent | 33313d57b97d3f2567037313133c1b9d565ba042 (diff) | |
download | guix-70dc1fcc6aeced6cbcb5d21bd690123a169b0a99.tar.gz |
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>
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 |