From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kEGeOn4WsWHaCwAAgWs5BA (envelope-from ) for ; Wed, 08 Dec 2021 21:33:02 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0BJGNn4WsWHZIwAAbx9fmQ (envelope-from ) for ; Wed, 08 Dec 2021 20:33:02 +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 8DEFD2D872 for ; Wed, 8 Dec 2021 21:33:02 +0100 (CET) Received: from localhost ([::1]:52822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mv3cb-0003pS-OQ for larch@yhetil.org; Wed, 08 Dec 2021 15:33:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mv3a1-0006ni-Nx for guix-patches@gnu.org; Wed, 08 Dec 2021 15:30:21 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mv3a0-0000dd-Sn for guix-patches@gnu.org; Wed, 08 Dec 2021 15:30:21 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mv3a0-00063I-Ot for guix-patches@gnu.org; Wed, 08 Dec 2021 15:30:20 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v3 41/43] gnu: Add node-serialport-parser-byte-length. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Dec 2021 20:30:20 +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.163899539722940 (code B ref 51838); Wed, 08 Dec 2021 20:30:20 +0000 Received: (at 51838) by debbugs.gnu.org; 8 Dec 2021 20:29:57 +0000 Received: from localhost ([127.0.0.1]:41659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv3Zd-0005xq-18 for submit@debbugs.gnu.org; Wed, 08 Dec 2021 15:29:57 -0500 Received: from mail-vk1-f181.google.com ([209.85.221.181]:43606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv3ZD-0005uJ-PE for 51838@debbugs.gnu.org; Wed, 08 Dec 2021 15:29:32 -0500 Received: by mail-vk1-f181.google.com with SMTP id f7so2343819vkf.10 for <51838@debbugs.gnu.org>; Wed, 08 Dec 2021 12:29:31 -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=G5bxuezEE44bOHd4puKQphex6l7/vPnVPudMkt2oYiI=; b=C69UZ/CsGoNvGY4nxr+KDOXH9A2MaEB5Ouw/jN3smMzi6xdXe7JxTUHD8p+80tBz1r mbux7vFqmizSiZjgS6Jz3cNKcFViSbdHLyFk5EOyIsNyaqfM6UPXv+mvBX7D1RpFi3uN ThN01AeSGIwvfJtHNQzNEL94dKagxVjWXpNBVYBnfcK95gN32GzL0hfigyoqYXjRKT8f LVhQKZuymg4bfwUTX9MfS/bvB/JWccpYkfUyCn7m1o5UuFSbwENkHpFoARfzlg0k0+gf nJzquA7Is1cVdlFAbRUou/bUhmCvNWb7mJJH2E7KRvRei0Zn3BbQuuzCexHD9yRvN2FS hedA== 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=G5bxuezEE44bOHd4puKQphex6l7/vPnVPudMkt2oYiI=; b=nS3RsVUD7RNtwMcyo8BxwUCZ3aHTYfYcleW7MrNCKvm6Ra41dU9B6CBFzgQfKZa7wi FLOnrVfYEWUtwtAM4Bk1nuesDHkfOy6Bup0y7LlMnjIxpr69NkcrJUSG8Jk01NdNUeAO pzDbHNJkWl7ZlmdFKVjVi00pRZYYz+PYUhqz8nWGiH1fTviB8uv3l7/mOfpkLPmfjIao KwRjwp+7d7sWRZUZyqflmYz7Pken0GpOd9fpt0R1CZMsTIKdQfzlhZv9WAI3tcmJV/4F tqrXXDRhwN+E9EPU7SDq52eLqwY68w9Dr/4rb2V/+nVVYWEJ9d23BD7Tkl1UD2Q0IAgc jvEA== X-Gm-Message-State: AOAM532g+FAi0eBUs1hlxiGtTp2DOBc3fcPq684JPRcrrIbqMW1GHAi4 qJa0v8v7NTzlTAW+6QzgBXP+f4jNz1w53LoWLOY= X-Google-Smtp-Source: ABdhPJz4E1fqQ6ISQNyOSwpEeLTY91AStzHeKZMVKXLwZVSnVubh4EbMIt4+ILG2d1vG6//sd4IqoA== X-Received: by 2002:a1f:9b84:: with SMTP id d126mr1288375vke.31.1638995366235; Wed, 08 Dec 2021 12:29:26 -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 j15sm2323154vsj.32.2021.12.08.12.29.25 for <51838@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Dec 2021 12:29:26 -0800 (PST) From: Philip McGrath Date: Wed, 8 Dec 2021 15:28:36 -0500 Message-Id: <20211208202838.752542-42-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=1638995582; 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=G5bxuezEE44bOHd4puKQphex6l7/vPnVPudMkt2oYiI=; b=X+vlRYKxL8TuB0/6ZG29q+lCBoS40DNvoo2XOEBbJVjEz2IFzT8kwWv2FsRUQKsMFBt6Jg 4dVOvp3EharQpm7VCWYYeYoJSXbESLx79ISMO8ehBSEMZ3r5yKaZXd8kZBQ5/yytpOaDlj T9HRnsrdZR83wMUoNc4VR7ODHUaJ4+O69Ag0C4XwW3EqPQCIXDB58TbNRvzQwSmko/mYrz 1zTEiHTip2FuGrwY0Wd2W9GED3EnzUibSrYGZ2cxIV9HF9ln7mYdY1jRlrPkn48GAhqMtT LHj5v3hxDA2K81DZm1N8GiACbW55zLCggaPaE5FMLqpwL8ry/k0ebNWQ5GAkOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638995582; a=rsa-sha256; cv=none; b=mL04eHTZHmtvv38x8BbiNmQ/AWRdrVBdNRn8ZKcmdjlRKA/r2ShlJZUgeMXnqyjdeLKfhF +gtNvsAA+CYp/6Ru0IV1l9/1RDYvRdb4zrTmWJpmW6+JKTmwH+7b744DbC00t4raI3lsVz BXaIdcziWOdZJ4FvMpzlqqNsb2it5yVr9GGxlcIyO0rQbMMLV0MHM7XfsmpB+92i9H/19a TQ4r6MRd/jUz4RPTeRXYbfb2WCE2MdATe45gMFMJG+V6sRw6PZWwAp72b9rwDC2Yw1SOYu jRSqQ323ChKxAxfZV2z7S8oVIiosCcMiOVDtgmLKyKTscU8LY0i4esMR7wXHEQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b="C69UZ/Cs"; 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.45 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b="C69UZ/Cs"; 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: 8DEFD2D872 X-Spam-Score: -0.45 X-Migadu-Scanner: scn1.migadu.com X-TUID: Hh9xCK8jEskh * gnu/packages/node-xyz.scm (node-serialport-parser-byte-length): New variable. --- gnu/packages/node-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 7f59b0f987..3722f90e3b 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1112,3 +1112,24 @@ (define-public node-serialport-parser-cctalk messages. This package provides @code{CCTalk}, which emits packets for the ccTalk protocol (an open standard for currency detectors) as they are received."))) + +(define-public node-serialport-parser-byte-length + (package + (inherit node-serialport-binding-abstract) + (name "node-serialport-parser-byte-length") + (version "9.2.4") + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/parser-byte-length")))) + #:tests? #f)) + (synopsis "Node SerialPort parser for fixed-length buffers") + (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{ByteLength}, a parser that emits data +as a buffer every time a specified number of bytes are received."))) -- 2.32.0