[bug#77382,rust-team,12/18] gnu: Add rust-prettytable-rs-0.10.

Message ID bf82022cb7d86aada8a04779508bcbc3e6d6f78e.1743337577.git.gabrielsantosdesouza@disroot.org
State New
Headers
Series gnu: Add matugen. |

Commit Message

Gabriel Santos March 30, 2025, 12:26 p.m. UTC
  * 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(+)
  

Patch

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")