guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: gnu: node-serialport-parser-ready: Move in alphabetical order.


From: guix-commits
Subject: 05/06: gnu: node-serialport-parser-ready: Move in alphabetical order.
Date: Wed, 21 Feb 2024 15:23:17 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit a78a1fc3f0908eea583d2b29a746094d69853443
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Mon Feb 19 01:11:09 2024 +0100

    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>
---
 gnu/packages/node-xyz.scm | 26 +++++++++++++-------------
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]