[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/42: gnu: Add node-debug.
From: |
guix-commits |
Subject: |
30/42: gnu: Add node-debug. |
Date: |
Sat, 8 Jan 2022 20:09:33 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit 161f2b1522cb5f16ed7d6574771d5edf1f12cc07
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jan 8 03:42:18 2022 -0500
gnu: Add node-debug.
* gnu/packages/node-xyz.scm (node-debug): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/node-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index b07e17d54c..f949aaa581 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -955,3 +955,45 @@ both @file{stderr} and to a timestamped file.")
milliseconds. A number supplied as integer or string is returned as-is, while
a string consisting of a number and a time unit is converted to milliseconds.")
(license license:expat)))
+
+(define-public node-debug
+ (package
+ (name "node-debug")
+ (version "4.3.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/debug-js/debug")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ji0dmdl2xkgxqxvd6xjy7k3mmknmhvqjgc40vyly9ka1mpf20vb"))))
+ (inputs
+ (list node-ms))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("brfs"
+ "browserify"
+ "coveralls"
+ "istanbul"
+ "karma"
+ "karma-browserify"
+ "karma-chrome-launcher"
+ "karma-mocha"
+ "mocha"
+ "mocha-lcov-reporter"
+ "xo"
+ "supports-color")))))
+ #:tests? #f))
+ (home-page "https://github.com/debug-js/debug")
+ (synopsis "Debugging utility for Node.js")
+ (description "The @code{debug} module exposes a function, which if called
+with a module name as argument provides a function that writes debug output to
+@code{console.error} under that module name. This output can be controlled in
+a more fine-grained manner by binding the @env{DEBUG} variable.")
+ (license license:expat)))
- 12/42: gnu: node-llparse-bootstrap: Use 'delete-dependencies'., (continued)
- 12/42: gnu: node-llparse-bootstrap: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 15/42: gnu: node-once: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 16/42: gnu: node-irc-colors: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 17/42: gnu: node-irc: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 18/42: gnu: Add node-inherits., guix-commits, 2022/01/08
- 19/42: gnu: Add node-safe-buffer., guix-commits, 2022/01/08
- 20/42: gnu: Add node-string-decoder., guix-commits, 2022/01/08
- 21/42: gnu: Add node-readable-stream., guix-commits, 2022/01/08
- 22/42: gnu: Add node-nan., guix-commits, 2022/01/08
- 23/42: gnu: Add node-openzwave-shared., guix-commits, 2022/01/08
- 30/42: gnu: Add node-debug.,
guix-commits <=
- 27/42: gnu: Add node-bindings., guix-commits, 2022/01/08
- 33/42: gnu: Add node-serialport-parser-readline., guix-commits, 2022/01/08
- 35/42: gnu: Add node-serialport-parser-regex., guix-commits, 2022/01/08
- 34/42: gnu: Add node-serialport-bindings., guix-commits, 2022/01/08
- 39/42: gnu: Add node-serialport-parser-byte-length., guix-commits, 2022/01/08
- 42/42: gnu: node-mersenne: Fix typo in description., guix-commits, 2022/01/08
- 25/42: gnu: Add node-sqlite3., guix-commits, 2022/01/08
- 36/42: gnu: Add node-serialport-parser-ready., guix-commits, 2022/01/08
- 38/42: gnu: Add node-serialport-parser-cctalk., guix-commits, 2022/01/08
- 37/42: gnu: Add node-serialport-parser-inter-byte-timeout., guix-commits, 2022/01/08