guix_mirror_bot pushed a commit to branch master
in repository guix.
commit dd7dac883e327fa8c8a26436f1589a93f27088f5
Author: Daniel Khodabakhsh <[email protected]>
AuthorDate: Tue Jun 24 08:21:40 2025 -0700
gnu: Add node-picocolors.
* gnu/packages/node-xyz.scm (node-picocolors): New variable.
Change-Id: I60c0bbf7b2ea058f398f81dfcf635165ffd1b027
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 7eb3269c6b..081af2ce16 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -876,6 +876,37 @@ It supports lazy decoding and detailed customization of
the reading/writing
code.")
(license license:bsd-3)))
+(define-public node-picocolors
+ (package
+ (name "node-picocolors")
+ (version "1.1.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alexeyraspopov/picocolors")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04g0rl3i08fsakadmls21nbyk5srz7qpmic6m8fjxglbf5mvnsq7"))))
+ (build-system node-build-system)
+ (arguments (list
+ #:tests? #f ; Test is broken, possibly by being run in guix build.
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'patch-dependencies 'modify-package (lambda _
+ (modify-json
+ (delete-dev-dependencies)))))))
+ (synopsis "Small and fast ANSI colors terminal output formatting library")
+ (description "The tiniest and the fastest library for terminal output
formatting with\
+ ANSI colors.
+ * No dependencies.
+ * 14 times smaller and 2 times faster than chalk.
+ * Used by popular tools like PostCSS, SVGO, Stylelint, and Browserslist.
+ * Node.js v6+ & browsers support. Support for both CJS and ESM projects.
+ * TypeScript type declarations included.
+ * NO_COLOR friendly.")
+ (home-page (git-reference-url (origin-uri source)))
+ (license license:isc)))
+
(define-public node-protocol-buffers-schema
(package
(name "node-protocol-buffers-schema")