GNU bug report logs -
#51838
[PATCH 00/11] guix: node-build-system: Support compiling add-ons with node-gyp.
Previous Next
Reported by: Philip McGrath <philip <at> philipmcgrath.com>
Date: Sun, 14 Nov 2021 12:43:01 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #1070 received at 51838 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/node-xyz.scm (node-serialport): New variable.
---
gnu/packages/node-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index e3fc8c23b7..449b2a04fd 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1264,3 +1264,34 @@ (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
+ `(#: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
This bug report was last modified 3 years and 195 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.