guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4fde42845f981a011eddb166f988f79aca68f5f5
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Jan 2 23:46:21 2026 +0100
gnu: Add node-colors.
* gnu/packages/node-xyz.scm (node-colors): New variable.
---
gnu/packages/node-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index a3ee562a42..90e517ff31 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -565,6 +565,33 @@ buffer masking and unmasking operations.")
"This package provides a JSON list with color names and their values.")
(license license:expat)))
+(define-public node-colors
+ (package
+ (name "node-colors")
+ (version "1.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Marak/colors.js")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ih98ycxjprlxn72ygqgkgcp9wkpd20apndjd11270qyyifvkr8y"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dev-dependencies
+ (lambda _
+ (modify-json (delete-dev-dependencies)))))))
+ (home-page "https://github.com/Marak/colors.js")
+ (synopsis "Get colors in your Node.js console")
+ (description "This package provides a library for adding colors to
+Node.js console output.")
+ (license license:expat)))
+
(define-public node-command-line-usage
(package
(name "node-command-line-usage")