From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gK+mODNS2WFQXAAAgWs5BA (envelope-from ) for ; Sat, 08 Jan 2022 09:58:27 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yDM8MTNS2WEkLgAAG6o9tA (envelope-from ) for ; Sat, 08 Jan 2022 09:58:27 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 809AF33224 for ; Sat, 8 Jan 2022 09:58:27 +0100 (CET) Received: from localhost ([::1]:38798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n67YQ-0006Vv-Di for larch@yhetil.org; Sat, 08 Jan 2022 03:58:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n67NQ-0005KN-Ty for guix-patches@gnu.org; Sat, 08 Jan 2022 03:47:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n67NQ-0004oP-Fi for guix-patches@gnu.org; Sat, 08 Jan 2022 03:47:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n67NQ-00010o-Eq for guix-patches@gnu.org; Sat, 08 Jan 2022 03:47:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v9 41/41] gnu: Add node-serialport. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Jan 2022 08:47: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 , Philip McGrath , Pierre Langlois , Liliana Marie Prikler , Leo Famulari , Jelle Licht Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.16416316003802 (code B ref 51838); Sat, 08 Jan 2022 08:47:04 +0000 Received: (at 51838) by debbugs.gnu.org; 8 Jan 2022 08:46:40 +0000 Received: from localhost ([127.0.0.1]:46439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67N2-0000zG-8S for submit@debbugs.gnu.org; Sat, 08 Jan 2022 03:46:40 -0500 Received: from mail-qv1-f49.google.com ([209.85.219.49]:40649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67N0-0000ys-Bj for 51838@debbugs.gnu.org; Sat, 08 Jan 2022 03:46:38 -0500 Received: by mail-qv1-f49.google.com with SMTP id q3so7964984qvc.7 for <51838@debbugs.gnu.org>; Sat, 08 Jan 2022 00:46:38 -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=7FK63y8AM26+X4uFSvmQYlkQJcQmhE/NmHPJgNGV0q4=; b=FylJQ2ULL3FxtYgbH/6os6K3efBtvacytX3UMbNJrm+4ropnHpKNIsLvhLLJCePJQl /bAJxlzZ8futIBlHQBd+4l/mC32inPiKmP0GxSgT75h4fA/kAb8R1on4XokLgvKIXYKm HLLuOhIK82lU67VA3S7VY53KgPSTP8QQhQ+vjvAx0Hd4MDFoymtlXWd+d4yX6LIMr9a0 4IQb/PC0dmtc0sHoW3QTCYOOZNM9+sut/Ldu7X5J3oIpoiP9PqsVcUlnKbalLtTRPYkl PQmr9lj/XNyi5N2ql2y3aaEngonMy8HePwoX/zMSVRe0Rx7k+lNsavHmP3ib/wJOKDb+ 4xug== 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=7FK63y8AM26+X4uFSvmQYlkQJcQmhE/NmHPJgNGV0q4=; b=ae7x8SfJzDfvG8eaUmoWuMM1m2n9cbd7CGeeuXWg44kFEcYPbjGi4rW6DgGHBnjW7F Rsf5hbKCnMqQUEQtHmEIdw2Qluvx5UZQyl45soE/wo8eOTAAsgFtf+EdAD2s6sYcydvu IT22584JzDUBrHl8XfCwRw3SCuhsNw0Sz9pFoI21dEC2+U+YVEFqB/wmQcI7lWTih72v JspX4Y+0xAvko8ERN2mR/sFIoay2VXOPCzCloSK61vXXUGfmkNYaD5WRF9ILdT9TRUyT x5gw/XKEtsWrb14qMFBpKUr1zNwODaVI0mc6wknAFDYBjaYC+VEF41Z1d4JbNXgBSNYR NE4A== X-Gm-Message-State: AOAM531n/qIPELcx3sCyWBPowTSdKiL3nQ0eOsV6o4Nn3smmpU3Wi1nI WJpgosoGF9WvAqodwB66AJWXcnVAJXqMnLy7 X-Google-Smtp-Source: ABdhPJxSQgaoe9Ivpp0oEs6C8Cn08xmFqRbXdOzwMevHl0tsXJgiEnkeod258+2QQ61uzqS0vhyucA== X-Received: by 2002:a05:6214:500f:: with SMTP id jo15mr61067409qvb.59.1641631592923; Sat, 08 Jan 2022 00:46:32 -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 ay39sm702127qkb.63.2022.01.08.00.46.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Jan 2022 00:46:32 -0800 (PST) From: Philip McGrath Date: Sat, 8 Jan 2022 03:42:29 -0500 Message-Id: <20220108084229.362642-42-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220108084229.362642-1-philip@philipmcgrath.com> References: <64e08d3a1838ed8507f33fae895545372960522f.camel@gmail.com> <7b04af28bbd57c67093ce8f33a648efec89693bd.camel@gmail.com> <441bfeb0-eb6e-81f6-488b-cdf1b09a78ef@philipmcgrath.com> <20220108084229.362642-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=1641632307; 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=7FK63y8AM26+X4uFSvmQYlkQJcQmhE/NmHPJgNGV0q4=; b=cidnxPWFD2/Xpiz5Ada60x94A4ltWx0d6RuNkw8Q7ghPPn+71/8ByKQl3nl7MjWbUGnXwj wYwr7FsCP6cOjWj3RKmO1oln6TZnPdVz7H2sdyUnZW3uMHhynEwX4sqiQkWaqObariz9tx UcxtV6TY+17HkNbF8c+iujSSWJiY1fIi8PSfnet0kf4WEQNzz4bVxjCSmsS7HqCixekjn1 RdNSh3rMS9FC++zc+FgiiaH6XeW1NI5o5dl45fE0gyX3VAYKfoKXW9iA+GOnPVKBx+KUeZ BVxY95GNkugO8qCdiejMAnKy4GCiLIWiwNfvzi0l+p3BJVXddtOTa2KhGKXt1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641632307; a=rsa-sha256; cv=none; b=nKkw1N+r6lxAeU6Kw+aEjqcs2M5aD25Hx+QvI+LCEjHIZSmZbyO2+b2KNAeNHMoTjZ25h7 Jchb5m8+xNd8kCaG/9iKDUYPrbF5EJRm7+LEV4D3x1IyYigOSN5YNfjuGY+CE7QwhZHN+d skJ2g2He0MvVIuARQoEma/FVzk0Ig4Rydm0ixod4M2rgJO+zh8AXhs3UBf/XK0X1L31LV4 XxZsyY+3hNbGSdV6vlL11cWYBT8WxGHE43/5DUn7U0UhxVZ/YtndMwUyQ5xOMXpf8O1WuH O1iSMXyLEUTmsYOEUniM5z2Wo5TqE1Lti/zTWfw7EURVkluOLHjbWtHyHFo8cQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=FylJQ2UL; 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: 0.90 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=FylJQ2UL; 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: 809AF33224 X-Spam-Score: 0.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: sQd8SEZWxgVj * gnu/packages/node-xyz.scm (node-serialport): New variable. --- gnu/packages/node-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 9b6457dee5..837856be9d 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1303,3 +1303,36 @@ (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 + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (delete-dependencies `("@serialport/binding-mock")) + )) + (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