[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/42: gnu: Add node-serialport.
From: |
guix-commits |
Subject: |
41/42: gnu: Add node-serialport. |
Date: |
Sat, 8 Jan 2022 20:09:39 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit d94608bc136cc42ea70d676122fa363ae866bcd8
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jan 8 03:42:29 2022 -0500
gnu: Add node-serialport.
* gnu/packages/node-xyz.scm (node-serialport): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
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 f863f5fdeb..6db073a164 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1270,3 +1270,36 @@ 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.")))
+
+(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
+ (delete-dependencies `("@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.")))
- 33/42: gnu: Add node-serialport-parser-readline., (continued)
- 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, 2022/01/08
- 41/42: gnu: Add node-serialport.,
guix-commits <=