guix-commits
[Top][All Lists]
Advanced

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

07/09: gnu: Add node-far.


From: guix-commits
Subject: 07/09: gnu: Add node-far.
Date: Mon, 20 Jan 2020 02:43:21 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 1c83b1c0f3fcdaee96bc3cfd7227f043f547e123
Author: Efraim Flashner <address@hidden>
AuthorDate: Mon Jan 13 22:04:45 2020 +0200

    gnu: Add node-far.
    
    * 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 b423e32..e7135ed 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



reply via email to

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