From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MGawLHZtzWFF/wAAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 09:27:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ONIRKnZtzWH5UwEA9RJhRA (envelope-from ) for ; Thu, 30 Dec 2021 09:27:34 +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 4E0FA2938F for ; Thu, 30 Dec 2021 09:27:34 +0100 (CET) Received: from localhost ([::1]:41724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qFK-0002z1-Ec for larch@yhetil.org; Thu, 30 Dec 2021 02:53:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qEJ-00011y-IK for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2qEJ-0007Eq-5d 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-0007Fi-53 for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v7 41/41] gnu: Add node-serialport. 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.164085069227722 (code B ref 51838); Thu, 30 Dec 2021 07:52:07 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:51:32 +0000 Received: from localhost ([127.0.0.1]:51264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qDj-0007Cx-Rk for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:51:32 -0500 Received: from mail-ua1-f44.google.com ([209.85.222.44]:38464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qAs-000724-Ek for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:48:35 -0500 Received: by mail-ua1-f44.google.com with SMTP id o63so41278627uao.5 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:48:34 -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=zE2i3xIBRTV4B3p097K+eci89E1xnT72LjGefDtI7/4=; b=jlHtxFYPUwCN+nz5iID/K1+Alm270/QYDdSK8uGg5EhOEH/DgzGbXewfIWHgL1V6A5 djXg7aU28JDX86j7idTufn+uBjopMfh/cJK0htpYYYEslR/6Tl3AxHPEg8ebOecmXo/v GquduixFNKv0sc4HFfGFDw14axxeqA7UylgSTibXuqs117asssWqgx9Otl8plOnaLTzx AuvpOLYn2Tl0LZrnjjAQuV8DOKHbTVdXoboz2eefrrwTaujgtqHXhIgSiZRpczhLC7Xg 5XR/oalj63XBeku3hkoydBvhDMQenxQnVLAaZ7ldzfX1Fp3YCG+Un7U+E6gtu64kCUoq GMBw== 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=zE2i3xIBRTV4B3p097K+eci89E1xnT72LjGefDtI7/4=; b=Ogu7H/h3a8vd+a9w//b+APGT3an9dkzdoH8xoxjs7s//43oXvPXhH/tx65MWpDAcZw TSSIUGEZN+ttlYs3Qybf109fLbATRjqgzWIu9pJwnAHiIbJfsvy7z3XBdaVML+r+VRfU eRMXJra97Urrch+veUCO8w5/Lqi9ZEr3TXXAXFd4oyZJs2JOWYM99fXwc6nxkDNmwJZL 1HRPJTC+btitxaPoEoiRBfwInkJ1dA2jYlBJ21vzeg+HYmVJvZP4KUCVoJTzl7e1Zicy PknIbGtU4rL9kcbd8LsJ1pFwq+2dFtGgcZQB46vAbKxAyKp/kJ9TBJQdmDZmMleJ00J9 hBog== X-Gm-Message-State: AOAM5315CXQC5MvvefqQ03y3UlKM2lnk2BeVfhSIn+kIy4Uj7+YeCjVK tNJ5HQTAjdyRCnoqxmhIy6aqjQcCDGCe2ar3 X-Google-Smtp-Source: ABdhPJxXaiVYM0TiaIIYRcuwIUaSs99wjfELC/V9brnzUuGHIJPx5re8GRHp8dVkr+ZBbvd3aNbCLQ== X-Received: by 2002:a67:f8ca:: with SMTP id c10mr8999385vsp.43.1640850508983; Wed, 29 Dec 2021 23:48:28 -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 z11sm4020870uac.13.2021.12.29.23.48.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:48:28 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:44:56 -0500 Message-Id: <20211230074456.33433-42-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=1640852854; 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=zE2i3xIBRTV4B3p097K+eci89E1xnT72LjGefDtI7/4=; b=oh3D5EAQRNNT+I0rmMTX0EG/JBjYXYUe3EU6h77XMUfTxx8fbWzWgaqr8EiTIjPXqoDNxh 8SvSGe9PV6Mjoo4jjkn2M53spFm/FLXBbo++o6OLE5Jc+uUHXDysiX0VrsgVakyumQCyYQ DpLpXgf51Fb+/w6YuFcWfMTgPY6rX68p8MQs7JvBruFsI0B2ErnopfDnjTGzRNYu8m3tbl 5FWmJIorhDjioc2UnN0HXQ87G4AQWCC+sduRhMtXkwmc62VP8+CbfQgpIilwyQEZanMn+W gHUW1ORSxy7sO+517aSSLWStBBax7B83/6ghh3dSAsW33y3TwtuBIukvcTe0cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640852854; a=rsa-sha256; cv=none; b=I+tnZqY+jrwruahCMnQQCaB2pDmxnRV2hLZqCrp+kHDH5MFRA8cA4t0ZhhK8PjDY3M+ArE UpVIofN/+IVahOPtERudWD8cEJoBtadXTm5mJgk75P3WilFm8GlA1JqINI3ey5OFH7FguG n84T4VmSwUTDLZoM9JZPquqOWO/jJDem+5bba1ImgX53gaDPKq/dTn+59bViglXb9FipYr xvBPa25S14QM0vQZGXU9KQ5UD/EyKG5lqv7hZf8tI2ofXrM92IjB0vWHYcg4o39pzcLYVH 1xsD10hh6zGSJw7BJ/ncVOt9eR/xrIrGtCIaSOG1Z9R37MNr+aYKXvtekStPtg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=jlHtxFYP; 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.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=jlHtxFYP; 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: 4E0FA2938F X-Spam-Score: -0.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: enC7MeesIEuN * 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 e3fc8c23b7..449b2a04fd 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1264,3 +1264,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