From c4ea0a41141df4a6d59f3bac27ffe04ae0220d5a Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 19 Feb 2024 01:11:06 +0100 Subject: [PATCH] gnu: node-serialport-bindings: Move package in alphabetical order. * /gnu/packages/node-xyz.scm (node-serialport-bindings): Move package in alphabetical order. Change-Id: I8a232d2160191386c5cd4e41ce62c6e9bea030d7 Signed-off-by: Sharlatan Hellseher --- gnu/packages/node-xyz.scm | 90 +++++++++++++++++++-------------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 81db9f4aa4..bb1fb826ed 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1191,51 +1191,6 @@ (define-public node-serialport-binding-abstract SerialPort bindings. You wouldn't use this class directly, but instead extend it to make a new binding for a different platform or underling technology."))) -(define-public node-serialport-parser-delimiter - (package - (inherit node-serialport) - (name "node-serialport-parser-delimiter") - (version "9.2.4") - (inputs `()) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'chdir - (lambda args - (chdir "packages/parser-delimiter")))) - #:tests? #f)) - (synopsis "Node SerialPort parser to split data on a delimiter") - (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{Delimiter}, a parser that emits data -each time a specified byte sequence is received."))) - -(define-public node-serialport-parser-readline - (package - (inherit node-serialport) - (name "node-serialport-parser-readline") - (version "9.2.4") - (inputs - (list node-serialport-parser-delimiter)) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'chdir - (lambda args - (chdir "packages/parser-readline")))) - #:tests? #f)) - (synopsis "Node SerialPort parser to split data on newlines") - (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{Readline}, a parser that emits data -after a (configurable) newline delimiter is received."))) - (define-public node-serialport-bindings (package (inherit node-serialport) @@ -1292,6 +1247,51 @@ (define-public node-serialport-bindings directly. There is also a @code{MockBinding} available (but not yet packaged for Guix) to assist with testing."))) +(define-public node-serialport-parser-delimiter + (package + (inherit node-serialport) + (name "node-serialport-parser-delimiter") + (version "9.2.4") + (inputs `()) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/parser-delimiter")))) + #:tests? #f)) + (synopsis "Node SerialPort parser to split data on a delimiter") + (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{Delimiter}, a parser that emits data +each time a specified byte sequence is received."))) + +(define-public node-serialport-parser-readline + (package + (inherit node-serialport) + (name "node-serialport-parser-readline") + (version "9.2.4") + (inputs + (list node-serialport-parser-delimiter)) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/parser-readline")))) + #:tests? #f)) + (synopsis "Node SerialPort parser to split data on newlines") + (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{Readline}, a parser that emits data +after a (configurable) newline delimiter is received."))) + (define-public node-serialport-parser-regex (package (inherit node-serialport)