From 95ec8beb52a44decc540182cbde0859b63d560ff Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 09:10:36 +0300 Subject: [PATCH] gnu: Add rust-ratatui-0.20. * gnu/packages/crates-io.scm (rust-ratatui-0.20): New variable. Change-Id: Icb882a0f74045e3392221d84cc4a293665836e35 --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 592e53ad50..c1547308ad 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56941,6 +56941,43 @@ (define-public rust-randomize-4 (license (list license:zlib license:asl2.0 license:expat)))) +(define-public rust-ratatui-0.20 + (package + (name "rust-ratatui") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ratatui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ab8w62dkp2c2l8s1xb904imqlv7aqkc07hm6bp01afbphrd1h6w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=buffer::tests::index_of_panics_on_out_of_bounds" + "--skip=buffer::tests::pos_of_panics_on_out_of_bounds" + "--skip=buffer::Buffer::index_of" + "--skip=buffer::Buffer::pos_of") + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-crossterm" ,rust-crossterm-0.26) + ("rust-serde" ,rust-serde-1) + ("rust-termion" ,rust-termion-2) + ("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/ratatui-org/ratatui") + (synopsis "Library for cooking up terminal user interfaces") + (description + "This package provides a library that's all about cooking up terminal user +interfaces.") + (license license:expat))) + (define-public rust-raw-cpuid-10 (package (name "rust-raw-cpuid")