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 zbEfLG7jtmEOWQEAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 07:08:46 +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 +Ew0J27jtmH2XQAAbx9fmQ (envelope-from ) for ; Mon, 13 Dec 2021 06:08:46 +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 5FAA31F753 for ; Mon, 13 Dec 2021 07:08:46 +0100 (CET) Received: from localhost ([::1]:48714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweVx-0007XN-Gw for larch@yhetil.org; Mon, 13 Dec 2021 01:08:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweTM-0005MM-UI for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweTM-00083G-Ib 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-0002iC-DZ for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 44/45] gnu: Add node-serialport-stream. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:06:04 +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.163937553310333 (code B ref 51838); Mon, 13 Dec 2021 06:06:04 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:05:33 +0000 Received: from localhost ([127.0.0.1]:53847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSq-0002gV-QA for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:33 -0500 Received: from mail-ua1-f43.google.com ([209.85.222.43]:39575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSi-0002fq-Gq for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:24 -0500 Received: by mail-ua1-f43.google.com with SMTP id i6so27299577uae.6 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:05:24 -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=klMSCld2txBYfd9z2tw2McgEXAtJN8Za0v6/7p+14xc=; b=kkogEC0svPAwnL8zTp2EL8lzNspmxnxnU37BmqSXS6c6ddPvu6/QwtiRi0Bh5IOBVg sD0Xkq+If2eY7Wg/YMpaqZtFnALZbWT8QzSFfPWfa8Om5Ebsg/GjXIBVAqLJiD6b99kg b3L1p/R8XknZ0BEIq69gNd9Nx0zuFeqKmBsfEcWTUTb1/iMGJVqnrj6rtyjIRePRKYrG js5jz0h4kqTay9cikIPGTeJxeEn5mYE5doc85iml3wm5u86NKf/P1xs/Qz47YOUhCyc9 HXRDkQz6tZP82eXSoWcfRQ5SJ7tHPpWgWiAMWSE1QfY2k8odD9/CWkQjYtpXbYkRhWQ8 RgmA== 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=klMSCld2txBYfd9z2tw2McgEXAtJN8Za0v6/7p+14xc=; b=8KcwNj6piSm3iPPiWY57CEc8DEC7DHUIvdYloFXlbbNCka/7eQe7xrxTJqTFk0aMwb P4/rmveZ55ZCAcquX/iqaRxwgOAxS3ggD+1EupDX4NABbW/b0MAtxy4IBs+QYl3OQfNp jXnRybxcV3Kw9hjIMiS75seOIfGbxIgf/cqxvZC95Auqa/MORDniARPWWpGhAQitn3l1 G33tbABSjWeqI88bFfno+AhVtPKf6RWSLe2XelUec4eFdnLmT7m5qqY5hqAKXt4KHNjZ 1qfDYMkqKF3XjXUgll8Rowdk2mVz7Qda19tnjiZxq85yEnwLkRcFXbT262EkwK3BMJ2M 60Bw== X-Gm-Message-State: AOAM533CbTwUaWSMt3GtPKvA7Icy7dTJZKsujq/rOMOZ9fbghnfxDC2w Q+WeHm15q8Jjx7503/ZMNzPD4anLs7RfePwaxME= X-Google-Smtp-Source: ABdhPJymunzTpAM3d7UZR/jnC99EX236fg/qw6CsCfdC4nMt3TrnIInRhT4/jZrF8FayFW6sXAG58Q== X-Received: by 2002:a67:db13:: with SMTP id z19mr25887900vsj.4.1639375519096; Sun, 12 Dec 2021 22:05:19 -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 i1sm3697637vkn.55.2021.12.12.22.05.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:05:18 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:01:06 -0500 Message-Id: <20211213060107.129223-45-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639375726; 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=klMSCld2txBYfd9z2tw2McgEXAtJN8Za0v6/7p+14xc=; b=Q0ooxYcF+dJ6CZOOELUDkknJUjBOo/GCgTm4dp4kyDdl6F3wYMSpg/MmH6GChbzlzyMbgo V6G6bvKISBMTzOk5rcHLcFu66QeaRQEIabfmjJsxXf++38QrlD90K46DMF8aaII+qW26LA ZZE+ZOhEkmiwpcs4zIA9ZPXJJJxERU8E/H72bM4wxgcYEG7go/Rv3knbR8IBcNMPTNXHf1 MtgVCk2Pd23ePTLIhbA/6H4t2YhK2bbNMge2xXJ3kAq9Ahis3cL95ahv4V/fucc8TbjBGI JbID0uzJif1MABAHqyS3UmPrv7MJznr55q4DL/LNGcNrL7fsdrl6V08J1BsNGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639375726; a=rsa-sha256; cv=none; b=mTIm2/aSwC4mXtZ3zS+2CXYPpT1fAgJmuadBsC4n2D3h+8y2wlBr4ZZNp/9nYg4Eta8JB5 YKmQ5lPCwflwp33E/6VOpmWP7nxlz3vfhBXLFMWmRflNFvdrLPwfzKQSt1BA5kxgEn5fYC JqPRA2JoAxNk9KysBLBqRH1cv1JS1R/iu6vYLuQ7ICLr2oMVRf6UYginzjHsXf/8ohDNJr KxywnQYeeyTuAA/Jr92+jyzz4lPh9hhMlt+tomdAL80D30yh6ctdfeT3rOsWgEwW+fQSPD I0g6l+6u6/3CI6Mmoz293RG7bxXmX0kcdce5LmCLsZwyb4JWwCurcHqAxWFJCg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=kkogEC0s; 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.03 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=kkogEC0s; 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: 5FAA31F753 X-Spam-Score: 1.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: Jeaz0B8i9R5v * 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 3a4d155b02..271082ce5b 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1231,3 +1231,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 + `(("node-debug" ,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