guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#39119] [PATCH 7/9] gnu: Add node-far.


From: Efraim Flashner
Subject: [bug#39119] [PATCH 7/9] gnu: Add node-far.
Date: Mon, 13 Jan 2020 22:04:45 +0200

* 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]