From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gJSXHLFvzWFHDwEAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 09:37:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0BRlFbFvzWEMBgEAG6o9tA (envelope-from ) for ; Thu, 30 Dec 2021 09:37:05 +0100 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 aspmx1.migadu.com (Postfix) with ESMTPS id 1016FD491 for ; Thu, 30 Dec 2021 09:37:05 +0100 (CET) Received: from localhost ([::1]:40382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qEf-000213-Q5 for larch@yhetil.org; Thu, 30 Dec 2021 02:52:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qEJ-00013Y-UL for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2qEJ-0007F6-IK for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2qEJ-0007Fp-HV for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v7 40/41] gnu: Add node-serialport-stream. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:52: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.164085069627735 (code B ref 51838); Thu, 30 Dec 2021 07:52:07 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:51:36 +0000 Received: from localhost ([127.0.0.1]:51266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qDk-0007D5-A5 for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:51:36 -0500 Received: from mail-ua1-f42.google.com ([209.85.222.42]:39445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qAo-00071P-AY for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:48:38 -0500 Received: by mail-ua1-f42.google.com with SMTP id j11so4310711uaq.6 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:48:30 -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=oA1p10jnF2rYDgA8t2n0JMsXH90NgILm4hxVxFHHACY=; b=QovCvrzcWP5YeC0Ma1eR49ZMz59q25NU/ANb8c7IdeN134aXPb5yx9MTs1WnPXraAW UmbPGGeFaJsPCaEsn/CO7pAdf9Y7ImeS240Cu2kfV6f7b/BiXHvQ/5qojMh0ND/H12tt 4ktlXMCJLMT4qO+zgNrXIYikMi3YIvkSvO1+fB/6urF1jpEMmbMPfSr9Lb0VQ9MQwzIn P9syjDd+bTB1buyBGURbwq+CSJtevrczzrHzDGYeQU776nAEJ1CS+xftJAhWC+xjfyyE 95nahJ+PB8IzQGcIHUgeKuOP6wDDNL7M6YoBIFwOtB8bFrEn63RDvexVtyeBYopJKeut fu+g== 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=oA1p10jnF2rYDgA8t2n0JMsXH90NgILm4hxVxFHHACY=; b=YA02Nywd8ItqGy9cbvgvkmxKloCFGYMPHdXa1D7/EON/X9bbcO20TA8ppTZfmG2jpX cRkwL7cb8AH6MydDGOOx2arLmlYgtIBTCyQJF+BWrAN5Xe2Ls61NolSCxBVN9mvDnJ43 KlheZF6g9L2jTAleht1vV0TF3vYooijpztYU0e29z3jATSJN8Wo8J6NPAixuhrMH3/pm 2zM2WtBmHX68pjTO/SjoPmDgVI4uGXXv3utpFB+5ydqeu0+CreS8KhMo2GmHQxGBS1Z1 bcAiBOv6O5qwv8mM6UB5Vzj5IbR/d3ephnEKtS429V/OdsUvqb28A1JpGRgCbG0C1cYm /uwA== X-Gm-Message-State: AOAM530YxGQOf6gA9MUPSEemgE4NBhNK8dxJJqhrD7BF9R8PYY1bOaoZ OZYxm1/xycRzGYjOrcouJdRwsg0uxUHNKz75 X-Google-Smtp-Source: ABdhPJy97cTA05/LDFMhkVCf1kWn+TxqOkog7LJJ/3h+JGgIVz4wJhUfnG2nhwuDWfjMSh/EA2/Vpg== X-Received: by 2002:a67:3212:: with SMTP id y18mr9246005vsy.41.1640850504870; Wed, 29 Dec 2021 23:48:24 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with UTF8SMTPSA id k23sm5127215vsm.1.2021.12.29.23.48.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:48:24 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:44:55 -0500 Message-Id: <20211230074456.33433-41-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230074456.33433-1-philip@philipmcgrath.com> References: <20211230073919.30327-1-philip@philipmcgrath.com> <20211230074456.33433-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=1640853425; 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=oA1p10jnF2rYDgA8t2n0JMsXH90NgILm4hxVxFHHACY=; b=S4gjD/AuPE92DNrGtKRTU0HmbX9gggkSJ1c8eqq82+UDPT04OHNgWOSyjgHGfpKS1Ixg4q GHldX/XFpiBhE37PKd/tiGcAllb3YcGPksQjdLWq4d+e3CGlYyM6ZgOebPNXOZinITljYI sLMj18WYE5fDeFYfLwUc42cUG0c4YTg0ovIPrzL2XkhelL9iMB5hcX5wV3fPAHuR5WqLh/ vwu68hp+6WaBO/oTi1w40DdQbVdnMMVUjS83pfA4dFgnk1BjL3E4fcJTPdZtpp8Z8yft09 7p9pntfz6jiq/gZjzJDmUtn9nrkFKnFOe183QBY3p3heriFCMVnWqL33mjEK5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640853425; a=rsa-sha256; cv=none; b=ceVwuB/R/skWWEpVI6rwRN1bctDrcYTAJVyUaPN9GjyLVYdJGOHfLS+fPlN7L8Ty8+gNoK jW5tZYkhIMb82qPVI/HDYkWCbwBry/BH3qBzWbHS1jTxC02lFjVqutWn+zLMGv5sLAytB/ K4TqtxGGQDHGa7Lf5C1p2e7IHZT8nNefB0X70C4143LXv7EYgo9Llxf/BxIOs3+sNddDu+ f04rU5gqZCuyP0qT5WvDFIWiX/7Mxs9W+rFAOsDk9Du45bPgUvV8ddPskQIluQFa5g4fEN D04d5s65DHDJcovrPIVo6gzZ0Vn3ViC4197T9gcsKmhdrQXOs6KhtqAMINQKIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=QovCvrzc; dmarc=none; spf=pass (aspmx1.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.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=QovCvrzc; dmarc=none; spf=pass (aspmx1.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: 1016FD491 X-Spam-Score: 0.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: eheg4K4QDNHt * 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 fa9498e31e..e3fc8c23b7 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1237,3 +1237,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