From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id L1FSDRRS2WE1YQAAgWs5BA (envelope-from ) for ; Sat, 08 Jan 2022 09:57:56 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gFZbBRRS2WFUFQAAG6o9tA (envelope-from ) for ; Sat, 08 Jan 2022 09:57:56 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id C96FC33220 for ; Sat, 8 Jan 2022 09:57:55 +0100 (CET) Received: from localhost ([::1]:37422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n67Xu-0005Z7-Sy for larch@yhetil.org; Sat, 08 Jan 2022 03:57:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n67NO-0005J0-Cz for guix-patches@gnu.org; Sat, 08 Jan 2022 03:47:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n67NO-0004nr-4f for guix-patches@gnu.org; Sat, 08 Jan 2022 03:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n67NO-000105-3r for guix-patches@gnu.org; Sat, 08 Jan 2022 03:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v9 35/41] gnu: Add node-serialport-parser-regex. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Jan 2022 08:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51838@debbugs.gnu.org Cc: Timothy Sample , Philip McGrath , Pierre Langlois , Liliana Marie Prikler , Leo Famulari , Jelle Licht Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.16416315763692 (code B ref 51838); Sat, 08 Jan 2022 08:47:02 +0000 Received: (at 51838) by debbugs.gnu.org; 8 Jan 2022 08:46:16 +0000 Received: from localhost ([127.0.0.1]:46421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67Md-0000xU-Nk for submit@debbugs.gnu.org; Sat, 08 Jan 2022 03:46:15 -0500 Received: from mail-qk1-f175.google.com ([209.85.222.175]:36608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67Mb-0000x2-Va for 51838@debbugs.gnu.org; Sat, 08 Jan 2022 03:46:14 -0500 Received: by mail-qk1-f175.google.com with SMTP id i130so8533741qke.3 for <51838@debbugs.gnu.org>; Sat, 08 Jan 2022 00:46:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t96wwdYNJaL9ClPoMyeEHpUENBNBUfOj0CgCWbg56Is=; b=WJIV0kymwDSoTlQv6IkEJRVqDlSndz31HjPcqmWt/H9xg9fI3I4cvU3ArljsBg1rVn uVD+WiJMGttEj9c1UqrMBH9/UheeEN6ovfnkazd3KDYrRlucSX8+nc3t8aRbCb6i6H3n ekpYpr8w0KlobOO9AVgOSt5AmCv/Tx5ZvNDstrEbgZr26nOAD9L4osqYhrFYP8dplouj NDUQ/Xrvi/o9ykSdfAztpDW7NcVSaEwyl+p46NYbYp3dx45Dj8vXFcBCztFkTFJDmeSV t6Oma3Km40l/kpOS9pubm2zzi+ISNYEtwBTva4Gh9M1I+4tzxgO8Ergtr3D20pNxkmLa Y1nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t96wwdYNJaL9ClPoMyeEHpUENBNBUfOj0CgCWbg56Is=; b=HfLgFwL3fxhmdp065BiOlmiwi5AvnPYZClkH0m/EqztPoE7jsXZHqiuJBeWUC6NFer V/wB8KZbRJ3M/HiD62y+q6vm+RHYpPZGYGRo25m5VMYxdkxJnFxvPHAXMORiqLMwsdNr 6zvbk7CGtDtq6G1JuqvjsBA+194EszPmlxYcP07z7MXFKo1pA8sUGHf8jMGgcXON8+Ol aQ2gSkEMBI3sQwsowZI2o/QB6uvDjIQ+mknt263vBqSKzYAL20J/3VBAOqZDAlKLO3H+ uE7eWled5PfnfiGm0QuR9LYw0h2dACbECW0qPfAo7t5UIL8Ou4URYHmNKz7OuERVAOhc ZnNg== X-Gm-Message-State: AOAM532XEXBmpPt7EZR0fSOgsA/tRwo9oEElRhyKsBqQCXwHJSeY7/hT EqkMvf5duKo3Z6C4J6tzA+o/aMg8UU5dMXuG X-Google-Smtp-Source: ABdhPJwZ5XbHtJP1PegQH8dKtzraUDN2yPeQpDlEs+OK67ME3SRaoKTxVh95caLWtcF0yHIBq4ApEg== X-Received: by 2002:a37:9f46:: with SMTP id i67mr48471433qke.254.1641631568444; Sat, 08 Jan 2022 00:46:08 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with UTF8SMTPSA id e7sm688164qtx.72.2022.01.08.00.46.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Jan 2022 00:46:08 -0800 (PST) From: Philip McGrath Date: Sat, 8 Jan 2022 03:42:23 -0500 Message-Id: <20220108084229.362642-36-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220108084229.362642-1-philip@philipmcgrath.com> References: <64e08d3a1838ed8507f33fae895545372960522f.camel@gmail.com> <7b04af28bbd57c67093ce8f33a648efec89693bd.camel@gmail.com> <441bfeb0-eb6e-81f6-488b-cdf1b09a78ef@philipmcgrath.com> <20220108084229.362642-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641632275; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=t96wwdYNJaL9ClPoMyeEHpUENBNBUfOj0CgCWbg56Is=; b=k4iGQpKXq7y50rS765WJgEPT6umQUcnpkrDmMa1ORqSP28DlC7v0ZEcbaqlPZ7JwCGFMdn 0A6+t7ZBrC41ow8jjjYO97MThtQIM11zT4WfZePYZXKrduoRQvocR3frganTU/jzp5P4pS aYjVTwFf4nJ0dz58/eipIvP6T5SjVnzHFxbnaX8NlYV//QvvS7fojKYnjxNZqG/BQyxylR LpsLCiPZCGExT438Y9ixzCRmJVg0dWN1eh4BYgEH1oRiii7e9Gcat6qBLePdqjJ1Vf/8Yu 8mrUAxTcLXtFGSsmN7GajQgvzYFh05OM5H7NT74kMR/10MvYHdKzbSc2RJ/Azg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641632275; a=rsa-sha256; cv=none; b=bisZ5m22kHE2liiY6HViVBKcvXwV/Ii4JSLh5b4di0SqgnCFW6KBw73mS+ejlt+e//TMRz ke8FU9hmyU1uDp7Rc68BgLIw8IYqByhmJN3zFo0PwIF9ifj7MyHsH9H20zn5atdO77pqC9 hhRyujtjxQ0k6gfhdpda0H6uWmCwWe6o9i8kvAdw6YIDhxnk/XA5MUvhcOMlkCHnP19K6A 0FKhMxe+H6OU+UbBxACMMNFK0ORFau6sv8FZTO3QWVuMt3jcRxb91pjHeJOpXd0doAwiN6 qhmx1zT19rThT1b7QZYV93jkCu45O0HLwSuZg+az/nIlbeQFLFJjDjX7alRxcg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=WJIV0kym; dmarc=none; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.90 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=WJIV0kym; dmarc=none; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C96FC33220 X-Spam-Score: 0.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9yWUDIkGoI0T * gnu/packages/node-xyz.scm (node-serialport-parser-regex): New variable. --- gnu/packages/node-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 305fdda69c..783befa3fe 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1163,3 +1163,25 @@ (define-public node-serialport-bindings talk to the underlying system. You never have to use @code{Binding} objects directly. There is also a @code{MockBinding} available (but not yet packaged for Guix) to assist with testing."))) + +(define-public node-serialport-parser-regex + (package + (inherit node-serialport-binding-abstract) + (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."))) -- 2.32.0