From patchwork Mon Dec 13 06:00:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 35187 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A847227BBEA; Mon, 13 Dec 2021 06:07:59 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 67D6327BBE9 for ; Mon, 13 Dec 2021 06:07:59 +0000 (GMT) Received: from localhost ([::1]:47338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweVC-0006ZQ-Hf for patchwork@mira.cbaines.net; Mon, 13 Dec 2021 01:07:58 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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)))