[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v9 28/41] gnu: Add node-segfault-handler.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v9 28/41] gnu: Add node-segfault-handler. |
Date: |
Sat, 8 Jan 2022 03:42:16 -0500 |
* gnu/packages/node-xyz.scm (node-segfault-handler): New variable.
---
gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 70dc08debe..6352f63688 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -910,3 +910,32 @@ (define-public node-bindings
modules. It is basically the ``swiss army knife'' of @code{require()}ing your
native module's @code{.node} file.")
(license license:expat)))
+
+(define-public node-segfault-handler
+ (package
+ (name "node-segfault-handler")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ddopson/node-segfault-handler")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07nbw35wvrr18kmh8f388v4k5mpjgyy0260bx0xzjdv795i3xvfv"))))
+ (native-inputs
+ (list python))
+ (inputs
+ (list node-bindings node-nan))
+ (build-system node-build-system)
+ (arguments
+ ;; there are no tests
+ `(#:tests? #f))
+ (home-page "https://github.com/ddopson/node-segfault-handler")
+ (synopsis "Catches @code{SIGSEGV} and prints diagnostic information")
+ (description "This package is a tool for debugging Node.js C/C++ native
+code modules and getting stack traces when things go wrong. If a
+@code{SIGSEGV} signal is raised, the module will print a native stack trace to
+both @code{STDERR} and to a timestamped file.")
+ (license license:bsd-3)))
--
2.32.0
- [bug#51838] [PATCH v9 15/41] gnu: node-once: Use 'delete-dependencies'., (continued)
- [bug#51838] [PATCH v9 15/41] gnu: node-once: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 12/41] gnu: node-llparse-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 23/41] gnu: Add node-openzwave-shared., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 21/41] gnu: Add node-readable-stream., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 19/41] gnu: Add node-safe-buffer., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 20/41] gnu: Add node-string-decoder., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 22/41] gnu: Add node-nan., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 26/41] gnu: Add node-file-uri-to-path., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 29/41] gnu: Add node-ms., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 24/41] gnu: Add node-addon-api., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 28/41] gnu: Add node-segfault-handler.,
Philip McGrath <=
- [bug#51838] [PATCH v9 25/41] gnu: Add node-sqlite3., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 30/41] gnu: Add node-debug., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 27/41] gnu: Add node-bindings., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 31/41] gnu: Add node-serialport-binding-abstract., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 32/41] gnu: Add node-serialport-parser-delimiter., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 33/41] gnu: Add node-serialport-parser-readline., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 35/41] gnu: Add node-serialport-parser-regex., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 41/41] gnu: Add node-serialport., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 34/41] gnu: Add node-serialport-bindings., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 40/41] gnu: Add node-serialport-stream., Philip McGrath, 2022/01/08