jlicht pushed a commit to branch wip-node-14
in repository guix.
commit 7541e2222ae0151e56dcade6d7fb94f8d9729196
Author: Jelle Licht <[email protected]>
AuthorDate: Fri Oct 23 22:54:21 2020 +0200
gnu: node: Add node-debug-bootstrap.
* gnu/packages/node.scm (node-debug-bootstrap): New package.
---
gnu/packages/node.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index c85e104..5a16c95 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -321,6 +321,39 @@ milliseconds.")
"This package is a binary search function for @code{Node.js}.")
(license license:cc0)))
+(define-public node-debug-bootstrap
+ (package
+ (name "node-debug")
+ (version "4.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/visionmedia/debug.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08g52r1d4yqcsfdfb7n5if33d4cghaq75gx5n9hj6m6fd8jfp2pi"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:node ,node-bootstrap
+ #:tests? #f
+ #:phases
+ (modify-phases
+ %standard-phases
+ (delete 'configure)
+ (delete 'build))))
+ (inputs `(("node-ms" ,node-ms-bootstrap)))
+ (home-page
+ "https://github.com/visionmedia/debug#readme")
+ (properties '((hidden? . #t)))
+ (synopsis "Small debugging utility")
+ (description "This packages contains a tiny JavaScript debugging utility
+modelled after @code{Node.js} core's debugging technique. It works in
+@code{Node.js} and web browsers.")
+ (license license:expat)))
+
(define-public libnode
(package
(inherit node)