From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AMLvNOY/12H/hgAAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 20:15:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sBFmMuY/12F1CwEA9RJhRA (envelope-from ) for ; Thu, 06 Jan 2022 20:15:50 +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 75DC331A0C for ; Thu, 6 Jan 2022 20:15:50 +0100 (CET) Received: from localhost ([::1]:49230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5XVn-0004Gw-Lj for larch@yhetil.org; Thu, 06 Jan 2022 13:29:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5XSo-0007U5-CK for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:16 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49389) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5XSo-00014j-30 for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5XSn-00058A-WF for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v8 31/41] gnu: Add node-serialport-binding-abstract. References: <20211114124151.36743-1-philip@philipmcgrath.com> In-Reply-To: <20211114124151.36743-1-philip@philipmcgrath.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Jan 2022 18:26:13 +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: Philip McGrath Cc: 51838@debbugs.gnu.org, Timothy Sample , Pierre Langlois , Jelle Licht , Leo Famulari Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.164149353219380 (code B ref 51838); Thu, 06 Jan 2022 18:26:13 +0000 Received: (at 51838) by debbugs.gnu.org; 6 Jan 2022 18:25:32 +0000 Received: from localhost ([127.0.0.1]:42253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5XRw-00051w-Oy for submit@debbugs.gnu.org; Thu, 06 Jan 2022 13:25:32 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5XRO-0004vQ-Sn for 51838@debbugs.gnu.org; Thu, 06 Jan 2022 13:24:47 -0500 Received: by mail-wr1-f67.google.com with SMTP id r17so6522863wrc.3 for <51838@debbugs.gnu.org>; Thu, 06 Jan 2022 10:24:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:cc:content-transfer-encoding:message-id :mime-version; bh=QoB+x3S71GT9gcF+bgKgt34NdTQkxNT7INJgx7hI/fc=; b=MSWl12F4N9W+MGnJ6mFmbgFsjhqUI1uPBqPY3YBa6584d5AhIXXcda5yQ4ujItes2P PP80waUS/2KvRCYSyPD3a4mLLZQv+WM/7Hph6sEck+HPGsTG3PvlVuFG4Ou+wTvKRxt7 1Q4ofCeU5SryI/szQTESZSoHJLmRnhBYI54D2FyKjh+WSm1QLYlqdMlX9vV8cyiRowvS ZJIR080V3wz2n2isyJof6bIAXAtAEZ+eZbZxN/aJWtwb33nMp+LRX613Cu3EC4c2ei6R CFZek4o6Br3frWk0iF7UmipsbmSPCkALva455KFfWOkXhhVlbkN+HMFFXNsftT9s++MX R7MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:cc :content-transfer-encoding:message-id:mime-version; bh=QoB+x3S71GT9gcF+bgKgt34NdTQkxNT7INJgx7hI/fc=; b=WArtf39K8YNp/2Z/Jac6pH2vKHeDUDL0GWL5go5/jQt5a7TZuMQWp5Fsf8L25XuhBR D0b0ZMb/BudwUItoMWMr6nje89vZYQNxXDP0rBRViCr/iZrtcJ73o0FSm9YOC/5V2Qtt O/mDpDSbZDHD6g03U47fKSrcBzerI2/WAHkSwXrZ86NvYJ0loAvDSYK/3gvoBDJ2fMGg z+6q/sUyvOgiSWvk9vfImwR9VR9GQ9/5pZT5xnC0Re0Tx+59ZLk+6KAP0oK6BA+wtY/+ tisUSbImudE3ALs3mT8TltFHHvyo0f/mbfeVzUADh9ioVArdTJLTn6cGq+zRZ9zEFH5A yBUg== X-Gm-Message-State: AOAM53323yLHZl7Ne88jSfK8WPUyb+7LQ88NlN/OQIDL4s/6Rze5XhJ4 u68T5G7pcxTpOqqz+P8/B3c= X-Google-Smtp-Source: ABdhPJyw3g4vKHMQPn58tsXn58UpGxqv+vB/fq7SeQoCRuAxn2s8jE1X/ASUPagmWxlzsS0ZR0Kv8A== X-Received: by 2002:a5d:4450:: with SMTP id x16mr50666271wrr.95.1641493481447; Thu, 06 Jan 2022 10:24:41 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id b17sm2693311wrq.91.2022.01.06.10.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 10:24:41 -0800 (PST) From: Liliana Marie Prikler Date: Thu, 30 Dec 2021 02:39:09 -0500 Content-Transfer-Encoding: 7bit Message-ID: <4938ba30b85ed406b475e6f13274e6ffd4a50a48.camel@gmail.com> MIME-Version: 1.0 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=1641496550; 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=QoB+x3S71GT9gcF+bgKgt34NdTQkxNT7INJgx7hI/fc=; b=fnjkh0KPhiJ9yh1bTklojFx0h/qhl6KTKoNqVqidLGZETcGcpE/Ms4Q7GmQAYetxDQ4cG+ lkICcQMBVRivZKjuDa7l30/rmZ9ANqd6NrwR79jBwjbYxFNtU5EhfY64le55Gr70Y/ZYVA fsdwraC7HcKN8BVdHpgQOuUwgR7Aj2lYrYyT0O1WXWzPUcJHGCOR50F7UkLS2jMbFqUkLM XU6EovvMTB2nKzOkDIVGoeXJbVH2jD6Ih2KHSp5LQYPE3QMdIVJn+hLttq2hQ9GMsBbTHX AkGMaNG7D6uJRGVwV+xFG2zqRu5uFjB7E8dJJ2vJYWLCn0h9eDPidqCblW2G/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641496550; a=rsa-sha256; cv=none; b=Ol40qi2j451V7U/jnLFVv9x4tF9JtXfpeF1+ApgcKdlNzKvPU+hzzhLob2PWpl2oCZWMk/ 3aFwgjVt9mCl13Wcaqr2QW16VcjqEBf4WKN5bvS6VxaKwKBLacHmEDQrbICNl/h+GdQlYY ClqQtmMd1LPWimn6w5+pRBa2UK3Ou2wpRnaPF39SQRalSpszqj6hxVMiQJxET6WMkpN2PU B3l6hOn4pGkahbO0oxr8Dxec9lUqNR6IklUQy00RQoHfyPUOE0T4wrN51AACubJk6A712V 4SKqcMvG+m5X9wn8PxIzoeebSNugJRzXxXgxTrn88HAco6bV8iiR2Z4or3g/og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MSWl12F4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -1.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MSWl12F4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 75DC331A0C X-Spam-Score: -1.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: uyCdS4puItU3 * gnu/packages/node-xyz.scm (node-serialport-binding-abstract): New variable. Signed-off-by: Liliana Marie Prikler --- gnu/packages/node-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 5196394a5c..a8649d928d 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1006,3 +1006,37 @@ (define-public node-debug for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole.") (license license:expat))) + +(define-public node-serialport-binding-abstract + (package + (name "node-serialport-binding-abstract") + (version "9.2.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/serialport/node-serialport") + (commit "v9.2.7"))) + (file-name (git-file-name "serialport-monorepo" version)) + (sha256 + (base32 "0x7zm59a5ff5yygjyw15xs3r5m3rb8av1yfrh4snn44mrwq87yg8")))) + (inputs + (list node-debug)) + (build-system node-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/binding-abstract")))) + #:tests? #f)) + (home-page "https://serialport.io") + (synopsis "Abstract base class for Node SerialPort bindings") + (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 the @code{AbstractBinding} class, the base for all Node +SerialPort bindings. You wouldn't use this class directly, but instead extend +it to make a new binding for a different platform or underling technology.") + (license license:expat))) -- 2.34.0