diff options
| author | Daniel Khodabakhsh <d@niel.khodabakh.sh> | 2025-06-24 08:21:40 -0700 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-01-27 10:39:43 +0100 |
| commit | dd7dac883e327fa8c8a26436f1589a93f27088f5 (patch) | |
| tree | 6486c01dd1ade7de6dc48eda55e47206e2b6c088 /gnu | |
| parent | a98bfe26fbef2c7ec52cc36ef97eff53a3d9cf40 (diff) | |
gnu: Add node-picocolors.
* gnu/packages/node-xyz.scm (node-picocolors): New variable.
Change-Id: I60c0bbf7b2ea058f398f81dfcf635165ffd1b027
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/node-xyz.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 7eb3269c6bb..081af2ce16a 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") |
