From a78a1fc3f0908eea583d2b29a746094d69853443 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 19 Feb 2024 01:11:09 +0100 Subject: 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 --- gnu/packages/node-xyz.scm | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'gnu/packages') 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 -- cgit 1.4.1