[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v6 30/41] gnu: Add node-debug.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v6 30/41] gnu: Add node-debug. |
Date: |
Thu, 30 Dec 2021 02:39:08 -0500 |
* gnu/packages/node-xyz.scm (node-debug): New variable.
---
gnu/packages/node-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 23c45d971e..f1cbb184bd 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1023,3 +1023,50 @@ (define-public node-ms
equivalent milliseconds is returned.
@end itemize")
(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
+ (with-atomic-json-file-replacement "package.json"
+ (lambda (pkg-meta)
+ (delete-dependencies pkg-meta `("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 "Lightweight debugging utility for Node.js and the browser")
+ (description "A tiny JavaScript debugging utility modelled after Node.js
+core's debugging technique. orks in Node.js and web browsers.
+
+The @code{debug} module exposes a function; simply pass this function the name
+of your module, and it will return a decorated version of @code{console.error}
+for you to pass debug statements to. This will allow you to toggle the debug
+output for different parts of your module as well as the module as a whole.")
+ (license license:expat)))
--
2.32.0
- [bug#51838] [PATCH v6 24/41] gnu: Add node-addon-api., (continued)
- [bug#51838] [PATCH v6 24/41] gnu: Add node-addon-api., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 23/41] gnu: Add node-openzwave-shared., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 25/41] gnu: Add node-sqlite3., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 26/41] gnu: Add node-file-uri-to-path., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 22/41] gnu: Add node-nan., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 32/41] gnu: Add node-serialport-parser-delimiter., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 27/41] gnu: Add node-bindings., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 31/41] gnu: Add node-serialport-binding-abstract., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 28/41] gnu: Add node-segfault-handler., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 29/41] gnu: Add node-ms., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 30/41] gnu: Add node-debug.,
Philip McGrath <=
- [bug#51838] [PATCH v6 35/41] gnu: Add node-serialport-parser-regex., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 33/41] gnu: Add node-serialport-parser-readline., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 34/41] gnu: Add node-serialport-bindings., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 36/41] gnu: Add node-serialport-parser-ready., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 37/41] gnu: Add node-serialport-parser-inter-byte-timeout., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 39/41] gnu: Add node-serialport-parser-byte-length., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 41/41] gnu: Add node-serialport., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 00/41] guix: node-build-system: Support compiling add-ons with node-gyp., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 04/41] guix: node-build-system: Add avoid-node-gyp-rebuild phase., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 01/41] guix: node-build-system: Add delete-lockfiles phase., Philip McGrath, 2021/12/30