From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YGmxL95jzWF6ygAAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 08:46:38 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qFdfKN5jzWHI7AAAG6o9tA (envelope-from ) for ; Thu, 30 Dec 2021 08:46:38 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 5B6191E9EE for ; Thu, 30 Dec 2021 08:46:38 +0100 (CET) Received: from localhost ([::1]:58706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2q8y-00033d-HR for larch@yhetil.org; Thu, 30 Dec 2021 02:46:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2q6a-0001J5-Qv for guix-patches@gnu.org; Thu, 30 Dec 2021 02:44:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2q6a-0001u1-GQ for guix-patches@gnu.org; Thu, 30 Dec 2021 02:44:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2q6a-0006k4-FA for guix-patches@gnu.org; Thu, 30 Dec 2021 02:44:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v6 31/41] gnu: Add node-serialport-binding-abstract. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:44:08 +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.164085020625684 (code B ref 51838); Thu, 30 Dec 2021 07:44:08 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:43:26 +0000 Received: from localhost ([127.0.0.1]:51063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q5t-0006g6-TC for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:43:26 -0500 Received: from mail-qk1-f169.google.com ([209.85.222.169]:43826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q5N-0006cP-Oa for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:42:54 -0500 Received: by mail-qk1-f169.google.com with SMTP id f138so21951164qke.10 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:42:53 -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=uyuRYidzCtFIs2Xnuu+9Gib7QB/W1V2j8nghs4YaQYw=; b=UWSb9ZV0KiFz5EF8vNZIwKUtC1PKjw2Sg2PUD9hV606Ni3u71SbwLqXnAB4RyYabo8 egN0jJjYZmN6QsG/nHgjn1JM1ssl0O0aAEUTu1ZpqxD9E9NKC2S3KcE9Q0OX4zZmJWJH 85WoDgflMvDwl/++QunKYTYddRcv6Am5G21pUt4HTSyUPU38TINm7qESOOh76R/pqUhX vwrthBn0HiJXuN+Dd7oToDHVI7SY7CAqLojjgscnOfkH2ZzpDu0eqf6tfSDBowz9+eMI fXuKP4v8knUcAmwZN6iMX/HIg746PYrDA8Wy2s1W6BaOU2jXFUmIPHn4lZQbQ1WqaV6V 5OqA== 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=uyuRYidzCtFIs2Xnuu+9Gib7QB/W1V2j8nghs4YaQYw=; b=4r6Dgvh/lt9eA+lXu2jT8QwmQ0mLGTPdrkWYwUZ32aKfLoFpdCZ3o3nO5/NKzyOwVC A2syM5QJUsghoYoVkQanNpb1M52PfsHL2hB7xirSG7H2dDNFWbUJ9xIAmWnwUSna88My rA/IqhA7gx7bp+EtWTQ5IPKNmhyFOVJY/Efb7NP5nWtv31iD+oNx8KUM1IYR36YXVOGl rSvw54x8Ick69SjF3BHmKuQjb95C00qe9ZhbmCeA5hdn6RV0UWNxp5n5ZO8xoIFNKlfq UoF84n0YGqwB9aSMb5zLPknaruBOb+xRWTWwgpIkKWgJyLtMEQofC4t7OmtSRfL9hWye qKhg== X-Gm-Message-State: AOAM532qCQ50A/X/eOV63czRxhkZLGsuTOOiuMGgVcHFew+1drkBlD5N i4UAchs7R2u6O3gbl6zEx9rST34SqCTd+k96 X-Google-Smtp-Source: ABdhPJyG4RyhwAJZ7Y3fCZJRgDEoblb6s3uFjYZu56vFaQ3JhS90boZFcAinimeDqtOl6glTCoGpQw== X-Received: by 2002:a05:620a:b47:: with SMTP id x7mr20393807qkg.749.1640850168214; Wed, 29 Dec 2021 23:42:48 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with UTF8SMTPSA id bj30sm18973161qkb.58.2021.12.29.23.42.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:42:48 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:39:09 -0500 Message-Id: <20211230073919.30327-32-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230073919.30327-1-philip@philipmcgrath.com> References: <082a81964a43ae5f735ad2ca433d0dfe00859c35.camel@gmail.com> <20211230073919.30327-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=1640850398; 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=uyuRYidzCtFIs2Xnuu+9Gib7QB/W1V2j8nghs4YaQYw=; b=O4ITJEkT2v4bAoALhxQkoMa7Rt1e5J96eIpknAbxgYuSWdSHZFjsLC27xQu8RhDfgOd5ML aHGxrcGSKgZ1PN0sp4t6T9qk9uJdpPuMIUHWAqibXetqGVneA0TXchxGckUWrVhQiXalhU Py+9o7SDEOSRti9n/zoBEdafYqh/pVu7kFpuSm+zjdwMTns7vZJh2rwqM6EcAdeBwrij+4 XZIAZH4VMau+q0fecWUwuRnh8nXcrWxWUFqWM8RVF+f3nXakSIacoCu1Vpcixn8/s96+mL z3QNzwKfudQFPVCNLsIV6jFWOKaPVuM/5dQPs/KrZPJZZ9rnfS0ZIOlokRlFWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640850398; a=rsa-sha256; cv=none; b=Nj3pbdEqhNgV7SOsAOepnwoG5kbeE+vnnfqol0Zc2P2/GUwUO6XVVbL4rfzW8KHCcj0efQ H0d57XpV+o09UZhhg0nQG0qPB2LzQ5kHCRsGqUYa7wrg16/yugeUzPStVqh9Lx6xdgLjKL mGKU+on7JQE5EkFwxnzEJXkyR9L7edWdTwXztRcpCh0xrIHYS7alUsoKGa9IiUryqimW5p MKp075KAxy4b3DFY3YbIM6MQYChAInuTIfMmySP7YF07xEhtAH4o5xjeRoGOAknNQUT/Iw wzRtEPv4474cjM5lML4D/kUfq+98PV6/jyqJ7W0XxYf9YRgmbUvctlEmYSqJMQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=UWSb9ZV0; 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.57 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=UWSb9ZV0; 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: 5B6191E9EE X-Spam-Score: -0.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: ML5mKLI7X+Xr * 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 f1cbb184bd..462d5d844a 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1070,3 +1070,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