From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gNlwKwkWsWHwBQAAgWs5BA (envelope-from ) for ; Wed, 08 Dec 2021 21:31:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IEA8JwkWsWFOJQAAB5/wlQ (envelope-from ) for ; Wed, 08 Dec 2021 20:31:05 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 76EEE262B4 for ; Wed, 8 Dec 2021 21:31:03 +0100 (CET) Received: from localhost ([::1]:47778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mv3ag-0000EC-Jg for larch@yhetil.org; Wed, 08 Dec 2021 15:31:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mv3a0-0006mA-6t for guix-patches@gnu.org; Wed, 08 Dec 2021 15:30:21 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mv3Zz-0000cZ-NV for guix-patches@gnu.org; Wed, 08 Dec 2021 15:30:19 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mv3Zz-00062w-HK for guix-patches@gnu.org; Wed, 08 Dec 2021 15:30:19 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v3 38/43] gnu: Add node-serialport-parser-ready. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Dec 2021 20:30:19 +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 Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.163899539622917 (code B ref 51838); Wed, 08 Dec 2021 20:30:19 +0000 Received: (at 51838) by debbugs.gnu.org; 8 Dec 2021 20:29:56 +0000 Received: from localhost ([127.0.0.1]:41653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv3Zc-0005xT-0p for submit@debbugs.gnu.org; Wed, 08 Dec 2021 15:29:56 -0500 Received: from mail-vk1-f179.google.com ([209.85.221.179]:38752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv3ZA-0005u6-I2 for 51838@debbugs.gnu.org; Wed, 08 Dec 2021 15:29:28 -0500 Received: by mail-vk1-f179.google.com with SMTP id s17so2372810vka.5 for <51838@debbugs.gnu.org>; Wed, 08 Dec 2021 12:29:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=T+tsSJGpyQ463zVi9x2sCCYTMG0F/iHf2Hj1vJOhYwk=; b=BZUyyXGULVsMpVu2qFOKZFHRBuS1MaKRgndvjvO69IIfo3vlx/3JyidHXHBMEtzbSi VFS/x4lUI8FBSJtU4MCYRW0+tTlDKxCJzrCqwEuWBhn1Sfz3alq16/BRCi0uWwJ5Lqb+ Xe8H25qO0YKZMoHMWWnc/yQfnhTeh83psAOIVGt5+sBEJ1pmJ+91yGP6Mor4SH/WDFr7 XmAmgWOaIcqwYtDBe1aMqFiQZk8wp4Sh0lIRT736nKypf/86u5ZDtM6aZDfb9cUpyyds Q+Vw8S5NZ3GJ8FyuKXhkwMemFmoJniAONoeGD6jI7rx/H0SznkngM6iaHfsx/jUoGvU6 ZXoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=T+tsSJGpyQ463zVi9x2sCCYTMG0F/iHf2Hj1vJOhYwk=; b=IsIbg2Z52oQnL6bvcn29PbV4+t1IuoGxZXZoLMy9LJ3jKmH+hrPiSI/lVBAJdIteRg CfxvxxZDrs1YjXkQKH8qrnU3q2EdWe50AzBQ7m90xF1bIhNgsqOxNNz9OdKkA6ayUaRQ ePGmS2fcuJuNxcLldToffL39BPtA2iLrZgi55k3zLvTUU9nTkxGcv6a5szz6hBzjAS7w uFvyZBBjwEJv54xq2HADAEYQ4Gj0LcYOuYZyL/MHubvds3zSs90T+geSXE6k59sEEcCp GtankY1YEL4M1nBieBVbnoU//mWI6apQ3zB0fVcT0T+c7xEwWJwaLr74/f86T6yNacOC bYpg== X-Gm-Message-State: AOAM531c5Y0aid0SOhtpkjRN8yCXseM8xdiI2pxcpTMyJ2sqIjHAbd4J aModt++IqHeyVNjm2/ZgpNov67V55aAPsSZ3fKc= X-Google-Smtp-Source: ABdhPJxPabtp4h2+FXSNE8kyQpmw0kriHS8Yry7NwBd3J+rivllaor+OqaL2CpUWKI2d44DvhZzUYQ== X-Received: by 2002:a1f:2e94:: with SMTP id u142mr1382802vku.8.1638995363132; Wed, 08 Dec 2021 12:29:23 -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 v81sm2462137vsv.14.2021.12.08.12.29.22 for <51838@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Dec 2021 12:29:22 -0800 (PST) From: Philip McGrath Date: Wed, 8 Dec 2021 15:28:33 -0500 Message-Id: <20211208202838.752542-39-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211208202838.752542-1-philip@philipmcgrath.com> References: <46a042bc08eb72a068b1e8c69bfe28cf2d4b2e53.camel@gmail.com> <20211208202838.752542-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638995463; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=T+tsSJGpyQ463zVi9x2sCCYTMG0F/iHf2Hj1vJOhYwk=; b=k49iXJLSe0GAP7op6FK9hdgu9ff4qxFmA09gcIWVyumjDec6QFrMig8K6oHvnw17u5sW/a TfYWu7Wo6O43NKFN64gcVQjAR4YIiFgB5IewA1Lex92rCLSrg+3f6ZlT+r0kvCRtWgeRWc Xq1hw94soc2e+IBHjiKfMyxue98x4j+PH0Hv8zMkG92gzYPzXwL/pJb/Z/pTVHmVYkUg/m KlmrysoArqCnAtkhAf7HYOWA3hlS9YlfV1u6DD7vSkaFDgdYtNM52coelTKf6nKIeeHyDk rWIgxe0rqdQYmHdVZPhCCCjSrzYQFEyEbYZnx07G3dHG96/0wc74jXBT1E94mg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638995463; a=rsa-sha256; cv=none; b=kG/EA3Mz54YVfgaqNLcZKhKhoFwbtfTGFa93DA1sq83en0gqq8gdsgqcBuLalQODOqg+ay weCCBY5OZzCofW2yuFQcfj1aqdSYNt6EUzioYzJynAT9UIT2mF5wIeA/18lC29x2Qa82rC VhbrrEi7QLSwkNmg3dYp7lffaoaeWwU4Ehus/bkQAmIGUDNgCnz4bGK1Wh13feVIvJ0bBu EjAvaUms3rWC7DFkitikJmI3mG3oDYARE8025fd01YTL0DWna+dEopaHgH1NO5Ds7ts+W9 hQXUEJ/d150z+RyasSzbIDg3Gh0SuOxUE1ijazBPLhklGGA/b6LDN9Meg0zmiA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=BZUyyXGU; dmarc=none; spf=pass (aspmx1.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.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=BZUyyXGU; dmarc=none; spf=pass (aspmx1.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: 76EEE262B4 X-Spam-Score: -0.45 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3a4T9gG5h0PJ * gnu/packages/node-xyz.scm (node-serialport-parser-ready): 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 409dfaf38c..d78d4610f4 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1047,3 +1047,25 @@ (define-public node-serialport-parser-regex 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-binding-abstract) + (name "node-serialport-parser-ready") + (version "9.2.4") + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/parser-ready")))) + #:tests? #f)) + (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{Ready}, a parser that waits for a +specified sequence of ``ready'' bytes before emitting a ready event and +emitting data events."))) -- 2.32.0