From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WFQnLHPjtmEkUgEAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 07:08:51 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oNvoJ3PjtmHmPgAA1q6Kng (envelope-from ) for ; Mon, 13 Dec 2021 06:08:51 +0000 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 628D71F7A1 for ; Mon, 13 Dec 2021 07:08:51 +0100 (CET) Received: from localhost ([::1]:49282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweW2-0007we-Dy for larch@yhetil.org; Mon, 13 Dec 2021 01:08:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweTK-0005Hf-Tg for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweTK-00082C-JS for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweTK-0002hb-ER for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 39/45] gnu: Add node-serialport-parser-regex. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:06: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 , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.163937551610258 (code B ref 51838); Mon, 13 Dec 2021 06:06:02 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:05:16 +0000 Received: from localhost ([127.0.0.1]:53833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSa-0002fH-BC for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:16 -0500 Received: from mail-ua1-f41.google.com ([209.85.222.41]:45017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSO-0002br-6N for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:05 -0500 Received: by mail-ua1-f41.google.com with SMTP id p2so27273768uad.11 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:05:04 -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=Sa7KN+RS0TgVULAtzfR/iGqMlrOG/3LR5CYFAV/deQc=; b=ddmcLe6POLHpFtjv9wzljEAm1AUhX0IFCJvzmQHNpnLCz4E04xjtBV08SfS5Wy5dvL b4TArYkv/LGQvNcBdROuT/Nepc2dXK+s4ZQdHLiNSe3m4RT0fm05ihvOphs4hPc3gda5 /Fa7xYVw0jsTUsPMQvQOVDuIGfA4FJjy84jrdRvCH05XkpeemWDT5VP0T1mE77taeOFT WuT3XeT9F6NFobSw7WgDoag4WgAbQcX8Cr7GkSkeIdBBHcRqcBhS94u+QusMPkqd/0lN /qT5VF40iNgwHooyXpQjUd7B5rDS6XBu7guKJos1m+rIX8nIl7UKC19ZubUMasAtD5ME /C+A== 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=Sa7KN+RS0TgVULAtzfR/iGqMlrOG/3LR5CYFAV/deQc=; b=R8q327GYfbb0MG0BVTTMXkbdtNDf0aCf23ul3iZ8LoDzQpR1W2Y6PiRMYLKye4Bof6 lhdF1wfoWGVc1Q3oWx9B34gwzZk612g/u2d5zzKHJSdIRg0suGXU+gNdl0JUzyi+L/++ 1aB2QgE5DI4twYkqe3kxf/C1NNtQGXgiQT2K+MG50fkEh3Im9+rV2u710ROTzrUFNAkd H+oFR/9v6z3skiBtLlIOXUYRUoZFScO1b676krqNNffY9QpckOSpesUKYLG0K3obmAKI qqWHywWqkNfvBysT5OgH7LuNkYWXMWuzsIfhwIAjj17D22TNO46wamaJu7b5NU5i8hfA P7gg== X-Gm-Message-State: AOAM533f0wt55izQ1tbAlvWTHglGtYB3ainnf+F/GFm4h8pjIFh8n69F ZS1EtV/OtnevdVcoSkKbjF5II6mVRKSnUJi2syM= X-Google-Smtp-Source: ABdhPJzdKfYSCmYpnYAa87HXoy4/l3OqHKsxUk5cvDX+TPVAGo1pa3ocufuaJOLpzZKVEBNIN2+DiA== X-Received: by 2002:a05:6102:953:: with SMTP id a19mr25147161vsi.28.1639375498791; Sun, 12 Dec 2021 22:04:58 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id b10sm3884569uad.8.2021.12.12.22.04.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:04:58 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:01:01 -0500 Message-Id: <20211213060107.129223-40-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211213060107.129223-1-philip@philipmcgrath.com> References: <46a042bc08eb72a068b1e8c69bfe28cf2d4b2e53.camel@gmail.com> <20211208202838.752542-1-philip@philipmcgrath.com> <20211208202838.752542-5-philip@philipmcgrath.com> <877dc924h7.fsf@gmx.com> <5c62c3ce-dd50-5dcd-00ed-ff1524be4e0b@philipmcgrath.com> <20211213060107.129223-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=1639375731; 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=Sa7KN+RS0TgVULAtzfR/iGqMlrOG/3LR5CYFAV/deQc=; b=kpUQlXRRys4icUp4Km3ahvY2zJFyrC019ADY5kFqoAswY0kyjvFTU9q0Kd0sdYKQ9v4zfe 22yiT4S67N+NQGv8/7hDNUVBxkZ4KXm2x9CHzAdm4BhZJEpCP9BfY2WvPV5W96/bX7UZNJ bPsVR8CY1iJ6+ZQpue1fRj6R4MuTmRcGMBbVN7RPE47fZQ0EgrlepBXn8E779i5pBCOrg9 I4tU7c9enN7G9RWgxFUCCs/UHa1kyrPxK3GxOXxrStaSOXzJYwyuV0uqgmggB32CDZ5x8i M8lSafUC+QjjIH0zzPcfSUw2mpbp3kBKCXKKhxJcyerVi78+skjSLEzlM/C3aw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639375731; a=rsa-sha256; cv=none; b=XLD/kCj7s2IxfJI2Fxm6urii/itpnBsF5epfkefGwQZx9MIeFqkWWp4oymty9ssVy6APF3 i5oj7l8PbdN101vR1JzsLBKwA1Q2aMVJec27RfIh/rFfvPgrlxn+g/W6UeVpF+h3mX7o89 25t0S134Ao95bOxoDoA+oJE2T3eb2JDbfFVsH7vGrc4lgRuBzS0O0U9Zyp31HJhc1cAePe eHuJATpumG50AL5jAfXUEoRbdYaEcJg69PYPPYmbLu3sBFpcQz2nL/ADYk77TIATjsggtK BdaJt7fA7jHH22MRKAKYXivb65H4FHCHpynMt4MHbFb/in6dBM8tSvnnc51ZTg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=ddmcLe6P; 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.27 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=ddmcLe6P; 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: 628D71F7A1 X-Spam-Score: -0.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZBaYZ6/2uqX8 * 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 9ee33c7402..f8c6cce95c 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1119,3 +1119,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