From 03703f30d365ecc5c6f5f6d4529669bec6388ed7 Mon Sep 17 00:00:00 2001 From: Divya Ranjan Date: Sun, 5 Jan 2025 07:03:47 +0000 Subject: [PATCH] gnu: Add rust-ratatui-0.27. * gnu/packages/crates-io.scm (rust-ratatui-0.27): New variable. Signed-off-by: Efraim Flashner Change-Id: Id4f0990a5e68d38650ce3e458986775e2a230782 --- gnu/packages/crates-io.scm | 55 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2430c61c96..0631db2ad9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -61418,6 +61418,61 @@ (define-public rust-ratatui-0.29 interfaces.") (license license:expat))) +(define-public rust-ratatui-0.27 + (package + (inherit rust-ratatui-0.29) + (name "rust-ratatui") + (version "0.27.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ratatui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lv8r99miibk6np2d2m0y6vf62jf5dr1x272ws6byalnnp2lcrfi")))) + (arguments + `(#:cargo-test-flags + '("--" + "--skip=backend::test::tests::buffer_view_with_overwrites") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-compact-str" ,rust-compact-str-0.7) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-lru" ,rust-lru-0.12) + ("rust-palette" ,rust-palette-0.7) + ("rust-paste" ,rust-paste-1) + ("rust-serde" ,rust-serde-1) + ("rust-stability" ,rust-stability-0.2) + ("rust-strum" ,rust-strum-0.26) + ("rust-strum-macros" ,rust-strum-macros-0.26) + ("rust-termion" ,rust-termion-4) + ("rust-termwiz" ,rust-termwiz-0.22) + ("rust-time" ,rust-time-0.3) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-truncate" ,rust-unicode-truncate-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-argh" ,rust-argh-0.1) + ("rust-better-panic" ,rust-better-panic-0.3) + ("rust-color-eyre" ,rust-color-eyre-0.6) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-derive-builder" ,rust-derive-builder-0.20) + ("rust-fakeit" ,rust-fakeit-1) + ("rust-font8x8" ,rust-font8x8-0.3) + ("rust-indoc" ,rust-indoc-2) + ("rust-palette" ,rust-palette-0.7) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rstest" ,rust-rstest-0.21) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-appender" ,rust-tracing-appender-0.2) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) + (define-public rust-ratatui-0.26 (package (inherit rust-ratatui-0.29)