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 uOWMLyDxu2HsLwEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:08:32 +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 oPlOKyDxu2ECWQAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 02:08:32 +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 4ABD53592E for ; Fri, 17 Dec 2021 03:08:32 +0100 (CET) Received: from localhost ([::1]:58126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2ff-00006x-Df for larch@yhetil.org; Thu, 16 Dec 2021 21:08:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2fD-0007NF-Vi for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2fD-00009m-L8 for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2fD-0005Kl-GS for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 44/45] gnu: Add node-serialport-stream. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 02:08: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.163970685120424 (code B ref 51838); Fri, 17 Dec 2021 02:08:03 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 02:07:31 +0000 Received: from localhost ([127.0.0.1]:37427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2eg-0005JG-Ud for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:07:31 -0500 Received: from mail-qk1-f179.google.com ([209.85.222.179]:34668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2e3-0005GS-7x for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:51 -0500 Received: by mail-qk1-f179.google.com with SMTP id t6so817403qkg.1 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:06:51 -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=P+IqyFt+c1GImqDABKXuqmMrmnD5UDmVrfRfIVa4mJU=; b=LUXD3Wvag0dTw/a6SNeT7Ow5hq+xZ6aa5xmYmNAXf8E+oqHwwYpl0HLYyWc/HRShqs OExTwHc3pFFWuZZrBqguYImHWOOxRqedE6CR3HWXVk+XnXJORZ0jOAwgd3oBk63mbiYy grZED3I6AysgL9L8fO8z7nXuW2GufmrknRHfhCbRbklEjYMhZL6Ebn6v47RUdE/Ss6NQ klI64moLwuRFzwFBJ2C00yTkqnZOm2JqN1ifDNmDPKrQ48cGLJ6cvTIYRa5nKnT75cWE qDQvBKJvwGCpoBn+XeqmBrqfXFoGIHrJzzSvdrMNzjB5CSO+DZSmDYdasdLVmJGBOdXP HxEA== 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=P+IqyFt+c1GImqDABKXuqmMrmnD5UDmVrfRfIVa4mJU=; b=D344DY/IJ8yGQkn2DiYMZV88QbHHBpxCr5o/QlulGN0oT2ndPKjnNC0ABdQminAPm+ StHpXMzu+QioVf1kDlRw/8jkC84djCz1kch3mpWhM9Or0e3DeyqAMMMmh6PishHLRD8Q UFPhJkqBsYs2PWF3aT1Q6gV8HukpxjMr/yDVf9kecw9xqxB3XnA7Xw0ymbH6CY8MWssc 1U3MvwWaMveupewkQq78zESpN656ZqQcHeipgPmaiKNWxBXiFCJtEUk4DhyjzQ3nBh4W U1jatx94Y47bjNZbqq7d89ELqrGXRpNrzTa0Bc2v8Aq0AAwA55WCwfGkY8yTRtrwIT09 F1nA== X-Gm-Message-State: AOAM530zlusruUtoWMWkFQ30DgpFVBQrm7XV8hUz8mXj82yGg60MmLrm ztixs72TZthX5/YV7E9dBv4+ep09j+A6aRyIjzM= X-Google-Smtp-Source: ABdhPJwtISRWcIvMGQZiONxK1Jt2OQCfYRKSw8ZTRgzSSErYJfc9/KnSFDAROukeS2fm1SHpBgVvGg== X-Received: by 2002:a37:813:: with SMTP id 19mr518041qki.729.1639706805808; Thu, 16 Dec 2021 18:06:45 -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 a24sm5174381qtp.95.2021.12.16.18.06.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:06:45 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:24 -0500 Message-Id: <20211217020325.520821-45-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=1639706912; 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=P+IqyFt+c1GImqDABKXuqmMrmnD5UDmVrfRfIVa4mJU=; b=JwZChNT+lSxC66g3ldp7CLbFOX2gYT9wZx7yDAM7uEnNSKY8hRxrhOC7CJNM6CgTwbk6mB LZngnEFqV404UsL/VtW79k+Fw7pM+3Ebtxu4Uxg6icL8TjpPOkcT40G/4HyGcA+d5TXYbo 99eXtMpPDRhhZ8Iv1PJJGgxxqC+777VWNQOZTy7if4b8z7EZ5m/q1eSMndgCE4ohMbieRe nWxv7zeseL/hEpT/nxLsjfK+Y3NcEg9Bnf4vVUe6+WesAwjZSeknjurb4w5s+BEJYZyFdX DzqehMOwCExlRHQI4XqTeF7GikagyKLOk5Aqlf2xrSD7uL4T+ee3o02nPDnZWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639706912; a=rsa-sha256; cv=none; b=slism+mXcEPHtvVpR1y7X3yeM4VeaXNvJTTxLmqGL1GeroZ4Pk3PEmZ7ZdTFiL2RYTwFjO 7XsDO1epDQjanXkdZmsqMxZMy6a4qxMo5bhFSJA7+vvtxVlnmnozuOtglTmNtYfRHgTInz 6RB2sR6251llZJczrbipyhjTemRu/z9gHrfb0KxvLl0NMEJ+GOb50QO+t4YCHXOunZJVcf VPHiTEachQ4b0hDzxBScDcF+a2l9i4ZX/q/ggiAJsGYUodX44R/RPh98E+YLB3gL4imtVM 4eaDEnIaxjdbZM3tAZeR/wDcZOHsMJPE6fhdlvJ31p2OrHtnMJEGDHnKjnwUUw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=LUXD3Wva; 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=LUXD3Wva; 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: 4ABD53592E X-Spam-Score: 1.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: C9KofGhsSt6E * gnu/packages/node-xyz.scm (node-serialport-stream): New variable. --- gnu/packages/node-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index b2c2d62220..083f43e33f 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1219,3 +1219,30 @@ (define-public node-serialport-parser-byte-length 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."))) + +(define-public node-serialport-stream + (package + (inherit node-serialport-binding-abstract) + (name "node-serialport-stream") + (version "9.2.4") + (inputs + (list node-debug)) + (arguments + `(#:absent-dependencies + `(;; devDependencies + "@serialport/binding-mock") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/stream")))) + #:tests? #f)) + (synopsis "Node.js stream interface for Node SerialPort") + (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. + +This package provides an interface for using Node SerialPort bindings via the +Node.js Stream API. The stream is a duplex stream, allowing for reading and +writing. It has additional methods for managing the SerialPort +connection."))) -- 2.32.0