From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46322) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir62F-0005jG-SU for guix-patches@gnu.org; Mon, 13 Jan 2020 15:10:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ir62E-0006BE-Q4 for guix-patches@gnu.org; Mon, 13 Jan 2020 15:10:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54167) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ir62E-0006Au-Mk for guix-patches@gnu.org; Mon, 13 Jan 2020 15:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ir62E-0008S8-Hb for guix-patches@gnu.org; Mon, 13 Jan 2020 15:10:02 -0500 Subject: [bug#39119] [PATCH 8/9] gnu: Add node-stack-trace. References: <20200113200137.GF858@E5400> In-Reply-To: <20200113200137.GF858@E5400> Resent-Message-ID: From: Efraim Flashner Date: Mon, 13 Jan 2020 22:04:46 +0200 Message-Id: <20200113200447.5490-8-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39119@debbugs.gnu.org Cc: Efraim Flashner * gnu/packages/node-xyz.scm (node-stack-trace): New variable. --- gnu/packages/node-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index e7135ed781..03d1a60faf 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -146,6 +146,40 @@ random number generator.") while being as light-weight and simple as possible.") (license license:expat)))) +(define-public node-stack-trace + ;; There have been improvements since the last release. + (let ((commit "4fd379ee78965ce7ce8820b436f1b1b590d5dbcf") + (revision "1")) + (package + (name "node-stack-trace") + (version (git-version "0.0.10" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/felixge/node-stack-trace") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pk19wcpy8i95z5jr77fybd57qj7xmzmniap4dy47vjlmpkqia4i")))) + (build-system node-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'skip-intentionally-failing-test + (lambda _ + (substitute* "test/run.js" + (("far.include") "far.exclude(/test-parse.js/)\nfar.include")) + #t))))) + (native-inputs + `(("node-far" ,node-far) + ("node-long-stack-traces" ,node-long-stack-traces))) + (home-page "https://github.com/felixge/node-stack-trace") + (synopsis "Get v8 stack traces as an array of CallSite objects") + (description "Get v8 stack traces as an array of CallSite objects.") + (license license:expat)))) + (define-public node-statsd-parser (package (name "node-statsd-parser") -- 2.24.1