guix-commits
[Top][All Lists]
Advanced

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

07/13: gnu: node: Add node-binary-search-bootstrap.


From: guix-commits
Subject: 07/13: gnu: node: Add node-binary-search-bootstrap.
Date: Fri, 23 Oct 2020 18:14:46 -0400 (EDT)

jlicht pushed a commit to branch wip-node-14
in repository guix.

commit 0c69efd1395a7ba3d7a32177220bc3156106a2c9
Author: Jelle Licht <jlicht@fsfe.org>
AuthorDate: Fri Oct 23 22:53:41 2020 +0200

    gnu: node: Add node-binary-search-bootstrap.
    
    * gnu/packages/node.scm (node-binary-search-bootstrap): New package.
---
 gnu/packages/node.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 285207c..7594c48 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -266,6 +266,38 @@ devices.")
 milliseconds.")
     (license license:expat)))
 
+(define-public node-binary-search-bootstrap
+  (package
+    (name "node-binary-search")
+    (version "1.3.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/darkskyapp/binary-search.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1xr2msdc143cd3xwgq7n3rhzy7j8wrnaidxl0r6l6b6g3mpbpjig"))))
+    (build-system node-build-system)
+    (arguments
+     `(#:node ,node-bootstrap
+       #:tests? #f
+       #:phases
+       (modify-phases
+           %standard-phases
+         (delete 'configure)
+         (delete 'build))))
+    (home-page
+     "https://github.com/darkskyapp/binary-search#readme";)
+    (properties '((hidden? . #t)))
+    (synopsis
+     "Tiny binary search function with comparators")
+    (description
+     "This package is a binary search function for @code{Node.js}.")
+    (license license:cc0)))
+
 (define-public libnode
   (package
     (inherit node)



reply via email to

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