[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v5 37/45] gnu: Add node-serialport-parser-readline.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v5 37/45] gnu: Add node-serialport-parser-readline. |
Date: |
Thu, 16 Dec 2021 21:03:17 -0500 |
* gnu/packages/node-xyz.scm (node-serialport-parser-readline): New
variable.
---
gnu/packages/node-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index abe0e9b291..d117df1e81 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1031,3 +1031,26 @@ (define-public node-serialport-parser-delimiter
Parsers are used to take raw binary data and transform them into usable
messages. This package provides @code{Delimiter}, a parser that emits data
each time a specified byte sequence is received.")))
+
+(define-public node-serialport-parser-readline
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-parser-readline")
+ (version "9.2.4")
+ (inputs
+ (list node-serialport-parser-delimiter))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-readline"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser to split data on newlines")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+Parsers are used to take raw binary data and transform them into usable
+messages. This package provides @code{Readline}, a parser that emits data
+after a (configurable) newline delimiter is received.")))
--
2.32.0
- [bug#51838] [PATCH v5 26/45] gnu: Add node-nan., (continued)
- [bug#51838] [PATCH v5 26/45] gnu: Add node-nan., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 25/45] gnu: Add node-readable-stream., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 27/45] gnu: Add node-openzwave-shared., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 23/45] gnu: Add node-safe-buffer., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 28/45] gnu: Add node-addon-api., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 29/45] gnu: Add node-sqlite3., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 30/45] gnu: Add node-file-uri-to-path., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 31/45] gnu: Add node-bindings., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 33/45] gnu: Add node-ms., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 32/45] gnu: Add node-segfault-handler., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 37/45] gnu: Add node-serialport-parser-readline.,
Philip McGrath <=
- [bug#51838] [PATCH v5 34/45] gnu: Add node-debug., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 35/45] gnu: Add node-serialport-binding-abstract., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 36/45] gnu: Add node-serialport-parser-delimiter., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 38/45] gnu: Add node-serialport-bindings., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 39/45] gnu: Add node-serialport-parser-regex., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 40/45] gnu: Add node-serialport-parser-ready., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 42/45] gnu: Add node-serialport-parser-cctalk., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 41/45] gnu: Add node-serialport-parser-inter-byte-timeout., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 44/45] gnu: Add node-serialport-stream., Philip McGrath, 2021/12/16
- [bug#51838] [PATCH v5 45/45] gnu: Add node-serialport., Philip McGrath, 2021/12/16