guix_mirror_bot pushed a commit to branch master
in repository guix.

commit edaab3e57724731bd0dd151762d51f788c38cfee
Author: Daniel Khodabakhsh <[email protected]>
AuthorDate: Tue Jun 24 17:20:03 2025 -0700

    gnu: Add node-table-layout.
    
    * gnu/packages/node-xyz.scm (node-table-layout): New variable.
    
    Change-Id: I52722b5c23f877e0e11efca970a55a9bff4941eb
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/node-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index ccbf3d301e..0066ab643f 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -2597,6 +2597,37 @@ The stdout/stderr objects specifies a level of support 
for color through a .leve
     (home-page (git-reference-url (origin-uri source)))
     (license license:expat)))
 
+(define-public node-table-layout
+  (package
+    (name "node-table-layout")
+    (version "1.0.2")
+    (source (origin
+      (method git-fetch)
+      (uri (git-reference
+        (url "https://github.com/75lb/table-layout";)
+        (commit (string-append "v" version))))
+      (file-name (git-file-name name version))
+      (sha256
+        (base32 "1k21p0ia995ax1biknalivq444jw9xy31bp52a5sq3rwlnzp0vbx"))))
+    (build-system node-build-system)
+    (inputs (list
+      node-typical
+      node-array-back
+      node-wordwrapjs
+      node-deep-extend))
+    (arguments (list
+      #:tests? #f ; FIXME: Tests require 'test-runner'.
+      #:phases #~(modify-phases %standard-phases
+        (add-before 'patch-dependencies 'modify-package (lambda _
+          (modify-json
+            (delete-dev-dependencies)))))))
+    (synopsis "Stylable text tables for handling ansi colour")
+    (description "Generates plain-text tables from JSON recordset input (array 
of\
+ objects). Useful for presenting text in column layout or data in table layout 
in\
+ text-based user interfaces.")
+    (home-page (git-reference-url (origin-uri source)))
+    (license license:expat)))
+
 (define-public node-tiddlywiki
   (package
     (name "node-tiddlywiki")

Reply via email to