From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gMAxEDvxu2GpMgEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:08:59 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yNzvCzvxu2HvcQAAB5/wlQ (envelope-from ) for ; Fri, 17 Dec 2021 02:08:59 +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 AEDCB35671 for ; Fri, 17 Dec 2021 03:08:58 +0100 (CET) Received: from localhost ([::1]:58764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2g5-0000YA-SW for larch@yhetil.org; Thu, 16 Dec 2021 21:08:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2fE-0007OF-Al for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2fE-00009t-1z for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2fD-0005Kt-Tt for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 45/45] gnu: Add node-serialport. 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.163970685120432 (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]:37429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2eh-0005JN-8Z for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:07:31 -0500 Received: from mail-qt1-f172.google.com ([209.85.160.172]:42529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2e7-0005Ge-Ax for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:55 -0500 Received: by mail-qt1-f172.google.com with SMTP id z9so1182674qtj.9 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:06:55 -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=6FUHpCJc8NoqTi9b6RTRt/hgudmG1JBAPk4KqHMWUIE=; b=FAPsd/760n2qVrCy9iI76YrYYXqvkYlWEPOSIlR4Lac+XG7IBPkPtaQDRqg6xNyXoD J96tef+DhZSZBEJ95QTbynkMumW4IqzDJKcZumDrazhRgYThP6XV437vyCxm6Ez6p2Mr WUTpk5+aD8KZBGxGHUMXv8CIelI1FTmIyOvBtAJOR9V3uVTZKRr2+MoFRN5QasL3Ez4s VRjWKcev81+HiEDz4r+/YqqKPQU+yv+P4Q4GBwjv68VdLOaoyJv29LMLM3auyuy0SOOk c2PCCNXLmMtgERaMTYtVCaUiwUqF+YfmOIHAy4JdM0MTGjos000JwfnOkf2jrVO+giwu Egyw== 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=6FUHpCJc8NoqTi9b6RTRt/hgudmG1JBAPk4KqHMWUIE=; b=MbNS0vFyai0dPL/Z2GatNy82Usilbuo34pMb0lWhzOEAY0kIWW9BtL7ed0SffA4g98 i5pxsQaZoQInpjyK1AZTmE0cKwL8x2BbNt5l1wNS3pN6OyPhmIT0UHPQ6s60AmtK3KwJ gVeaIgk6A30Rci+45S3Wk6In12D+aq/HIIeKXgkLJ7ZvTssmwnZM9KnIblcVMnixOAeN UiJf3e9NbA0pgZ8/Gk36eg9zuJYC8IFsjpUgcPrsX2L1TmipIb06XtcHcd+embztO2Vh Tue9fgwjyXAgQIrDEyPIB4RcMVasI1RGDKX+3XtwJhLJsjvJyc460Ln8e/nRX+xdvud+ ehOg== X-Gm-Message-State: AOAM533eONQ2U1+Qb0LN27GSgT12gf4MNsyUO11lbFDzPZVlkQJ1rZgo UVJvnZk5yyExt4RqT3GzCkNFejDZVKwsDFqDBeg= X-Google-Smtp-Source: ABdhPJyFXe2MVLlfcEFJIIbDvihSspho8ih76Rk7uzznkKQ8B98gBEssmUUEs2hM/Gahyl7jGJmueg== X-Received: by 2002:ac8:5f52:: with SMTP id y18mr730060qta.534.1639706809929; Thu, 16 Dec 2021 18:06:49 -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 x190sm3806674qkb.115.2021.12.16.18.06.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:06:49 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:25 -0500 Message-Id: <20211217020325.520821-46-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=1639706938; 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=6FUHpCJc8NoqTi9b6RTRt/hgudmG1JBAPk4KqHMWUIE=; b=UkC2nUrQJaej3ZVTEdnECR+z2WifWX5ZwHX6S+3ZJSetRMqY0mwyiZnme1JZ7kFBB0AeWk osScfjVU/4TAAED5244WFDDL45FLYJB4c/Avua1lmNJtVR1aT1yNNSc9lvCP7MrUcL84cn txdkNSekubXhBCpFurMf6MxEe8WyzNxgmAvHJaS+NRxEVb54ZKWv8Bn5/A7nZY08RJhRiW LtgcN4Dfv0DJrofGWj/ApQJVzsO9TBGQjMKSZSyLue+AxmDvBWdPl8+DYkMx6tyZD9kiNo tR7f40ElcMMLD94IkjF32mbk24tioAhhVlyLCpgJUJj0P6SmOAVG7ONe+MCPpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639706938; a=rsa-sha256; cv=none; b=ROIOyv2CjYWzk4GCA8/wIFRoQXTwhn+U7sE5Nw2xeSRFamYzNdZD7se/a1N3pAPZhYHltN BIj9m/Y+2lFpg4/MyE/BDOrXK4vyjdVFoD2M2uU1WwiO7vTsYzn6g7DmRGQmdMQGl11DOq X5uehNh2hKMYMIIEkKZN0PXGwXHFroWvVPvYOa6zS5OlG8vTLfDrDyWfqst5VTU1Xkke/1 WCMWEfNMynUXsCkM6F2yJSnPmwMbSHFrOSWHRa06xsx6jRlLN6O2XeQ+W7mQ3cjkAXHjoJ DdPH9xCxwmjflF59QL3N7NA0Sbq/ev+sq9YsPvPcPcxSb2ZkUaILVDC3h96i4A== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b="FAPsd/76"; 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="FAPsd/76"; 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: AEDCB35671 X-Spam-Score: 1.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: tmuEa4h77C1c * gnu/packages/node-xyz.scm (node-serialport): New variable. --- gnu/packages/node-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 083f43e33f..52dec0423b 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1246,3 +1246,34 @@ (define-public node-serialport-stream Node.js Stream API. The stream is a duplex stream, allowing for reading and writing. It has additional methods for managing the SerialPort connection."))) + +(define-public node-serialport + (package + (inherit node-serialport-binding-abstract) + (name "node-serialport") + (version "9.2.7") + (inputs + (list node-serialport-bindings + node-serialport-parser-delimiter + node-serialport-parser-readline + node-serialport-parser-regex + node-serialport-parser-ready + node-serialport-parser-inter-byte-timeout + node-serialport-parser-cctalk + node-serialport-parser-byte-length + node-serialport-stream + node-debug)) + (arguments + `(#:absent-dependencies + `("@serialport/binding-mock") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/serialport")))) + #:tests? #f)) + (synopsis "Node.js package to access serial ports") + (description "Node SerialPort is a modular suite of Node.js packages for +accessing serial ports. This package is the recommended entry point for most +projects. It combines a high-level Node.js stream interface with a useful +default set of parsers and bindings."))) -- 2.32.0