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 aGhoOlzjtmGOSAEAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 07:08:28 +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 OBo7NlzjtmHmPgAA1q6Kng (envelope-from ) for ; Mon, 13 Dec 2021 06:08:28 +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 921251F6CB for ; Mon, 13 Dec 2021 07:08:28 +0100 (CET) Received: from localhost ([::1]:48114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweVe-00077s-OE for larch@yhetil.org; Mon, 13 Dec 2021 01:08:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweTM-0005Ll-JW for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42308) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweTM-000833-8D for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweTM-0002i4-11 for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 43/45] gnu: Add node-serialport-parser-byte-length. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:06:03 +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.163937553210326 (code B ref 51838); Mon, 13 Dec 2021 06:06:03 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:05:32 +0000 Received: from localhost ([127.0.0.1]:53845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSq-0002gI-84 for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:32 -0500 Received: from mail-vk1-f182.google.com ([209.85.221.182]:43770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSe-0002fB-Dj for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:20 -0500 Received: by mail-vk1-f182.google.com with SMTP id f7so9712796vkf.10 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:05:20 -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=udke9hVIQSW5Hp1V5aM32MWM0oG37/1g2sNRR/89uuU=; b=ehaHEs1Yo4MfjkTrmVaSQzRJEHBeSPosuHXNkpoKoZA7vc1n5vXMzB2zcIBHHB8o6N KCxauh9srA2Ig/9d7f94cBkcfiaXXmE29Ic46mO5lsNC4/XPRw6LjAiiuu7cJaK7dZVp 2j6PQQgWFpp6bZ2mjhRHCD41pK1P+p8xr12/MnhqdAyPzjmIr0qZZcIlMBAe75u2hams a0cNJSip7povWFYWKbQ5JbMFSfBFfzYA7t8kGyP50wwTaVe+usmDoLni3AbYNKoyEu77 jIQNobBwbdLQuEKdNvPTtFLurt2yCuaC84iR0OLYBGv+5B8PnSsvnrz9LniMXEzgdn70 EU6Q== 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=udke9hVIQSW5Hp1V5aM32MWM0oG37/1g2sNRR/89uuU=; b=AKT8SNX9427wVf7hBhylBJqiABKnYkV66WAhqdOgzGCis67lsJFYsvfIC5ysEZg0sM 2WbXQj9tqlwCMRFCOKNubkK/10aFnwoYSlVmv+zVA24MFZIVurUaYVjkXyzH9ZLtePQx Mcl1kc4cFNTDtZO8j34C+JRLofyghignG+uX9ep6xrr0YnKxTzMq96N1GM3B8yRbnrgP uoL0GZY0ovV/iLBrDvMYbBd36MQJbQ/MYbbwlmXxRl2qJDmuwnjkGgQ55OTdpdbYIlc+ 1hjbyb5BTSc0T72Z1gJDUdYQLdMZpkmuHBtgYJ1xpQS88beDg5S9RFfrJRft5DPzj3kB xn9A== X-Gm-Message-State: AOAM530JO2unZyRBhGk7zSkVskWlKrlIzOIKytbwcfBGy5VNHzSmMpkt 1QxqsMeTGTPm2+mAYtFrSfin1zc4d/WI0HZizCQ= X-Google-Smtp-Source: ABdhPJxsPslEcMQdXPebRuefrU/OBfk/0qMrcMWJ7QLRmzXRseLYLRlZs14VTL9/izdo+0nGQ0a+Bg== X-Received: by 2002:a1f:9f04:: with SMTP id i4mr28906401vke.33.1639375515036; Sun, 12 Dec 2021 22:05:15 -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 o7sm3760536vkl.41.2021.12.12.22.05.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:05:14 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:01:05 -0500 Message-Id: <20211213060107.129223-44-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 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=1639375708; 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=udke9hVIQSW5Hp1V5aM32MWM0oG37/1g2sNRR/89uuU=; b=UEGeuMCPZdadLYeSZZRxsebUgV1f9WZZX0Ua1yJ2PUHhLCSbEvi7EQedu3kX0D/W/oPmfS xULUcEpN4ghEPlH+HBbMKiz85u1fdXbhicztPtzkO9JSFXZ5Q/tkMd5f7OxytfgMBOHnTa fTKD1QQcwkgk+P16AZmSKxUlYCs435y8W2/DYTM5shWVuKrziz77owrGWEtAqh20F2Ysqc qYufvL2yLweLHpMbNHIHRjf3VaYsmSgs9u6EMNuVrhTCI1wpUzF1kbdkCgBwM9MwHyDxS5 8o1L6e9PfE3Jg6yVhYR7tCpQQNWa/mmBNZnZj9X6fqNqnGAt9/J3/83ci/aKqQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639375708; a=rsa-sha256; cv=none; b=Vwp5G3WyDbA7yQC1fnOlTNut/mFQuMFUypzOib35tTJDakaOGY6ZolqRlESmXyp+9J5b+7 I2jsD6s5+xC1WX1b3u+EP5jL3aTla65Le+K3i8jvK39x0dJ5dEdYTJcS83Moac4hRQB95U G+Ua4Sa04yimeio52PkppHqyfVLyXEUCE1p/bqnAi0tQr/DMyXfQEfmJq15cR0GJm5ZZ61 dXTaI6dUkssDOzcOpYjD4d1REZSxAsMzCnOXod/bZvJXhvfZlhF0yePOc1YsmtiG+xVmdH XK0LhCa1s4MvUgqnVq104LEDeGqB4eZ8KF0PNDkI79FMOF0Yf72HTsJGc9e6PA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=ehaHEs1Y; 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.23 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=ehaHEs1Y; 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: 921251F6CB X-Spam-Score: 0.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8R+kHt2JwQde * gnu/packages/node-xyz.scm (node-serialport-parser-byte-length): 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 00d5cb7665..3a4d155b02 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1209,3 +1209,25 @@ (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") + (inputs `()) + (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