guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ee7d8a74a6e5f70de4ffc2fc471206586e7db9cd
Author: Daniel Khodabakhsh <[email protected]>
AuthorDate: Tue Jun 24 17:25:10 2025 -0700
gnu: Add node-chalk.
* gnu/packages/node-xyz.scm (node-chalk): New variable.
Change-Id: Ia267af1f10b4b322682ceb44d0bae7d9ee0dc30b
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 86c836529d..f85afa188b 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -349,6 +349,35 @@ and fancy character sets, signed or unsigned data and has
tests, for Node.")
(home-page (git-reference-url (origin-uri source)))
(license license:expat)))
+(define-public node-chalk
+ (package
+ (name "node-chalk")
+ (version "2.4.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chalk/chalk")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1isx2l8a11k5arz1p3kd7mbdb8kjr85l1axdm7yya57vwlkdkc2y"))))
+ (build-system node-build-system)
+ (inputs (list
+ node-ansi-styles
+ node-supports-color
+ node-escape-string-regexp))
+ (arguments (list
+ #:tests? #f ; FIXME: Tests reuire 'xo', 'c8', 'ava', and 'tsd'.
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'patch-dependencies 'modify-package (lambda _
+ (modify-json
+ (delete-dev-dependencies)))))))
+ (synopsis "Terminal string styling library")
+ (description "Chalk comes with an easy to use composable API where you
just chain and\
+ nest the styles you want.")
+ (home-page (git-reference-url (origin-uri source)))
+ (license license:expat)))
+
(define-public node-color-convert
(package
(name "node-color-convert")