* [bug#69231] [PATCH 0/6] Move node-serialport packages in alphabetical order.
@ 2024-02-18 15:30 Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 1/6] gnu: node-serialport: Move package " Nicolas Graves via Guix-patches via
2024-02-21 20:25 ` bug#69231: [PATCH 0/6] Move node-serialport packages in alphabetical order Sharlatan Hellseher
0 siblings, 2 replies; 8+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-02-18 15:30 UTC (permalink / raw)
To: 69231; +Cc: sharlatanus, ngraves
This patch series is a follow-up to 66180 and moves node-serialport packages in alphabetical order.
Nicolas Graves (6):
gnu: node-serialport: Move package in alphabetical order.
gnu: node-serialport-bindings: Move package in alphabetical order.
gnu: node-serialport-parser-byte-length: Move in alphabetical order.
gnu: node-serialport-parser-cctalk: Move in alphabetical order.
gnu: node-serialport-parser-ready: Move in alphabetical order.
gnu: node-serialport-parser-inter-byte-timeout: Move in order.
gnu/packages/node-xyz.scm | 296 +++++++++++++++++++-------------------
1 file changed, 147 insertions(+), 149 deletions(-)
--
2.41.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#69231] [PATCH 1/6] gnu: node-serialport: Move package in alphabetical order.
2024-02-18 15:30 [bug#69231] [PATCH 0/6] Move node-serialport packages in alphabetical order Nicolas Graves via Guix-patches via
@ 2024-02-19 0:11 ` Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 2/6] gnu: node-serialport-bindings: " Nicolas Graves via Guix-patches via
` (4 more replies)
2024-02-21 20:25 ` bug#69231: [PATCH 0/6] Move node-serialport packages in alphabetical order Sharlatan Hellseher
1 sibling, 5 replies; 8+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-02-19 0:11 UTC (permalink / raw)
To: 69231; +Cc: sharlatanus, ngraves
* /gnu/packages/node-xyz.scm
(node-serialport): Move package in alphabetical order. Remove
inheritance on node-serialport-binding-abstract, and add fields
build-system, home-page, and license.
(node-serialport-binding-abstract): Inherit from node-serialport and
remove fields source, build-system, home-page, and license.
(node-serialport-parser-delimiter, node-serialport-parser-readline,
node-serialport-bindings, node-serialport-parser-regex,
node-serialport-parser-ready,
node-serialport-parser-inter-byte-timeout,
node-serialport-parser-cctalk, node-serialport-parser-byte-length,
node-serialport-stream): Inherit from node-serialport instead of
node-serialport-binding-abstract.
Change-Id: Ib2c6bae11f9a7afeaa8566c86d1800afd40d22d3
---
gnu/packages/node-xyz.scm | 100 +++++++++++++++++++-------------------
1 file changed, 49 insertions(+), 51 deletions(-)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 79096f7fa3..81db9f4aa4 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1126,22 +1126,55 @@ (define-public node-semver
@uref{https://semver.org/, SemVer.org} specification.")
(license license:isc)))
-(define-public node-serialport-binding-abstract
+(define-public node-serialport
(package
- (name "node-serialport-binding-abstract")
- (version "9.2.3")
+ (name "node-serialport")
+ (version "9.2.7")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/serialport/node-serialport")
- (commit "v9.2.7")))
- (file-name (git-file-name "serialport-monorepo" version))
+ (commit (string-append "v" version))))
(sha256
(base32 "0x7zm59a5ff5yygjyw15xs3r5m3rb8av1yfrh4snn44mrwq87yg8"))))
(inputs
- (list node-debug))
+ (list node-serialport-bindings
+ node-serialport-parser-delimiter
+ node-serialport-parser-readline
+ node-serialport-parser-regex
+ node-serialport-parser-ready
+ node-serialport-parser-inter-byte-timeout
+ node-serialport-parser-cctalk
+ node-serialport-parser-byte-length
+ node-serialport-stream
+ node-debug))
(build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("@serialport/binding-mock"))))
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/serialport"))))
+ #:tests? #f))
+ (home-page "https://serialport.io")
+ (synopsis "Node.js package to access serial ports")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. This package is the recommended entry point for most
+projects. It combines a high-level Node.js stream interface with a useful
+default set of parsers and bindings.")
+ (license license:expat)))
+
+(define-public node-serialport-binding-abstract
+ (package
+ (inherit node-serialport)
+ (name "node-serialport-binding-abstract")
+ (version "9.2.3")
+ (inputs
+ (list node-debug))
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -1149,7 +1182,6 @@ (define-public node-serialport-binding-abstract
(lambda args
(chdir "packages/binding-abstract"))))
#:tests? #f))
- (home-page "https://serialport.io")
(synopsis "Abstract base class for Node SerialPort bindings")
(description "Node SerialPort is a modular suite of Node.js packages for
accessing serial ports. The Guix package @code{node-serialport} provides the
@@ -1157,12 +1189,11 @@ (define-public node-serialport-binding-abstract
This package provides the @code{AbstractBinding} class, the base for all Node
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.")
- (license license:expat)))
+it to make a new binding for a different platform or underling technology.")))
(define-public node-serialport-parser-delimiter
(package
- (inherit node-serialport-binding-abstract)
+ (inherit node-serialport)
(name "node-serialport-parser-delimiter")
(version "9.2.4")
(inputs `())
@@ -1184,7 +1215,7 @@ (define-public node-serialport-parser-delimiter
(define-public node-serialport-parser-readline
(package
- (inherit node-serialport-binding-abstract)
+ (inherit node-serialport)
(name "node-serialport-parser-readline")
(version "9.2.4")
(inputs
@@ -1207,7 +1238,7 @@ (define-public node-serialport-parser-readline
(define-public node-serialport-bindings
(package
- (inherit node-serialport-binding-abstract)
+ (inherit node-serialport)
(name "node-serialport-bindings")
(version "9.2.7")
(native-inputs
@@ -1263,7 +1294,7 @@ (define-public node-serialport-bindings
(define-public node-serialport-parser-regex
(package
- (inherit node-serialport-binding-abstract)
+ (inherit node-serialport)
(name "node-serialport-parser-regex")
(version "9.2.4")
(inputs `())
@@ -1285,7 +1316,7 @@ (define-public node-serialport-parser-regex
(define-public node-serialport-parser-ready
(package
- (inherit node-serialport-binding-abstract)
+ (inherit node-serialport)
(name "node-serialport-parser-ready")
(version "9.2.4")
(inputs `())
@@ -1308,7 +1339,7 @@ (define-public node-serialport-parser-ready
(define-public node-serialport-parser-inter-byte-timeout
(package
- (inherit node-serialport-binding-abstract)
+ (inherit node-serialport)
(name "node-serialport-parser-inter-byte-timeout")
(version "9.2.4")
(inputs `())
@@ -1330,7 +1361,7 @@ (define-public node-serialport-parser-inter-byte-timeout
(define-public node-serialport-parser-cctalk
(package
- (inherit node-serialport-binding-abstract)
+ (inherit node-serialport)
(name "node-serialport-parser-cctalk")
(version "9.2.4")
(inputs `())
@@ -1353,7 +1384,7 @@ (define-public node-serialport-parser-cctalk
(define-public node-serialport-parser-byte-length
(package
- (inherit node-serialport-binding-abstract)
+ (inherit node-serialport)
(name "node-serialport-parser-byte-length")
(version "9.2.4")
(inputs `())
@@ -1375,7 +1406,7 @@ (define-public node-serialport-parser-byte-length
(define-public node-serialport-stream
(package
- (inherit node-serialport-binding-abstract)
+ (inherit node-serialport)
(name "node-serialport-stream")
(version "9.2.4")
(inputs
@@ -1401,39 +1432,6 @@ (define-public node-serialport-stream
writing. It has additional methods for managing the SerialPort
connection.")))
-(define-public node-serialport
- (package
- (inherit node-serialport-binding-abstract)
- (name "node-serialport")
- (version "9.2.7")
- (inputs
- (list node-serialport-bindings
- node-serialport-parser-delimiter
- node-serialport-parser-readline
- node-serialport-parser-regex
- node-serialport-parser-ready
- node-serialport-parser-inter-byte-timeout
- node-serialport-parser-cctalk
- node-serialport-parser-byte-length
- node-serialport-stream
- node-debug))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'patch-dependencies 'delete-dependencies
- (lambda args
- (delete-dependencies `("@serialport/binding-mock"))
- ))
- (add-after 'unpack 'chdir
- (lambda args
- (chdir "packages/serialport"))))
- #:tests? #f))
- (synopsis "Node.js package to access serial ports")
- (description "Node SerialPort is a modular suite of Node.js packages for
-accessing serial ports. This package is the recommended entry point for most
-projects. It combines a high-level Node.js stream interface with a useful
-default set of parsers and bindings.")))
-
(define-public node-sqlite3
(package
(name "node-sqlite3")
--
2.41.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#69231] [PATCH 2/6] gnu: node-serialport-bindings: Move package in alphabetical order.
2024-02-19 0:11 ` [bug#69231] [PATCH 1/6] gnu: node-serialport: Move package " Nicolas Graves via Guix-patches via
@ 2024-02-19 0:11 ` Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 3/6] gnu: node-serialport-parser-byte-length: Move " Nicolas Graves via Guix-patches via
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-02-19 0:11 UTC (permalink / raw)
To: 69231; +Cc: sharlatanus, ngraves
* /gnu/packages/node-xyz.scm (node-serialport-bindings): Move package
in alphabetical order.
Change-Id: I8a232d2160191386c5cd4e41ce62c6e9bea030d7
---
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)
--
2.41.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#69231] [PATCH 3/6] gnu: node-serialport-parser-byte-length: Move in alphabetical order.
2024-02-19 0:11 ` [bug#69231] [PATCH 1/6] gnu: node-serialport: Move package " Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 2/6] gnu: node-serialport-bindings: " Nicolas Graves via Guix-patches via
@ 2024-02-19 0:11 ` Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 4/6] gnu: node-serialport-parser-cctalk: " Nicolas Graves via Guix-patches via
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-02-19 0:11 UTC (permalink / raw)
To: 69231; +Cc: sharlatanus, ngraves
* gnu/packages/node-xyz.scm (node-serialport-parser-byte-length): Move
package in alphabetical order.
Change-Id: I0b6126f11695c9e08fb51327a7a87385928d4472
---
gnu/packages/node-xyz.scm | 44 +++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index bb1fb826ed..4960d7f54c 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1247,6 +1247,28 @@ (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-byte-length
+ (package
+ (inherit node-serialport)
+ (name "node-serialport-parser-byte-length")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-byte-length"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser for fixed-length buffers")
+ (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{ByteLength}, a parser that emits data
+as a buffer every time a specified number of bytes are received.")))
+
(define-public node-serialport-parser-delimiter
(package
(inherit node-serialport)
@@ -1382,28 +1404,6 @@ (define-public node-serialport-parser-cctalk
ccTalk protocol (an open standard for currency detectors) as they are
received.")))
-(define-public node-serialport-parser-byte-length
- (package
- (inherit node-serialport)
- (name "node-serialport-parser-byte-length")
- (version "9.2.4")
- (inputs `())
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda args
- (chdir "packages/parser-byte-length"))))
- #:tests? #f))
- (synopsis "Node SerialPort parser for fixed-length buffers")
- (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{ByteLength}, a parser that emits data
-as a buffer every time a specified number of bytes are received.")))
-
(define-public node-serialport-stream
(package
(inherit node-serialport)
--
2.41.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#69231] [PATCH 4/6] gnu: node-serialport-parser-cctalk: Move in alphabetical order.
2024-02-19 0:11 ` [bug#69231] [PATCH 1/6] gnu: node-serialport: Move package " Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 2/6] gnu: node-serialport-bindings: " Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 3/6] gnu: node-serialport-parser-byte-length: Move " Nicolas Graves via Guix-patches via
@ 2024-02-19 0:11 ` Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 5/6] gnu: node-serialport-parser-ready: " Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 6/6] gnu: node-serialport-parser-inter-byte-timeout: Move in order Nicolas Graves via Guix-patches via
4 siblings, 0 replies; 8+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-02-19 0:11 UTC (permalink / raw)
To: 69231; +Cc: sharlatanus, ngraves
* gnu/packages/node-xyz.scm (node-serialport-parser-cctalk): Move
package in alphabetical order.
Change-Id: Ia849d7f2a02f2d7ba8117e031056e01239a3a5fb
---
gnu/packages/node-xyz.scm | 46 +++++++++++++++++++--------------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 4960d7f54c..1891caabf7 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1269,6 +1269,29 @@ (define-public node-serialport-parser-byte-length
messages. This package provides @code{ByteLength}, a parser that emits data
as a buffer every time a specified number of bytes are received.")))
+(define-public node-serialport-parser-cctalk
+ (package
+ (inherit node-serialport)
+ (name "node-serialport-parser-cctalk")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-cctalk"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser for the ccTalk protocol")
+ (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{CCTalk}, which emits packets for the
+ccTalk protocol (an open standard for currency detectors) as they are
+received.")))
+
(define-public node-serialport-parser-delimiter
(package
(inherit node-serialport)
@@ -1381,29 +1404,6 @@ (define-public node-serialport-parser-inter-byte-timeout
messages. This package provides @code{InterByteTimeout}, a parser that emits
data if there is a pause between packets for the specified amount of time.")))
-(define-public node-serialport-parser-cctalk
- (package
- (inherit node-serialport)
- (name "node-serialport-parser-cctalk")
- (version "9.2.4")
- (inputs `())
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda args
- (chdir "packages/parser-cctalk"))))
- #:tests? #f))
- (synopsis "Node SerialPort parser for the ccTalk protocol")
- (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{CCTalk}, which emits packets for the
-ccTalk protocol (an open standard for currency detectors) as they are
-received.")))
-
(define-public node-serialport-stream
(package
(inherit node-serialport)
--
2.41.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#69231] [PATCH 5/6] gnu: node-serialport-parser-ready: Move in alphabetical order.
2024-02-19 0:11 ` [bug#69231] [PATCH 1/6] gnu: node-serialport: Move package " Nicolas Graves via Guix-patches via
` (2 preceding siblings ...)
2024-02-19 0:11 ` [bug#69231] [PATCH 4/6] gnu: node-serialport-parser-cctalk: " Nicolas Graves via Guix-patches via
@ 2024-02-19 0:11 ` Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 6/6] gnu: node-serialport-parser-inter-byte-timeout: Move in order Nicolas Graves via Guix-patches via
4 siblings, 0 replies; 8+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-02-19 0:11 UTC (permalink / raw)
To: 69231; +Cc: sharlatanus, ngraves
* gnu/packages/node-xyz.scm (node-serialport-parser-ready): Move
package in alphabetical order.
Change-Id: I4d16d0ea922cfdd5fde4f055200645dee4110036
---
gnu/packages/node-xyz.scm | 44 +++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 22 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,28 +1337,6 @@ (define-public node-serialport-parser-readline
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)
- (name "node-serialport-parser-regex")
- (version "9.2.4")
- (inputs `())
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda args
- (chdir "packages/parser-regex"))))
- #:tests? #f))
- (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{Regex}, a parser that uses a regular
-expression to split the incoming text.")))
-
(define-public node-serialport-parser-ready
(package
(inherit node-serialport)
@@ -1382,6 +1360,28 @@ (define-public node-serialport-parser-ready
specified sequence of ``ready'' bytes before emitting a ready event and
emitting data events.")))
+(define-public node-serialport-parser-regex
+ (package
+ (inherit node-serialport)
+ (name "node-serialport-parser-regex")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-regex"))))
+ #:tests? #f))
+ (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{Regex}, a parser that uses a regular
+expression to split the incoming text.")))
+
(define-public node-serialport-parser-inter-byte-timeout
(package
(inherit node-serialport)
--
2.41.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#69231] [PATCH 6/6] gnu: node-serialport-parser-inter-byte-timeout: Move in order.
2024-02-19 0:11 ` [bug#69231] [PATCH 1/6] gnu: node-serialport: Move package " Nicolas Graves via Guix-patches via
` (3 preceding siblings ...)
2024-02-19 0:11 ` [bug#69231] [PATCH 5/6] gnu: node-serialport-parser-ready: " Nicolas Graves via Guix-patches via
@ 2024-02-19 0:11 ` Nicolas Graves via Guix-patches via
4 siblings, 0 replies; 8+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-02-19 0:11 UTC (permalink / raw)
To: 69231; +Cc: sharlatanus, ngraves
* gnu/packages/node-xyz.scm (node-serialport-parser-inter-byte-timeout): Move
package in alphabetical order.
Change-Id: Ice71f75c197b6d8f0e0c0c5b5bdb03ebf1d1d4cb
---
gnu/packages/node-xyz.scm | 44 +++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index e432f97ae8..b49a19372b 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1314,6 +1314,28 @@ (define-public node-serialport-parser-delimiter
messages. This package provides @code{Delimiter}, a parser that emits data
each time a specified byte sequence is received.")))
+(define-public node-serialport-parser-inter-byte-timeout
+ (package
+ (inherit node-serialport)
+ (name "node-serialport-parser-inter-byte-timeout")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-inter-byte-timeout"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser to detect pauses in data")
+ (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{InterByteTimeout}, a parser that emits
+data if there is a pause between packets for the specified amount of time.")))
+
(define-public node-serialport-parser-readline
(package
(inherit node-serialport)
@@ -1382,28 +1404,6 @@ (define-public node-serialport-parser-regex
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
- (inherit node-serialport)
- (name "node-serialport-parser-inter-byte-timeout")
- (version "9.2.4")
- (inputs `())
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda args
- (chdir "packages/parser-inter-byte-timeout"))))
- #:tests? #f))
- (synopsis "Node SerialPort parser to detect pauses in data")
- (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{InterByteTimeout}, a parser that emits
-data if there is a pause between packets for the specified amount of time.")))
-
(define-public node-serialport-stream
(package
(inherit node-serialport)
--
2.41.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* bug#69231: [PATCH 0/6] Move node-serialport packages in alphabetical order.
2024-02-18 15:30 [bug#69231] [PATCH 0/6] Move node-serialport packages in alphabetical order Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 1/6] gnu: node-serialport: Move package " Nicolas Graves via Guix-patches via
@ 2024-02-21 20:25 ` Sharlatan Hellseher
1 sibling, 0 replies; 8+ messages in thread
From: Sharlatan Hellseher @ 2024-02-21 20:25 UTC (permalink / raw)
To: 69231-done
[-- Attachment #1: Type: text/plain, Size: 159 bytes --]
Hi Nicolas,
QA did not want to pick up this more simple series ^.^
I've checked it manually, all good.
Pushed as e718c4a69f..f7c55f54b6 to master.
--
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-02-21 20:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-18 15:30 [bug#69231] [PATCH 0/6] Move node-serialport packages in alphabetical order Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 1/6] gnu: node-serialport: Move package " Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 2/6] gnu: node-serialport-bindings: " Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 3/6] gnu: node-serialport-parser-byte-length: Move " Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 4/6] gnu: node-serialport-parser-cctalk: " Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 5/6] gnu: node-serialport-parser-ready: " Nicolas Graves via Guix-patches via
2024-02-19 0:11 ` [bug#69231] [PATCH 6/6] gnu: node-serialport-parser-inter-byte-timeout: Move in order Nicolas Graves via Guix-patches via
2024-02-21 20:25 ` bug#69231: [PATCH 0/6] Move node-serialport packages in alphabetical order Sharlatan Hellseher
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.