diff options
author | Jelle Licht <jlicht@fsfe.org> | 2021-03-30 01:27:37 -0400 |
---|---|---|
committer | Jelle Licht <jlicht@fsfe.org> | 2021-04-02 18:04:23 +0200 |
commit | 2cc5883b2149d09cad5d2fe04cf8f7c6e73a0ade (patch) | |
tree | 74ce0041c8bb991a225b17473fb90ccda40746cb /gnu/packages/node.scm | |
parent | 972f2a2affe4837c75e7760cdaa5f913dfb061dc (diff) | |
download | guix-2cc5883b2149d09cad5d2fe04cf8f7c6e73a0ade.tar.gz guix-2cc5883b2149d09cad5d2fe04cf8f7c6e73a0ade.zip |
gnu: Add node-binary-search-bootstrap.
* gnu/packages/node.scm (node-binary-search-bootstrap): New variable.
Diffstat (limited to 'gnu/packages/node.scm')
-rw-r--r-- | gnu/packages/node.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index 1d17502df7..21d6052c06 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -276,6 +276,33 @@ devices.") formats to 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)))) + (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 Node.js.") + (license license:cc0))) + (define-public libnode (package/inherit node (name "libnode") |