[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7.
From: |
Troy Figiel |
Subject: |
[bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7. |
Date: |
Sat, 27 Jan 2024 16:53:47 +0100 |
* gnu/packages/crates-io.scm (rust-comfy-table-7): New variable.
(rust-comfy-table-4): Inherit from rust-comfy-table-7.
---
gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++--------
1 file changed, 34 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02cfe3c531..c8bcd5520c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11548,8 +11548,41 @@ (define-public rust-combine-regex-1-1
and 1.0.")
(license (list license:expat license:asl2.0))))
+(define-public rust-comfy-table-7
+ (package
+ (name "rust-comfy-table")
+ (version "7.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "comfy-table" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11i6sm6vznv9982hqpbrba43vfd7vv7zqzlywdc4qykvdhyh8r3w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-console" ,rust-console-0.15)
+ ("rust-crossterm" ,rust-crossterm-0.27)
+ ("rust-strum" ,rust-strum-0.25)
+ ("rust-strum-macros" ,rust-strum-macros-0.25)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rstest" ,rust-rstest-0.18))))
+ (home-page "https://github.com/nukesor/comfy-table")
+ (synopsis "Library for building tables with automatic content wrapping")
+ (description
+ "Comfy-tables is an utility for building tables with automatic content
+wrapping.")
+ (license license:expat)))
+
(define-public rust-comfy-table-4
(package
+ (inherit rust-comfy-table-7)
(name "rust-comfy-table")
(version "4.1.1")
(source
@@ -11559,20 +11592,13 @@ (define-public rust-comfy-table-4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1wzk894p2s725cpdip5968ydb50zczsl34040j6zs8klhqz5ms8i"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-crossterm" ,rust-crossterm-0.20)
("rust-strum" ,rust-strum-0.21)
("rust-strum-macros" ,rust-strum-macros-0.21)
- ("rust-unicode-width" ,rust-unicode-width-0.1))))
- (home-page "https://github.com/nukesor/comfy-table")
- (synopsis "Library for building tables with automatic content wrapping")
- (description
- "Comfy-tables is an utility for building tables with automatic content
-wrapping.")
- (license license:expat)))
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))))
(define-public rust-comfy-table-1
(package
--
2.42.0
- [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 01/19] gnu: Add rust-flatbuffers-23., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 02/19] gnu: rust-flatbuffers-2: Don't skip the build., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 03/19] gnu: Add rust-chrono-tz-build-0.2., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7.,
Troy Figiel <=
- [bug#68780] [PATCH 08/19] gnu: Add rust-arrow-data-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 07/19] gnu: Add rust-arrow-buffer-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 06/19] gnu: Add rust-arrow-schema-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 09/19] gnu: Add rust-arrow-array-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 10/19] gnu: Add rust-arrow-select-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 11/19] gnu: Add rust-arrow-string-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 12/19] gnu: Add rust-arrow-ord-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 13/19] gnu: Add rust-arrow-cast-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 14/19] gnu: Add rust-arrow-json-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 16/19] gnu: Add rust-arrow-row-47., Troy Figiel, 2024/01/28