efraim pushed a commit to branch rust-team
in repository guix.
commit 5d03cfead1898635e9511e5d919181d89ab5103e
Author: Steve George <[email protected]>
AuthorDate: Wed Oct 2 09:30:05 2024 +0100
gnu: Add rust-tabled-0.15.
* gnu/packages/crates-io.scm (rust-tabled-0.15): New variable.
(rust-tabled-0.14): Inherit from rust-tabled-0.15.
Change-Id: If583f8a020435323005ed4412ddef62f61d1d223
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f92890b6e7..4fd221164d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79446,8 +79446,37 @@ well.")
#:cargo-development-inputs
(("rust-itertools" ,rust-itertools-0.9))))))
+(define-public rust-tabled-0.15
+ (package
+ (name "rust-tabled")
+ (version "0.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tabled" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03h5j83pp5pp0hbf6dh1fvh8pwhzj3qvmaj8d8cra54jic68p6ac"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; use of undeclared crate or module `testing_table`
+ #:cargo-inputs
+ (("rust-ansi-str" ,rust-ansi-str-0.8)
+ ("rust-ansitok" ,rust-ansitok-0.2)
+ ("rust-papergrid" ,rust-papergrid-0.11)
+ ("rust-tabled-derive" ,rust-tabled-derive-0.7)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3))))
+ (home-page "https://github.com/zhiburt/tabled")
+ (synopsis
+ "Library for pretty printing tables of Rust `struct`s and `enum`s")
+ (description "This package provides a library for pretty printing tables of
+Rust @code{struct}s and @code{enum}s.")
+ (license license:expat)))
+
(define-public rust-tabled-0.14
(package
+ (inherit rust-tabled-0.15)
(name "rust-tabled")
(version "0.14.0")
(source
@@ -79465,12 +79494,7 @@ well.")
("rust-papergrid" ,rust-papergrid-0.10)
("rust-tabled-derive" ,rust-tabled-derive-0.6)
("rust-unicode-width" ,rust-unicode-width-0.1))
- #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3))))
- (home-page "https://github.com/zhiburt/tabled")
- (synopsis "Library for pretty print tables of Rust `struct`s and `enum`s")
- (description "This package provides a library for pretty print tables of
-Rust @code{struct}s and @code{enum}s.")
- (license license:expat)))
+ #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3))))))
(define-public rust-tabled-derive-0.7
(package