summary refs log tree commit diff
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2020-10-23 22:54:21 +0200
committerJelle Licht <jlicht@fsfe.org>2020-12-04 12:49:02 +0100
commit7541e2222ae0151e56dcade6d7fb94f8d9729196 (patch)
tree80bdf9c80b9a94cffd74077839b0ffedb3a4dc75
parent6fc283a05aae933b274a6624d28e13fe95ad3d40 (diff)
downloadguix-7541e2222ae0151e56dcade6d7fb94f8d9729196.tar.gz
gnu: node: Add node-debug-bootstrap.
* gnu/packages/node.scm (node-debug-bootstrap): New package.
-rw-r--r--gnu/packages/node.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index c85e10454a..5a16c95c34 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)