guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 46d3c833c677e89a0414708a94973818b70120f1
Author: Daniel Khodabakhsh <[email protected]>
AuthorDate: Tue Jun 24 16:19:00 2025 -0700
gnu: Add node-ansi-styles.
* gnu/packages/node-xyz.scm (node-ansi-styles): New variable.
Change-Id: I5ea900aae7a16418d442de5cd058eed5e18a7cbc
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/node-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 7341d849e1..c8485d8b16 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -164,6 +164,32 @@ It is important to remember that @emph{other} Node.js
interfaces such as
ABI-stable across Node.js major versions.")
(license license:expat)))
+(define-public node-ansi-styles
+ (package
+ (name "node-ansi-styles")
+ (version "3.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chalk/ansi-styles")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15b5ggrhxi2zw5qlhr2di1b7rmfyacrl4rf8j3ndf8iqkv9fijqd"))))
+ (build-system node-build-system)
+ (inputs (list
+ node-color-convert))
+ (arguments (list
+ #:tests? #f ; FIXME: Tests require 'xo', 'ava', and 'tsd'.
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'patch-dependencies 'modify-package (lambda _
+ (modify-json
+ (delete-dev-dependencies)))))))
+ (synopsis "ANSI escape codes for styling strings in the terminal")
+ (description "Library of ANSI escape codes to be used to style strings in
terminals.")
+ (home-page (git-reference-url (origin-uri source)))
+ (license license:expat)))
+
(define-public node-array-back
(package
(name "node-array-back")