[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v4 45/45] gnu: Add node-serialport.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v4 45/45] gnu: Add node-serialport. |
Date: |
Mon, 13 Dec 2021 01:01:07 -0500 |
* gnu/packages/node-xyz.scm (node-serialport): New variable.
---
gnu/packages/node-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 271082ce5b..92e16f2dc6 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1258,3 +1258,36 @@ (define-public node-serialport-stream
Node.js Stream API. The stream is a duplex stream, allowing for reading and
writing. It has additional methods for managing the SerialPort
connection.")))
+
+(define-public node-serialport
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport")
+ (version "9.2.7")
+ (inputs
+ `(("node-serialport-bindings" ,node-serialport-bindings)
+ ("node-serialport-parser-delimiter" ,node-serialport-parser-delimiter)
+ ("node-serialport-parser-readline" ,node-serialport-parser-readline)
+ ("node-serialport-parser-regex" ,node-serialport-parser-regex)
+ ("node-serialport-parser-ready" ,node-serialport-parser-ready)
+ ("node-serialport-parser-inter-byte-timeout"
+ ,node-serialport-parser-inter-byte-timeout)
+ ("node-serialport-parser-cctalk" ,node-serialport-parser-cctalk)
+ ("node-serialport-parser-byte-length"
+ ,node-serialport-parser-byte-length)
+ ("node-serialport-stream" ,node-serialport-stream)
+ ("node-debug" ,node-debug)))
+ (arguments
+ `(#:absent-dependencies
+ `("@serialport/binding-mock")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/serialport"))))
+ #:tests? #f))
+ (synopsis "Node.js package to access serial ports")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. This package is the recommended entry point for most
+projects. It combines a high-level Node.js stream interface with a useful
+default set of parsers and bindings.")))
--
2.32.0
- [bug#51838] [PATCH v4 35/45] gnu: Add node-serialport-binding-abstract., (continued)
- [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
- [bug#51838] [PATCH v4 34/45] gnu: Add node-debug., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 36/45] gnu: Add node-serialport-parser-delimiter., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 38/45] gnu: Add node-serialport-bindings., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 39/45] gnu: Add node-serialport-parser-regex., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 41/45] gnu: Add node-serialport-parser-inter-byte-timeout., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 40/45] gnu: Add node-serialport-parser-ready., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 43/45] gnu: Add node-serialport-parser-byte-length., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 45/45] gnu: Add node-serialport.,
Philip McGrath <=
- [bug#51838] [PATCH v4 42/45] gnu: Add node-serialport-parser-cctalk., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 44/45] gnu: Add node-serialport-stream., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v5 00/45] guix: node-build-system: Support compiling add-ons with node-gyp., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 01/45] gnu: node: Avoid duplicating build phases., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 02/45] gnu: node: Update to 10.24.1 for bootstrapping., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 05/45] guix: node-build-system: Add delete-lockfiles phase., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 03/45] gnu: node: Patch shebangs in node_modules., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 11/45] gnu: node-debug-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 04/45] gnu: node: Add an npmrc file to set nodedir., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 10/45] gnu: node-binary-search-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/16