[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v4 31/45] gnu: Add node-bindings.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v4 31/45] gnu: Add node-bindings. |
Date: |
Mon, 13 Dec 2021 01:00:53 -0500 |
* gnu/packages/node-xyz.scm (node-bindings): New variable.
---
gnu/packages/node-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index bdfe71a1f3..021bc81403 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -842,3 +842,29 @@ (define-public node-file-uri-to-path
URI to a file path. It accepts a @code{file:} URI and returns a file path
suitable for use with the @code{fs} module functions.")
(license license:expat)))
+
+(define-public node-bindings
+ (package
+ (name "node-bindings")
+ (version "1.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/TooTallNate/node-bindings")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "100gp6kpjvd4j1dqnp0sbjr1hqx5mz7r61q9qy527jyhk9mj47wk"))))
+ (inputs
+ `(("node-file-uri-to-path" ,node-file-uri-to-path)))
+ (build-system node-build-system)
+ (arguments
+ ;; there are no tests
+ `(#:tests? #f))
+ (home-page "https://github.com/TooTallNate/node-bindings")
+ (synopsis "Help for loading your native module's @code{.node} file")
+ (description "This is a helper module for authors of Node.js native addon
+modules. It is basically the ``swiss army knife'' of @code{require()}ing your
+native module's @code{.node} file.")
+ (license license:expat)))
--
2.32.0
- [bug#51838] [PATCH v4 15/45] gnu: node-semver: Use #:absent-dependencies., (continued)
- [bug#51838] [PATCH v4 15/45] gnu: node-semver: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 16/45] gnu: node-wrappy: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 19/45] gnu: node-irc: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 20/45] guix: node-build-system: Add implicit libuv input., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 17/45] gnu: node-once: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 18/45] gnu: node-irc-colors: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 21/45] guix: node-build-system: Add avoid-node-gyp-rebuild phase., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 28/45] gnu: Add node-addon-api., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 22/45] gnu: Add node-inherits., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 30/45] gnu: Add node-file-uri-to-path., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 31/45] gnu: Add node-bindings.,
Philip McGrath <=
- [bug#51838] [PATCH v4 37/45] gnu: Add node-serialport-parser-readling., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 25/45] gnu: Add node-readable-stream., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 27/45] gnu: Add node-openzwave-shared., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 23/45] gnu: Add node-safe-buffer., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 26/45] gnu: Add node-nan., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 32/45] gnu: Add node-segfault-handler., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 29/45] gnu: Add node-sqlite3., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 35/45] gnu: Add node-serialport-binding-abstract., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 24/45] gnu: Add node-string-decoder., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 33/45] gnu: Add node-ms., Philip McGrath, 2021/12/13