[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v6 41/41] gnu: Add node-serialport.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v6 41/41] gnu: Add node-serialport. |
Date: |
Thu, 30 Dec 2021 02:39:19 -0500 |
* gnu/packages/node-xyz.scm (node-serialport): New variable.
---
gnu/packages/node-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index a95749f737..1f51c0d636 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1348,3 +1348,38 @@ (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
+ (list node-serialport-bindings
+ node-serialport-parser-delimiter
+ node-serialport-parser-readline
+ node-serialport-parser-regex
+ node-serialport-parser-ready
+ node-serialport-parser-inter-byte-timeout
+ node-serialport-parser-cctalk
+ node-serialport-parser-byte-length
+ node-serialport-stream
+ node-debug))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (with-atomic-json-file-replacement "package.json"
+ (lambda (pkg-meta)
+ (delete-dependencies pkg-meta
+ `("@serialport/binding-mock"))))))
+ (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 v6 31/41] gnu: Add node-serialport-binding-abstract., (continued)
- [bug#51838] [PATCH v6 31/41] gnu: Add node-serialport-binding-abstract., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 28/41] gnu: Add node-segfault-handler., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 29/41] gnu: Add node-ms., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 30/41] gnu: Add node-debug., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 35/41] gnu: Add node-serialport-parser-regex., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 33/41] gnu: Add node-serialport-parser-readline., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 34/41] gnu: Add node-serialport-bindings., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 36/41] gnu: Add node-serialport-parser-ready., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 37/41] gnu: Add node-serialport-parser-inter-byte-timeout., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 39/41] gnu: Add node-serialport-parser-byte-length., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 41/41] gnu: Add node-serialport.,
Philip McGrath <=
- [bug#51838] [PATCH v7 00/41] guix: node-build-system: Support compiling add-ons with node-gyp., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 04/41] guix: node-build-system: Add avoid-node-gyp-rebuild phase., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 01/41] guix: node-build-system: Add delete-lockfiles phase., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 02/41] guix: node-build-system: Add implicit libuv input., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 06/41] gnu: node-semver-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 03/41] guix: node-build-system: Add JSON utilities., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 05/41] guix: node-build-system: Add #:absent-dependencies argument., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 07/41] gnu: node-ms-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 12/41] gnu: node-llparse-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v7 14/41] gnu: node-wrappy: Use #:absent-dependencies., Philip McGrath, 2021/12/30