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 qGnCF3TjtmEpSQEAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 07:08:52 +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 gNpuE3TjtmESZQAAB5/wlQ (envelope-from ) for ; Mon, 13 Dec 2021 06:08:52 +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 1F87D1F5D8 for ; Mon, 13 Dec 2021 07:08:52 +0100 (CET) Received: from localhost ([::1]:49314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweW3-0007y0-7R for larch@yhetil.org; Mon, 13 Dec 2021 01:08:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweTN-0005NR-9x for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweTM-00083X-Uk 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-0002iJ-Q0 for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 45/45] gnu: Add node-serialport. 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.163937554310354 (code B ref 51838); Mon, 13 Dec 2021 06:06:04 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:05:43 +0000 Received: from localhost ([127.0.0.1]:53849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweT0-0002gv-8j for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:43 -0500 Received: from mail-vk1-f173.google.com ([209.85.221.173]:39878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSm-0002g0-Fs for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:32 -0500 Received: by mail-vk1-f173.google.com with SMTP id 84so9694341vkc.6 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:05:28 -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=Uj8l1PwC5yonT22mdkT7rXciKsL3hh51MxZpTdJB9d0=; b=Hab3bwd2B9mUzV0rQ8iDXqDBKMvRRT4U2yscWIKBKlsTtQNkE7yAO4jWDBySfVCjog qPCGAU5VvEfXL5jjDzw1zsR2wAIenJ5J5eg9CuKJTgApHAgowl34Cb0Cm6unKRIXIf+u mV+81CKWG1BpxAQnTehrd0pZIiFZtkn1j6pYI9PNjIVfsHslivl2U59npPxAejusyxyi lW5kSgGzIJaXLewY7868ixrMbAjRcCLD5MqWOgI83Y3wWOgEhhOyeVujReYEvF/rf+tu NgzG2/53QoDTcEcIfTB3P1VZki7HXZdBebnc+CuIaJtQApQTBFnIQ/mNhzWLa3OgStZW jQ6Q== 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=Uj8l1PwC5yonT22mdkT7rXciKsL3hh51MxZpTdJB9d0=; b=AiYlpgUtDaVpN6U0CD02xbq6wbH2PTp6+19I8kzCxMTnn7X5/SimuiAr5MVbFt+0lW UvUXQU2t0i+zMccq2Ly+lqLA/vmTd7Tla5ERu0odsd6AdkzC3ihuQYQtFQRR5zws568j 6jzs7g7h6uEK1q/jcJqvNOqL8FHWyo/bXZ9TpE5/noqeU1mtTpwAfqX5WWsmH9HM6YCd GQ1H7HqCEEz6jfvWeClkM9DYvGKbDPjgQWhtvUave7qkQfzBmG2yZpYPZwBCaRwBVr/z trvPASRh267Q0EBvQuw+i5MEXg75jXyoyfKqADp2Cpzp9fWx/IyOULzrCeCYMP0nZc9T KXLw== X-Gm-Message-State: AOAM531fiEtghYa/jQYPWw0GQvGIwRpwRW6dSHO3cXrY12ghwpEcDyAu R2zagYhmEaMs00W3MWpuegEah162QxNeE+MBAF0= X-Google-Smtp-Source: ABdhPJwpi6aJV10FomoR4bN0zzXVoX51ufDL1hlpBOdJKBuCrAwCTqKSAYYoocNpbLnGPZIjzvFdyA== X-Received: by 2002:ac5:c183:: with SMTP id z3mr30257065vkb.20.1639375523101; Sun, 12 Dec 2021 22:05:23 -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 x142sm3662660vsx.15.2021.12.12.22.05.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:05:22 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:01:07 -0500 Message-Id: <20211213060107.129223-46-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=1639375732; 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=Uj8l1PwC5yonT22mdkT7rXciKsL3hh51MxZpTdJB9d0=; b=CMUUyXfwz2OMs8miLXLOy4lRZTOpFxDvceiyTeKdqH4jq+D63ddKASiAdegdewkd0LHyS/ GoQhfyV8Usy+necWu2h38J6gPJa+I4AAp/V1WQeOh3bU2g5gPGmwaN3hAgAENx70pOl3pJ z0R/GOwG3xL4FuEWQ2imw90RJ4oaJFn9sEJKeXQUO3x1Vh+WubWxB7x6gcT2BV7M07u/EZ JjA+wh5eD8OTXWCyY80heh9rthKAJIjtd5lnKNiYlxW0zMnMWd+Ox9zo8ySxLY8J4f18j3 89HuH+HHJoSs8sAZSwoEjGBH+9WQeuCkdYltnkU9gYQkbMNr1U8zLDwYw2phBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639375732; a=rsa-sha256; cv=none; b=txU4qquVBkOGKFXvcApylHGs8sG0lj+XE5HlyeU9ya43qyte1Apc08cH2cZbHa3ORsqkRS Q3wBIwZZWSR3WeH8iERonZmNz/EoHvrVBuWJQmru6ZHSzKlXZiskuvRRl+mPODLemQlq/x 8B8JmJYM8oAImw9gqE9TPhNy9MK9M1UWUjv/zCfjLVrCigNZwHtFnnqafHowJqaTJCSw7F afMCKU8llCcGNY6ztGt1K07MJ4UbbCHkBlj3RfKltc0N6B1dLWvamjmrV6h0DhF1mDZPK7 uKalt5d6I4rt/PEvWAgkPAjPkrb/+89H3I56VS8cjFp224PEv6mIcqcMxmum3g== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=Hab3bwd2; 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=Hab3bwd2; 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: 1F87D1F5D8 X-Spam-Score: 1.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: bck1EKqR1uZ8 * 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 271082ce5b..92e16f2dc6 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1258,3 +1258,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 + `(("node-serialport-bindings" ,node-serialport-bindings) + ("node-serialport-parser-delimiter" ,node-serialport-parser-delimiter) + ("node-serialport-parser-readline" ,node-serialport-parser-readline) + ("node-serialport-parser-regex" ,node-serialport-parser-regex) + ("node-serialport-parser-ready" ,node-serialport-parser-ready) + ("node-serialport-parser-inter-byte-timeout" + ,node-serialport-parser-inter-byte-timeout) + ("node-serialport-parser-cctalk" ,node-serialport-parser-cctalk) + ("node-serialport-parser-byte-length" + ,node-serialport-parser-byte-length) + ("node-serialport-stream" ,node-serialport-stream) + ("node-debug" ,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