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 cD8uEyzjtmEgVgEAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 07:07:40 +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 aLX7DizjtmG3YwAAB5/wlQ (envelope-from ) for ; Mon, 13 Dec 2021 06:07:40 +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 0CEF21F65B for ; Mon, 13 Dec 2021 07:07:40 +0100 (CET) Received: from localhost ([::1]:47338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweUs-0006ZQ-Uj for larch@yhetil.org; Mon, 13 Dec 2021 01:07:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweSR-0003ep-E0 for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42276) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweSQ-0007ZI-Vz for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweSQ-0002e4-P0 for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 35/45] gnu: Add node-serialport-binding-abstract. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:05:06 +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.163937549710024 (code B ref 51838); Mon, 13 Dec 2021 06:05:06 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:04:57 +0000 Received: from localhost ([127.0.0.1]:53801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSG-0002bZ-GY for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:56 -0500 Received: from mail-vk1-f177.google.com ([209.85.221.177]:45804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweS8-0002aQ-2b for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:48 -0500 Received: by mail-vk1-f177.google.com with SMTP id m19so9678266vko.12 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:04:48 -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=vnfbjzUbHCstanzoBzAR9i1wdpF3nySyMNt7HoLHw2c=; b=HRkiVVphKfVd49ov6Dm6t9QObEUQ5ZEdEuhFRbGLMMWNYX8VcW8/M9AHBY5IOzZm4r DkLpHyRNPJEhH2xTiUIJBY74y5qSzhNcy/9QPNm3NEnzKRASbAV65P++L+u/gbJReoL7 f/paq+0n3I3ycHj0gl9HlgehxgLgrb1Tzs/9yywYsMt8vK+vuGgadft9ugs+mwCN66pA Bj7eJ95TGsuLnPCtgIA2Cb7K6H2pRzJ0STC3pBdi1kK8RML0gX+PnfQylM+l68zmqaet GRFbIis7M4gJ37aorjAr76MQOcMrPN/8UvE7wB0aDYcaf1S3a0pXInqatcnqia1LmWoU McXg== 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=vnfbjzUbHCstanzoBzAR9i1wdpF3nySyMNt7HoLHw2c=; b=gk4Ek/9dpk6XhuANjuxcN4Xwq3moCUoQ14/VoRY4Ff4mZBG4vfq/O6nGX1qWNYSeiY R2rR9fR5/UiIdFIPMUbW5P3Wsay3oJnYoKGw+xFsdN/upMamZYCiEDO7Jn4K2LxeDOVu o4POmYmYUzqpr/gzmqCCOmqHSeeCAFeBm+Eq1sc4U8EyVJZEDLaGA2aIp5uPTORD489c NmjRVnRUyvoxj0FLa8QRrbIZ9bSiqIv2XHSQkZoI7HQnpZVX8KHcnWAI3NtcQXV4hKz5 /p+aDyc5uHZE0Tf9Lh59rvMlAgDc5kMzB/oTTxS51Xm7Ex0+mdrsWvY3VfzwGFbq8sir hJzQ== X-Gm-Message-State: AOAM530jit7MDqqbG75mui6FoyswovEUPkWm48obBsnrskWQv6jWm7cE mWXDPzEbg2/to88OGmip2xzmqUrN4DmbZqn5ulQ= X-Google-Smtp-Source: ABdhPJwZSdR2onDd66WC69SXzeIKxriBOMUYtkMtNUn4/quGES+tZ8ImScjGjs0cdZN7RUmezdRjSg== X-Received: by 2002:a1f:ee07:: with SMTP id m7mr29925325vkh.27.1639375482628; Sun, 12 Dec 2021 22:04:42 -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 j15sm3704041vsj.32.2021.12.12.22.04.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:04:42 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:00:57 -0500 Message-Id: <20211213060107.129223-36-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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639375660; 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=vnfbjzUbHCstanzoBzAR9i1wdpF3nySyMNt7HoLHw2c=; b=oZF7n35syTIVigeoV3cY8TwkR9qiXMZKSJUxQUlcKuxbP6LHYUAukwkHMgCURuUalXycXw /Li7LKHK80B+3cnt3lV+cMcI8seOStokcY7pjRoKg3RhrOeq4HhUZaxMELV3tWTqgR+G0J EXD1EupUypPQUfDTuosLJYiFGcNsSTAbP1VXriCNjeTjP6ly4axyadIH65FtfIkn0WyoPb BQLkLV6uGyx/fnHNTDmmOZd8D/yTZ/VoMGA9cATDSdT1IsZbK37paSRXJAy2zaOfxjIAuk hnZF8+kP/piHvVjC593lcMe0jFJVgMdBhsC/nYUunqimQUqaC0ZFQTgTGf4L/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639375660; a=rsa-sha256; cv=none; b=a9zvyqGmc/rev6fbscunaUuhd6B/XV4GXLF3NKEYdfj5BWIx0rXtNZyGpdB99z0B+zjz4c xKD8zXmESc0+bUzLWX9f52iDwy/sQqYngVCfRFDPw/WpFdLfi65mEgo3bdadbUZZ16+kYj fewdS3To6o9Z8QF8ixsNw7QYId4YgX6AcrvtortbYJORsjg+VfCxNuUol37VKE5rHVc+D9 Roija/5KrvPjCWaZ++DiXaa9hPXJRpHAa/DU1OFZ13Cv+S/XWTTFrTitfL+FqmVy+o4pco X/7GFV5d1gzca5Bj94jol5obq0dru36oTjlbixz/Cp50dz6a6+F2DfzlLQ8qpg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=HRkiVVph; 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.27 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=HRkiVVph; 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: 0CEF21F65B X-Spam-Score: -0.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: KP22K13TnyvG * 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 782c66e160..d821790ecb 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -983,3 +983,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 + `(("node-debug" ,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