[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/42: gnu: Add node-serialport-stream.
From: |
guix-commits |
Subject: |
40/42: gnu: Add node-serialport-stream. |
Date: |
Sat, 8 Jan 2022 20:09:39 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit 84e811ca0fb395179c9e0ba07708d99d957c73cd
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jan 8 03:42:28 2022 -0500
gnu: Add node-serialport-stream.
* gnu/packages/node-xyz.scm (node-serialport-stream): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/node-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index d5b2ed3a44..f863f5fdeb 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1242,3 +1242,31 @@ recommended high-level interface.
Parsers are used to take raw binary data and transform them into usable
messages. This package provides @code{ByteLength}, a parser that emits data
as a buffer every time a specified number of bytes are received.")))
+
+(define-public node-serialport-stream
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-stream")
+ (version "9.2.4")
+ (inputs
+ (list node-debug))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `(;; devDependencies
+ "@serialport/binding-mock"))))
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/stream"))))
+ #:tests? #f))
+ (synopsis "Node.js stream interface for Node SerialPort")
+ (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.
+
+This package provides an interface for using Node SerialPort bindings via the
+Node.js Stream API. The stream is a duplex stream, allowing for reading and
+writing. It has additional methods for managing the SerialPort
+connection.")))
- 27/42: gnu: Add node-bindings., (continued)
- 27/42: gnu: Add node-bindings., guix-commits, 2022/01/08
- 33/42: gnu: Add node-serialport-parser-readline., guix-commits, 2022/01/08
- 35/42: gnu: Add node-serialport-parser-regex., guix-commits, 2022/01/08
- 34/42: gnu: Add node-serialport-bindings., guix-commits, 2022/01/08
- 39/42: gnu: Add node-serialport-parser-byte-length., guix-commits, 2022/01/08
- 42/42: gnu: node-mersenne: Fix typo in description., guix-commits, 2022/01/08
- 25/42: gnu: Add node-sqlite3., guix-commits, 2022/01/08
- 36/42: gnu: Add node-serialport-parser-ready., guix-commits, 2022/01/08
- 38/42: gnu: Add node-serialport-parser-cctalk., guix-commits, 2022/01/08
- 37/42: gnu: Add node-serialport-parser-inter-byte-timeout., guix-commits, 2022/01/08
- 40/42: gnu: Add node-serialport-stream.,
guix-commits <=
- 41/42: gnu: Add node-serialport., guix-commits, 2022/01/08