From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46166) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir61H-000426-Lb for guix-patches@gnu.org; Mon, 13 Jan 2020 15:09:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ir61G-0004ir-Ec for guix-patches@gnu.org; Mon, 13 Jan 2020 15:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ir61G-0004ih-Am for guix-patches@gnu.org; Mon, 13 Jan 2020 15:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ir61G-0008QC-6I for guix-patches@gnu.org; Mon, 13 Jan 2020 15:09:02 -0500 Subject: [bug#39119] [PATCH 7/9] gnu: Add node-far. References: <20200113200137.GF858@E5400> In-Reply-To: <20200113200137.GF858@E5400> Resent-Message-ID: From: Efraim Flashner Date: Mon, 13 Jan 2020 22:04:45 +0200 Message-Id: <20200113200447.5490-7-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-far): New variable. --- gnu/packages/node-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index b423e3267f..e7135ed781 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -45,6 +45,36 @@ @code{localStorage} fallbacks.") (license license:expat))) +(define-public node-far + (package + (name "node-far") + (version "0.0.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/felixge/node-far") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "083rv1rszjn0i91zcpaghlid0kwhk0angmpj4hiflrlyhd6cmjzw")))) + (build-system node-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + ;; We skip the two tests which are supposed to fail. + (invoke "bin/node-far" "-v" "test/" "-e" "test.*fail.js")))))) + (inputs + `(("node-oop" ,node-oop))) + (home-page "https://github.com/felixge/node-far") + (synopsis "Node.js test runner") + (description "This package provides a simple test runner that finds and runs +multiple node.js files, while providing useful information about output and exit +codes.") + (license license:expat))) (define-public node-long-stack-traces (package -- 2.24.1