summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2024-02-19 01:11:07 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-02-21 20:16:21 +0000
commitc7f76fb8372d98659584b3a1ffe46222299bd400 (patch)
treee302c117e1f2bcc47c75c4e32bd314faf56e810d /gnu
parentc4ea0a41141df4a6d59f3bac27ffe04ae0220d5a (diff)
gnu: node-serialport-parser-byte-length: Move in alphabetical order.
* gnu/packages/node-xyz.scm (node-serialport-parser-byte-length): Move package in alphabetical order. Change-Id: I0b6126f11695c9e08fb51327a7a87385928d4472 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/node-xyz.scm44
1 files changed, 22 insertions, 22 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index bb1fb826ed..4960d7f54c 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1247,6 +1247,28 @@ talk to the underlying system. You never have to use @code{Binding} objects
directly. There is also a @code{MockBinding} available (but not yet packaged
for Guix) to assist with testing.")))
+(define-public node-serialport-parser-byte-length
+ (package
+ (inherit node-serialport)
+ (name "node-serialport-parser-byte-length")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-byte-length"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser for fixed-length buffers")
+ (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{ByteLength}, a parser that emits data
+as a buffer every time a specified number of bytes are received.")))
+
(define-public node-serialport-parser-delimiter
(package
(inherit node-serialport)
@@ -1382,28 +1404,6 @@ messages. This package provides @code{CCTalk}, which emits packets for the
ccTalk protocol (an open standard for currency detectors) as they are
received.")))
-(define-public node-serialport-parser-byte-length
- (package
- (inherit node-serialport)
- (name "node-serialport-parser-byte-length")
- (version "9.2.4")
- (inputs `())
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda args
- (chdir "packages/parser-byte-length"))))
- #:tests? #f))
- (synopsis "Node SerialPort parser for fixed-length buffers")
- (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{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)