diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2024-02-19 01:11:09 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-02-21 20:16:22 +0000 |
commit | a78a1fc3f0908eea583d2b29a746094d69853443 (patch) | |
tree | 4ea2cdbcd5f398cb0ff9287cfc7db60ba85e8b6e /gnu | |
parent | 5b2f6a497f2adc3e0035c3e103eaeef342c3010f (diff) |
gnu: node-serialport-parser-ready: Move in alphabetical order.
* gnu/packages/node-xyz.scm (node-serialport-parser-ready): Move
package in alphabetical order.
Change-Id: I4d16d0ea922cfdd5fde4f055200645dee4110036
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/node-xyz.scm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 1891caabf7..e432f97ae8 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1337,10 +1337,10 @@ 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."))) -(define-public node-serialport-parser-regex +(define-public node-serialport-parser-ready (package (inherit node-serialport) - (name "node-serialport-parser-regex") + (name "node-serialport-parser-ready") (version "9.2.4") (inputs `()) (arguments @@ -1348,21 +1348,22 @@ after a (configurable) newline delimiter is received."))) (modify-phases %standard-phases (add-after 'unpack 'chdir (lambda args - (chdir "packages/parser-regex")))) + (chdir "packages/parser-ready")))) #:tests? #f)) - (synopsis "Node SerialPort parser to split data on a regular expression") + (synopsis "Node SerialPort parser to wait for specified byte sequence") (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{Regex}, a parser that uses a regular -expression to split the incoming text."))) +messages. This package provides @code{Ready}, a parser that waits for a +specified sequence of ``ready'' bytes before emitting a ready event and +emitting data events."))) -(define-public node-serialport-parser-ready +(define-public node-serialport-parser-regex (package (inherit node-serialport) - (name "node-serialport-parser-ready") + (name "node-serialport-parser-regex") (version "9.2.4") (inputs `()) (arguments @@ -1370,17 +1371,16 @@ expression to split the incoming text."))) (modify-phases %standard-phases (add-after 'unpack 'chdir (lambda args - (chdir "packages/parser-ready")))) + (chdir "packages/parser-regex")))) #:tests? #f)) - (synopsis "Node SerialPort parser to wait for specified byte sequence") + (synopsis "Node SerialPort parser to split data on a regular expression") (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{Ready}, a parser that waits for a -specified sequence of ``ready'' bytes before emitting a ready event and -emitting data events."))) +messages. This package provides @code{Regex}, a parser that uses a regular +expression to split the incoming text."))) (define-public node-serialport-parser-inter-byte-timeout (package |