From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kIqhNCgWsWFVCQAAgWs5BA (envelope-from ) for ; Wed, 08 Dec 2021 21:31:36 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id tLJ5MCgWsWE1ewAA1q6Kng (envelope-from ) for ; Wed, 08 Dec 2021 20:31:36 +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 398D42D942 for ; Wed, 8 Dec 2021 21:31:36 +0100 (CET) Received: from localhost ([::1]:49064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mv3bB-000163-Um for larch@yhetil.org; Wed, 08 Dec 2021 15:31:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mv3a0-0006lZ-3p for guix-patches@gnu.org; Wed, 08 Dec 2021 15:30:21 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mv3Zw-0000TA-QP for guix-patches@gnu.org; Wed, 08 Dec 2021 15:30:19 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mv3Zw-00062D-No for guix-patches@gnu.org; Wed, 08 Dec 2021 15:30:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v3 33/43] gnu: Add node-serialport-binding-abstract. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Dec 2021 20:30:16 +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 Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.163899539422873 (code B ref 51838); Wed, 08 Dec 2021 20:30:16 +0000 Received: (at 51838) by debbugs.gnu.org; 8 Dec 2021 20:29:54 +0000 Received: from localhost ([127.0.0.1]:41641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv3ZZ-0005wl-S9 for submit@debbugs.gnu.org; Wed, 08 Dec 2021 15:29:54 -0500 Received: from mail-vk1-f175.google.com ([209.85.221.175]:34635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv3Z2-0005rM-5m for 51838@debbugs.gnu.org; Wed, 08 Dec 2021 15:29:20 -0500 Received: by mail-vk1-f175.google.com with SMTP id j1so2380606vkr.1 for <51838@debbugs.gnu.org>; Wed, 08 Dec 2021 12:29:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=2FgmvitnxkNFDvw4vqRFL5nSn9Bxt2XEQV4uSeBgOX8=; b=XWiVWYEG/rML7O2HinfDLcBtuQcZ93GJ5KjoO8EMwbViL/cqMvxR2YmzmlfaAnGpDP JOS9TQa5ITETYIQ/xBBBb9UUY0fBXOO8vsHez4qN60ZhOFOyT0EU6zzlobnh5vCg2yMJ MkCaI5wstRE8uWAIidqCU6bbIcgNeWU5uBLX1Cy5nbFDtk/hVLsedktgBVGXdPkKW2DX zJVoYnyUTiOR7pFmMxIOWIacDJ4/gsrfhzhuDRqW2MrPZvJSNMRe+l9fUsolR3UrEtZX pE+JOgvUzEEchLBzEY9QGpw9Ri4tiAqoXya8Yfuie9EkxlZ2uGb+TB/811ICVzDT+1hG HpDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2FgmvitnxkNFDvw4vqRFL5nSn9Bxt2XEQV4uSeBgOX8=; b=pxuKhGrlqoaBw6BXexbU4ZqK/JVIDtL7SA6mu70TicQrqblmSEItUBuj6AbH70cIlt 66Vw8orI0lR9Uhu342WWCFkagrUUfYEvhHWti5BgWlieIj01L2ewyqnRtjGV6f6D2CWK 3TJ0iUBrCWwq6kO91IcwqipmFJl8zuiItcQG9niNlKgggNGZv5okjBe2RAYQZhAi6vUg KZKjAPsD4NfOaJVaWzQsCZyZRf6Pq+qnvD06kwz9BFKiXRrg2Y1iAumH528vLGteFLRI 4zw3sK91Y1L5htiL/rnX/NwNYRnD73Nb2W8hZwrffeIVgYX93lEd9oZh5VrecoX1dQGk hRUg== X-Gm-Message-State: AOAM5333INYIH0AD4YaNYvFZnlQc3rsN/dWgWswXQ3BQPa5vIkZPwL/K HzglIqZBsS/j9g8JYdJ8mTxNkL8QaaBVgOtI/Hs= X-Google-Smtp-Source: ABdhPJzLeTQARlE/nN3icXpSSsnhadhthLC7PkjKfEsRjYo8qk9w4F2kfRJgYZ7TsaD8YDt0/GyXUA== X-Received: by 2002:a1f:d903:: with SMTP id q3mr1197591vkg.37.1638995354780; Wed, 08 Dec 2021 12:29:14 -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 n3sm2505739vkq.6.2021.12.08.12.29.14 for <51838@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Dec 2021 12:29:14 -0800 (PST) From: Philip McGrath Date: Wed, 8 Dec 2021 15:28:28 -0500 Message-Id: <20211208202838.752542-34-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211208202838.752542-1-philip@philipmcgrath.com> References: <46a042bc08eb72a068b1e8c69bfe28cf2d4b2e53.camel@gmail.com> <20211208202838.752542-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=1638995496; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=2FgmvitnxkNFDvw4vqRFL5nSn9Bxt2XEQV4uSeBgOX8=; b=BnBQvcGBPOGpai8jICWyGxkczS8LW5UiXkevjs3ndp2cKr2T/xW0bgPwt8CuOs2gdM1kgq biIzG8/jBvkzbH9XfOyhpjhnjJq7vbbOObVrBlobokirEik/7mgwjBO2bIHSJbOhGMrJ0n 8pqG0qntz26fAwo/sGq2pHXtyq/oNwTk+vHZzHNnX3A+hsMmtQEGt7/39hyIAym9d9Vl3N lprKqJ6vCbugD6fis+QtDWriRIpIxbIS/6GeB6fa94HSFlyFBIoTYquqCVOPW+vjNbVE6j 9SJ5CMnGMusEQXB7K+bAEwZcEOaV9TUr1ZVVZJ2mJ/Gvyb6Q/OITwQGSU0qDCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638995496; a=rsa-sha256; cv=none; b=d9/n/dDyTCO7i2Kgn2FJ76Q8n96Zg6lef92IHxpp+W0n2qfwc2IPnM8I/1yCZPZ0aZ8aJF j+iWpCbhNm+UgJO+bfPa0mJxyWn9A+Sl/BNfCea0ML3kI1LPgWaY5dkZfy/ndlbyJ0TR58 iv0Rpwzt5rB5g+EHzbJ2U8QTNbR5g6z0hlC97RuoXBmIp2o/zW9mwviT8+kNln6q+ALre8 qniiDdSDbmdNsxPPxmXG+1zkn6NUpIYLqyGTQRL3wh052Mf+VqXX83yJ0Of4Nk/H96j+JJ U/Pk9VFwrDE/TJkrv9794wlzo97n+WwtyzEtWlUE46llY/vu3CB2zcQM8VM/oQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=XWiVWYEG; 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.45 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=XWiVWYEG; 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: 398D42D942 X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: rtXCTZq9sInz * 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 27506062ba..69182ffcbf 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -891,3 +891,37 @@ (define-public node-segfault-handler well-behaved. If a @code{SIGSEGV} signal is raised, the module will print a native stack trace to both STDERR and to a timestamped file.") (license license:bsd-3))) + +(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")))) + (build-system node-build-system) + (arguments + `(#:absent-dependencies + `("debug") + #: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