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 2KHuADXxu2HsLwEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:08:53 +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 OL9SODTxu2GsWQAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 02:08:52 +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 BE39A358C8 for ; Fri, 17 Dec 2021 03:08:52 +0100 (CET) Received: from localhost ([::1]:58542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2fz-0000Og-Th for larch@yhetil.org; Thu, 16 Dec 2021 21:08:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2fC-0007II-5v for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2fB-00008i-Sy for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2fB-0005KI-O9 for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 40/45] gnu: Add node-serialport-parser-ready. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 02:08:01 +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.163970685020395 (code B ref 51838); Fri, 17 Dec 2021 02:08:01 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 02:07:30 +0000 Received: from localhost ([127.0.0.1]:37419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2eT-0005Id-QG for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:07:29 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:34418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dn-0005Eg-7e for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:35 -0500 Received: by mail-qt1-f182.google.com with SMTP id o17so1229334qtk.1 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:06:35 -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=MANI+P1V6aIvWuTttSdTfkiq7sPZjR+VpUELrJfPqdc=; b=UP/rODxbYoTLp5dAyxWTZAb7UrLOMytbKhlxz2fVDVFoiSNyY0SlL2NTwfxV2m9BPS LI2T+pi6uXAXxWKS7K2SBMcCeMx1eNM5egkiDlj8iwvoov8gs1J07gB2Z1q2brphap9I TOxx/0ucGymZIpRiBckx3vZCAvgcoR+QdAYaBWOq29Mb03gCx84LU72A3b6F9BWVyqeE QVPoSFqPk1PLw0N3ekla2UjHw7M9YRYzn0DZfeqYVNnjB2SBPAyAq/eSZggxrnt3QwOK 6aovMtMSZ0ybiS8O4tPNLYRV++7GPr1lKagS4Ic0uultxOQFwbnBGKmVFF5n/ZPQEhl2 V1cg== 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=MANI+P1V6aIvWuTttSdTfkiq7sPZjR+VpUELrJfPqdc=; b=iSZLQUtMrRnAzWya8LIz/VWO/HhL1J6e16mEbnFfak0ikrbs2i6Dm7SFD1MQcPY4Uj kpBa3fuDGI8jv4fTVfnjEvMmP2pvzihoZVHiEaNjoiV64mHq5N4VZSittTgyHVM3+OTK 3ZNQ2THzpKXG8AWrCyYtKZcZSbPDSYw5jWYzYKyO7AkOrSdlGM/OblZk8MoiesQXSJen P+d6HcJ64eO0GfjA0h9gawqF2ff5GXMN/HfEWYYGwuB1S/jqjJGcCYzfPBbjdedHZV8m IPv+hQB+YsEjIHT6eJLTBcQeAyDe71TF3ERluUbLi3eLHEELR+/fsw7h5+kTid/sy1A5 OtKg== X-Gm-Message-State: AOAM530Ac9L+zN2kbjtYvtup9lap4lrIWD7uc80SBp0nwk2yQuKNMjxD iNhrekH5f+5oUXqZP+BLR51CZ7L+rjzydj8rfLo= X-Google-Smtp-Source: ABdhPJyv8tqrcJ+T7gakUD8ZBBoT7HOUbbwO6qvYGawyAk9W5noynVOJIFReZn/IFk+or8TmyPYpgQ== X-Received: by 2002:ac8:5e08:: with SMTP id h8mr734248qtx.204.1639706789873; Thu, 16 Dec 2021 18:06:29 -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 u27sm6003758qtc.58.2021.12.16.18.06.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:06:29 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:20 -0500 Message-Id: <20211217020325.520821-41-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211217020325.520821-1-philip@philipmcgrath.com> References: <20211213060107.129223-1-philip@philipmcgrath.com> <20211217020325.520821-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=1639706932; 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=MANI+P1V6aIvWuTttSdTfkiq7sPZjR+VpUELrJfPqdc=; b=PfEyUlEw74eCHcZJQZo3GQuCK89q7/yTtLhlxXU9v2MkxCDWN9RjB61gEQma03gIGUkdUG CxgED9iOzhq1HanrhbuynoTgb3GHsAh9S0k2PZYnmQFNnpN7+UPAbg1/9VA99/D1Ecyr1l f94vkXpq0z5vFByWo8946mxKsgIU5Tc5lK2asTKKafPulY4a6/uWvJ87aMQCCxQJ8+eN6p Sq/YK7q+AMRZJ4uEFRvUx3bgE6PSRn3bN9DNPv2suDXni65JdOJ8VexNnS8s2kdsG83PFD YDbkDEDovtAQkrv9yitzhkrHYgNYR3j6KmqqQogbFbopN7CLmRWka8nn2aaJLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639706932; a=rsa-sha256; cv=none; b=AQF3wWQ6OiYg3X7cjVaeoZj4imhqSskFVHYq7jVyzz/LqL1zQPXGwC736H4rU7xKH/HyK7 rq6ulbtz1HMOs33EvBnLK7BAfZnbVWC5HsNbMtSvZdFCV7AcX9Zu9EiX92Sc1qy+gqHA5e yByZ5P9TZMQVrAprYbQCi9z9cRvd3ScLV32L2wmv2+GWhGP8UDkjiVrDn55XYM5YUnWrzU JFipcLkZg1SZ/m2fSTf9lgD7P1HJyKhdnQr4dG1Q25l0o4Pr38I+I9afzwO/+6NgV7WtBG E9SKUbCYWjYZhIgFWuqkmKMGZBhWBm9RBigocjDYipiNpunP/AJ03MA0IMh+JA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b="UP/rODxb"; 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: 1.01 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b="UP/rODxb"; 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: BE39A358C8 X-Spam-Score: 1.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: K1gcVe89PNMS * gnu/packages/node-xyz.scm (node-serialport-parser-ready): New variable. --- gnu/packages/node-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index be96a00a37..412bb0a3bb 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1129,3 +1129,26 @@ (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") + (inputs `()) + (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