From patchwork Mon Dec 13 06:00:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 35181 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0C22F27BBEA; Mon, 13 Dec 2021 06:06:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C8B5A27BBE9 for ; Mon, 13 Dec 2021 06:06:25 +0000 (GMT) Received: from localhost ([::1]:45754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweTg-0005PV-Tg for patchwork@mira.cbaines.net; Mon, 13 Dec 2021 01:06:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweSR-0003et-PX for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweSR-0007Zw-Gg for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweSR-0002eB-7k for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 36/45] gnu: Add node-serialport-parser-delimiter. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:05:07 +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.163937549910040 (code B ref 51838); Mon, 13 Dec 2021 06:05:07 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:04:59 +0000 Received: from localhost ([127.0.0.1]:53803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSI-0002bq-VY for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:59 -0500 Received: from mail-ua1-f47.google.com ([209.85.222.47]:43772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSC-0002aa-0Y for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:52 -0500 Received: by mail-ua1-f47.google.com with SMTP id n9so8335399uaq.10 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:04:52 -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=FDG2I7aDnM1yPbSTw1bniogNXgwAhacbqIfXmXqdAC4=; b=EDZgXWLU3+m6QUcUm3+Y7tI54x1nYTfUZiojjI5+MiEz7sdJkc3zHuMd4P2k/CPxL+ MA1QhyCWw631Jj8z6E+YDpG3UFCpncQ3r6o0SrGsMGpW4i1zjFrHvIB+PK5c9hIIyl0o aApkQk2PSJVL7Qx7UPHAhOvztpNbdX2cb1lU6Av2GbWMntwFQKJ0IQUpaiYsNMX0M8bw UdrTjXDZstasCA3/pWvPFpdDamY8mmS3mI6P1DQ6X40bi1usuOawV+47mMLXDAaE+caY Y+mlqAB9WRVciSc/7ar6Qah39B3PZTqKv8P5YDUj88YveUWLxNEfEgn/KVkKehkvaz7u dpGA== 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=FDG2I7aDnM1yPbSTw1bniogNXgwAhacbqIfXmXqdAC4=; b=QiI+7zSX5M+LQcRFq9RU+d3+NW2cyZE4APJZNZGB/I1SP6RnaktJVnaY5RU55fu5Td eetwNWxMOiK4NsAFJm5Xr6I/sqKZyZSsPmhDg4mJUZVXKImY8r4anLTglm3tlfUviEJ6 vnWEhtSS1xqerMVgs6LjfZxSJxYQX0K+fg6MVi4FvEyPAOduOvFl0CaD5Jf2dA/Z5PNx rBJaH6y6DKXqcB1kmIdVVhrK9O36QMrgBMPJoefCrlnT4BbzhkTG3kc5/WB9FyhihgF2 pI9zGreS5HKbIL0BN2baaiPj7wcN01UuHXMzvlUB+gIKw/LpayRGfDt8vBmZF5rMRVoV efdA== X-Gm-Message-State: AOAM530bTq7yQfVFsK1z3EiNS4WuN2ZSo1jOCCvYFepHmcbb3M7sqRRs qhSp/GRcNWxOLkp1QLcRvvruW3f+VknulwW1ly0= X-Google-Smtp-Source: ABdhPJwvI2tvm6yewK7uzsmMeIC4Ux3SzwhqrGQruRuV9hIWhxKP3ycKX4EScXQwlu5sclimV5SCxQ== X-Received: by 2002:a67:df90:: with SMTP id x16mr25369442vsk.52.1639375486649; Sun, 12 Dec 2021 22:04:46 -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 j15sm3964894vsp.8.2021.12.12.22.04.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:04:46 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:00:58 -0500 Message-Id: <20211213060107.129223-37-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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/node-xyz.scm (node-serialport-parser-delimiter): 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 d821790ecb..4e69fd146f 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1017,3 +1017,25 @@ (define-public node-serialport-binding-abstract SerialPort bindings. You wouldn't use this class directly, but instead extend it to make a new binding for a different platform or underling technology.") (license license:expat))) + +(define-public node-serialport-parser-delimiter + (package + (inherit node-serialport-binding-abstract) + (name "node-serialport-parser-delimiter") + (version "9.2.4") + (inputs `()) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/parser-delimiter")))) + #:tests? #f)) + (synopsis "Node SerialPort parser to split data on a delimiter") + (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{Delimiter}, a parser that emits data +each time a specified byte sequence is received.")))