[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/135: gnu: Add rust-ratatui-0.24.
From: |
guix-commits |
Subject: |
27/135: gnu: Add rust-ratatui-0.24. |
Date: |
Wed, 27 Mar 2024 04:54:45 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 4b96b036a93ddec32e0c72c649fee05144afa7d0
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:30 2024 +0100
gnu: Add rust-ratatui-0.24.
* gnu/packages/crates-io.scm (rust-ratatui-0.24): New variable.
(rust-ratatui-0.20): Inherit from rust-ratatui-0.24.
Change-Id: I92e6f2292676f7f36ea2cdca31b3bd5709709659
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 64 ++++++++++++++++++++++++++++++++++++++--------
1 file changed, 54 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7e058adb1e..44bc085790 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57943,8 +57943,60 @@ random generic types.")
(license
(list license:zlib license:asl2.0 license:expat))))
+(define-public rust-ratatui-0.24
+ (package
+ (name "rust-ratatui")
+ (version "0.24.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ratatui" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "099433has5bhl6zbckpv2qskb66h7xz4rfgc6xn5cyjjzdy93g0f"))))
+ (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-2)
+ ("rust-cassowary" ,rust-cassowary-0.3)
+ ("rust-crossterm" ,rust-crossterm-0.27)
+ ("rust-document-features" ,rust-document-features-0.2)
+ ("rust-indoc" ,rust-indoc-2)
+ ("rust-itertools" ,rust-itertools-0.11)
+ ("rust-lru" ,rust-lru-0.12)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-strum" ,rust-strum-0.25)
+ ("rust-termion" ,rust-termion-2)
+ ("rust-termwiz" ,rust-termwiz-0.20)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-unicode-segmentation"
,rust-unicode-segmentation-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-cargo-husky" ,rust-cargo-husky-1)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-fakeit" ,rust-fakeit-1)
+ ("rust-palette" ,rust-palette-0.7)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-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-ratatui-0.20
(package
+ (inherit rust-ratatui-0.24)
(name "rust-ratatui")
(version "0.20.1")
(source
@@ -57954,7 +58006,6 @@ random generic types.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ab8w62dkp2c2l8s1xb904imqlv7aqkc07hm6bp01afbphrd1h6w"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -57970,15 +58021,8 @@ random generic types.")
("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)))
+ #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1)
+ ("rust-rand" ,rust-rand-0.8))))))
(define-public rust-raw-cpuid-10
(package
- 41/135: gnu: Add rust-derive-builder-0.13., (continued)
- 41/135: gnu: Add rust-derive-builder-0.13., guix-commits, 2024/03/27
- 36/135: gnu: Add rust-wezterm-color-types-0.3., guix-commits, 2024/03/27
- 42/135: gnu: Add rust-font8x8-0.3., guix-commits, 2024/03/27
- 56/135: gnu: Add rust-cargo-manifest-0.13., guix-commits, 2024/03/27
- 49/135: gnu: rust-clap-builder-4: Update to 4.5.2., guix-commits, 2024/03/27
- 57/135: gnu: rust-predicates-3: Update to 3.1.0., guix-commits, 2024/03/27
- 59/135: gnu: Add rust-public-api-0.33., guix-commits, 2024/03/27
- 11/135: gnu: Add rust-notify-debouncer-mini-0.4., guix-commits, 2024/03/27
- 12/135: gnu: Add rust-finl-unicode-1., guix-commits, 2024/03/27
- 33/135: gnu: Add rust-termion-3., guix-commits, 2024/03/27
- 27/135: gnu: Add rust-ratatui-0.24.,
guix-commits <=
- 51/135: gnu: rust-clap-4: Update to 4.5.4., guix-commits, 2024/03/27
- 46/135: gnu: Add rust-heck-0.5., guix-commits, 2024/03/27
- 65/135: gnu: rust-http-auth-0.1: Update to 0.1.9., guix-commits, 2024/03/27
- 90/135: gnu: Add rust-gix-pack-0.46., guix-commits, 2024/03/27
- 77/135: gnu: Add rust-gix-submodule-0.7., guix-commits, 2024/03/27
- 83/135: gnu: Add rust-gix-ref-0.40., guix-commits, 2024/03/27
- 96/135: gnu: Add rust-gix-lock-12., guix-commits, 2024/03/27
- 101/135: gnu: Add rust-gix-glob-0.15., guix-commits, 2024/03/27
- 103/135: gnu: Add rust-gix-filter-0.8., guix-commits, 2024/03/27
- 113/135: gnu: rust-gix-command-0.3: Update to 0.3.6., guix-commits, 2024/03/27