From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kHOkB5xvzWFBEQEAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 09:36:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yKZAAJxvzWHVOQAAG6o9tA (envelope-from ) for ; Thu, 30 Dec 2021 09:36:44 +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 aspmx1.migadu.com (Postfix) with ESMTPS id ADBEC284DE for ; Thu, 30 Dec 2021 09:36:43 +0100 (CET) Received: from localhost ([::1]:38260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qDW-0000KJ-Cl for larch@yhetil.org; Thu, 30 Dec 2021 02:51:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qDI-0000Jv-8c for guix-patches@gnu.org; Thu, 30 Dec 2021 02:51:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2qDG-0006wo-CX for guix-patches@gnu.org; Thu, 30 Dec 2021 02:51:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2qDG-0007AB-CE for guix-patches@gnu.org; Thu, 30 Dec 2021 02:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v7 36/41] gnu: Add node-serialport-parser-ready. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:51: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.164085065627508 (code B ref 51838); Thu, 30 Dec 2021 07:51:02 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:50:56 +0000 Received: from localhost ([127.0.0.1]:51227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qDA-00079a-8w for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:50:56 -0500 Received: from mail-vk1-f173.google.com ([209.85.221.173]:44651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qAX-00070V-H2 for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:48:13 -0500 Received: by mail-vk1-f173.google.com with SMTP id b77so13278280vka.11 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:48: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=kbUTcWYIFaKxnl7L5xbswwhw8W5QhV5FYbGC075qAJY=; b=b2+MN6oJKamheZv8T28Dvytc9rf1AvLOVircPBARZeyDupChOCINTncbV4nphfVfpD 56WTuGRHrJXrGTXt9zIuXfp6TkrHIvFSlp1vOhLhKrjR56FnqSCE3PONOwyLEUaZZVQ7 z1rOq7j3KWMexjefeZ42aKcuw4Fr9ecmfNKjcXuJp8EFm+L+wYZYbYVw3RDUDTCMsSGR rLIOCZ74g2uQvPbjL9L/G/Fx+3A0m+RAbK40YgkVxkOnwUJ+bO0OsWGhG5mkQ4H7LSbu 4Pczhvpb0wxMNEwDPFwWzi/K2fXWwS7AI4HHvPIFSqVAa9IC25xPSJp74D+jHaghTT37 I3bw== 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=kbUTcWYIFaKxnl7L5xbswwhw8W5QhV5FYbGC075qAJY=; b=Mha09X9E9R8A3pw7e2umVIAjovMUNndGj8qJaDTyDmF/2DCtUK/djKuewFSVAnbtQG OVNLBS6t+csFGvLd0BXszPm4c2QDa43Ypa3zdrTJA9dF/qPAR2/BGGxaSorDvlKP37CN SxHpo5P6kWARlupMbhoCHG9Dzs2Gk3g/XAxAJMQDqDcv4V+yrljZ7ig4BMvzfaZx5ZNn X4vj0fl7l4zDGK4UVaN3Ma3sTg+9prK9zGCJyxgWxg9mGraOFV9FUir4RK3C5WDUa5FH /reJ9TwnwNZMLaj/6cuBpeVjeExIlHUklpPJgvuxHQMPM99p9e+gNFSH8wA7XChtqmCE C/vQ== X-Gm-Message-State: AOAM533Uw0EGA7VzWuO0DGUzQ/PQjglh7FsrrLVVjZ4EsejdpBRxOyik IRQ+7sadiZr5WmkR625KLiqe2AwwJ5LLzLUu X-Google-Smtp-Source: ABdhPJyrYLV154Sq3GpwPqRvJH9FVw+2Lq602I0eHxtZZVKoxaV73mMX2l1u3QAIhDNCsajHvBUrgA== X-Received: by 2002:a05:6122:e47:: with SMTP id bj7mr9323227vkb.6.1640850488088; Wed, 29 Dec 2021 23:48: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 m3sm4867053vsh.7.2021.12.29.23.48.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:48:07 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:44:51 -0500 Message-Id: <20211230074456.33433-37-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230074456.33433-1-philip@philipmcgrath.com> References: <20211230073919.30327-1-philip@philipmcgrath.com> <20211230074456.33433-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=1640853403; 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=kbUTcWYIFaKxnl7L5xbswwhw8W5QhV5FYbGC075qAJY=; b=c7sIjqjUSdJ5TX5qNqUT/XaFeZhCBPVb84EvY1rxXtPbF8/z6iMOonqWyCUC8mvvN0CR9E bXkqEOtnDfVJV+g1SdKNo308TzOLQ+KChs9Yjs/MXiFw7QaVjDoiufSY2oyDOOzTo87fLR ESJngH4vtM9U/KX/aMfUgjw2DpKDfdnKl3iUvxzqEC+NOe2kwAw4o7JrLGxkRIiYNcSNOn QgyLYGIHqeEOazbxEFJ4x/nRRKPHAsVOG21yuBywF/5JNiZ8aRSO61+cjFKE7TIK9NrisU hlj5BCCOekmDkXL8P2N999raDQDPZLgG1TRmTuOpbK+khgx5I3SuJTW2B1MdGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640853403; a=rsa-sha256; cv=none; b=jFHMzatc3aCqoh7hoh5WOflkisuj62ULsVZHSkS1c6eaxRkpSvZRy5kMKFu8cLNeDqym0j +Lagja34bKgGJUzomswzg/GYUTscYz3pROkEnKLuzI9GI0apTSSSmsH3pfxKYbybShZY9i lO9CSWLuH3Vnp9lOeqmdTm0vGuW+s2oWS9Mm2wUqkfK/89TJoZgISQrc2gvc4nmCdO6dua MsAQjdauNbvcWhlIFQprvvg47OvHmQLSlt8tTBlyjCd3kFH2MIv8lZ3VpPsXFhaaHhwuzL 8hbsk9reDg11MBVM2O1oDOae+bOCD9xKJGkq6B0PjRMiVrraQYCP304uvWvHew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=b2+MN6oJ; 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.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=b2+MN6oJ; 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: ADBEC284DE X-Spam-Score: 0.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: M63OkRINhCSi * 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 d26c4b8ba1..125b32ea74 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1147,3 +1147,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