summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/node-xyz.scm26
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