Subject: [PATCH rust-team 12/18] gnu: Add rust-prettytable-rs-0.10.

From: Gabriel Santos <[email-masked]>
Date: Sun, 30 Mar 2025 09:26:27 -0300

* gnu/packages/crates-io.scm (rust-prettytable-rs-0.10): New variable.

Change-Id: Ibaf654ba0423aaec6bbab2d2a751bf5f712b1d25
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 12bf09bd91..aba6058dd5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58800,6 +58800,36 @@ (define-public rust-prettyplease-0.1
        #:cargo-development-inputs
        (("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-prettytable-rs-0.10
+  (package
+    (name "rust-prettytable-rs")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "prettytable-rs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0nnryfnahfwy0yxhv4nsp1id25k00cybx3ih8xjsp9haa43mx8pf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         ;; Requires an actual terminal.
+         "--skip=tests::test_panic")
+       #:cargo-inputs (("rust-csv" ,rust-csv-1)
+                       ("rust-encode-unicode" ,rust-encode-unicode-1)
+                       ("rust-is-terminal" ,rust-is-terminal-0.4)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-term" ,rust-term-0.7)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1))))
+    (home-page "https://github.com/phsym/prettytable-rs")
+    (synopsis "Library for printing pretty formatted tables in terminal")
+    (description
+     "This package provides a library for printing pretty
+formatted tables in terminal.")
+    (license license:bsd-3)))
+
 (define-public rust-prettytable-rs-0.8
   (package
     (name "rust-prettytable-rs")
-- 
2.49.0