From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KEfmLPPwu2HcNAEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:07:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eNizKPPwu2HvcQAAB5/wlQ (envelope-from ) for ; Fri, 17 Dec 2021 02:07:47 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 71FF4327E8 for ; Fri, 17 Dec 2021 03:07:47 +0100 (CET) Received: from localhost ([::1]:54958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2ew-0006J6-EN for larch@yhetil.org; Thu, 16 Dec 2021 21:07:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2eG-0005e6-8M for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2eF-0008Gn-Uk for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2eF-0005Hf-PN for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 35/45] gnu: Add node-serialport-binding-abstract. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 02:07: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.163970679620185 (code B ref 51838); Fri, 17 Dec 2021 02:07:03 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 02:06:36 +0000 Received: from localhost ([127.0.0.1]:37395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2do-0005FP-4C for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:36 -0500 Received: from mail-qt1-f177.google.com ([209.85.160.177]:41574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dT-0005Dq-60 for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:15 -0500 Received: by mail-qt1-f177.google.com with SMTP id v22so1184248qtx.8 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:06:15 -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=qG2NmB0naMoabZczBwyYutGUFPoFkiHxwfo4KrK20SQ=; b=dl0LRZ+jpuAt8Y3yWHYUinjhfqd37p9fULATGw/UuXRZcbmgKwWAUuTggY6R/GFr6p GvVEFjAzXjo8uoDEYph01EhbHtB93RWcLznYehisuWSObWU9ztfBMgpdPv7NTXSDUM4p CY55aRmj1PNlH8GCiQ9w41KbUTGjtEU6JjQD3Szx2XvcEUQWHb5r2WU5BCJZ9nyMtEOC FkS5EhJb7JoaKcfnNZACGRLRm/JWwqYg7W6J0a67+wt3BxmKIVMRGULafohiJDmBglMQ E4nSFl83X5W/BzuHbaTF46NrgD0gLLlyuLDQMdTeSLGKAtbu5SXwT1TSndBfxMKmzWd8 J7Wg== 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=qG2NmB0naMoabZczBwyYutGUFPoFkiHxwfo4KrK20SQ=; b=rRTXiphbtpYnpVGiNAL6zEFyJDjUx7nm4AyKjvaT5+vvKRBZCSY1dgR/MOhctxNau9 fwFs5+JABgLSQXMoOCgeGWyNuGroOWaO35raUWQ4ON7+43vroo037wi/nvRaldDwPSMb ZuEFoGUznmBFX0pCKJh0wfODwQ1J6TNZ7om1+r7QBaLTlJm17j6dti0ESx7kU/Tft7r3 AW+HQ3wdTGGiXh7ksnNUSgHTqt3PUJTvFao158clPbUgvcjfPcYGVPS3TuESDMddoGyL YxyJpM/zUikb451GJyTniir6H8OgxzSu9uqYlv3Qux3HNMXryfy8taSvVCO7RbGXU2aG rxdA== X-Gm-Message-State: AOAM533xv8lX7ucY4ztshJ0D79OB6dW+rrBHMV1Hyf8mW8wesXyZhAjI tI51VteHeFQFxuWzanK0mGWNDJlSphiiWruaigk= X-Google-Smtp-Source: ABdhPJxg1FCkn1cLLaqL9CxdAs7g79fbzul50qDmvBS6dnXSBDke2XXHBDdYfl+kUYTsBuN19Vd2tQ== X-Received: by 2002:a05:622a:3c7:: with SMTP id k7mr684712qtx.307.1639706769840; Thu, 16 Dec 2021 18:06:09 -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 15sm5902453qtp.55.2021.12.16.18.06.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:06:09 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:15 -0500 Message-Id: <20211217020325.520821-36-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=1639706867; 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=qG2NmB0naMoabZczBwyYutGUFPoFkiHxwfo4KrK20SQ=; b=SXv3z+pD6MA5bPtDsz+H43KsSRkYirLOYfbUWpw7C/5ppFBehfKoRBjUFt8Nlh1LbDykPH iejGo4n90+vp1KVIOF9pTAO/PSKdbGxLuvQoaFHhbNf3vLARQGRvM7fjtpFlNnuSaNcgnW y7nyxh1ex43pcUUvy7Bfz8FIC+VCFy9zf0X2Mccn+8m44VSBlkOjgLkZJsVDmcO83dHOfo 3Jo8igSlP/e+EMhgigFdYGGpH/R6N5/j8jkm+RUnb/Af0mNvERhHrkdZwt3iYqi8iPalfz AnKkznu3+HIXQtT0cL3rn5uLu969wBa141g5alHjKxsXZj08O7Yhcjybh8XbZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639706867; a=rsa-sha256; cv=none; b=HartyAgREQQW2EdvuS5UXH0FQo7yCMQkBXX+fpvNOeLgFh2W8fscwzWOLdRyl+yV1G0fSW BtJbtMIJ2QPyok+a+on1o/8Y938Ju4U3qtp7no3+8zJ53jP/6Ve0nj87ajB2PM6OH2izqO gdWbCatX8jRYUJZlx8RGrTCRCvS7flDliPYmrB2rErzqCWrvz2VXwoPzQsMjmLPl3jNNSl CtGPfySpr++bEIsKM6AolSiOFyTIRzLLvZGWii0NMmkXyZexwP7ChVsVsJ6ZF6j4fBtB0v 3F+oLSSEW8ajQ2QtkOrMBNBlfWE7T2Jx6Na5TLD/Ts3oGFPe8/lF7g+PIeCHDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=dl0LRZ+j; 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.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=dl0LRZ+j; 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: 71FF4327E8 X-Spam-Score: 0.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8hzTzpbGjVwM * gnu/packages/node-xyz.scm (node-serialport-binding-abstract): New variable. --- 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 8de98fe046..ef833678d1 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -975,3 +975,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.32.0