From patchwork Thu Dec 30 07:39:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 35824 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 2FED727BBEA; Thu, 30 Dec 2021 07:50:38 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 EB92C27BBE9 for ; Thu, 30 Dec 2021 07:50:37 +0000 (GMT) Received: from localhost ([::1]:37982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qCr-0008WA-4r for patchwork@mira.cbaines.net; Thu, 30 Dec 2021 02:50:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qBP-0006J7-Cd for guix-patches@gnu.org; Thu, 30 Dec 2021 02:49:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2qBO-0006Lc-3q for guix-patches@gnu.org; Thu, 30 Dec 2021 02:49:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2qBO-00075f-2Z for guix-patches@gnu.org; Thu, 30 Dec 2021 02:49:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v6 38/41] gnu: Add node-serialport-parser-cctalk. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:49: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.164085051527094 (code B ref 51838); Thu, 30 Dec 2021 07:49:06 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:48:35 +0000 Received: from localhost ([127.0.0.1]:51198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qAs-00072p-I2 for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:48:34 -0500 Received: from mail-qt1-f175.google.com ([209.85.160.175]:42976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q5q-0006dw-6x for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:43:22 -0500 Received: by mail-qt1-f175.google.com with SMTP id z9so21028103qtj.9 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:43:22 -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=doKEo099tTOI5w/ZlOJFUoGvySujYaq/N/K4lHDManA=; b=G9gd6pZrN9Bl9NHJR09BS1p3gJ0fP2jRNryndk6Y5Ju5e1RRUnWdutOTjypvsFPEKJ 7x94tz5Uh1XIFpEEclODHhUwA3U6Z12z4tyuVq4Bevudy+K567Igvb1dVETpSew3uQGj L/AxmvYx8IP3CYjylZspHEQIWrwvZlLRiUJBeF9I/fjkf9n0HmSLccGUakxy/9lpSR6w GSYhelu+/9g3oTZmD9yQdGRXedoRH5frFSJhP5YtKdsAH2cyWy7ZVRqdi411asV/B2qG +37IFRrT10c5AImysl2Gkr/2J5zyDZJDykuBXgkKzy3jT0U5XbEs4P/tLjyUcypKeL0u sQvg== 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=doKEo099tTOI5w/ZlOJFUoGvySujYaq/N/K4lHDManA=; b=WWUYhglGfDjBeQJHk4J5eXdW+KhFJ0Mk4tZ+Ax2MmRb5Oy8SqcAC2wGc02KK6y8djW ltdikKqJZ6PDqZI27Yx9AEhuZJk756bUWK7Xg2iYVQJMDmwR0Kvpqv/cr/wTFqNvEnW4 PYAlNUjVNF43FExQSu9YKRc1pJa+gGfR04E1vOq5M0Fol28VuRJTVsLZ+K9dLdigUxsC NRz1UmMJNZEHdvJBq/QOB3GFNPDF7qk1S9HpJsP4+aNeuiE8Ol3PSddD6S8mDyHxdnbn MCwWU5zFIAWko4jVOgUX6oL9YYlIHbB9sHq2306VwNUUvLMIvGNFfrJR4K9V/SbQCaEQ P29A== X-Gm-Message-State: AOAM533EoGOvqPPwLVJ63hMJ87U0BN5Y7vSyvEKg4nf1hT8HPoKv1dnx 66utLn7xo8Wxa9krcl+1i26UENw8lwkrDhCp X-Google-Smtp-Source: ABdhPJzS1ZGtz4eX3nebJtKCq4IDWl8XjzWCb6Y4LHXNwODndcEDz8owpJsHbGOJ1SWtJWX6oxgf8w== X-Received: by 2002:a05:622a:1b9e:: with SMTP id bp30mr25549800qtb.526.1640850196769; Wed, 29 Dec 2021 23:43:16 -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 w13sm19536773qko.20.2021.12.29.23.43.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:43:16 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:39:16 -0500 Message-Id: <20211230073919.30327-39-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 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-parser-cctalk): New variable. --- gnu/packages/node-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 6337554830..758d72a52a 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1272,3 +1272,26 @@ (define-public node-serialport-parser-inter-byte-timeout Parsers are used to take raw binary data and transform them into usable messages. This package provides @code{InterByteTimeout}, a parser that emits data if there is a pause between packets for the specified amount of time."))) + +(define-public node-serialport-parser-cctalk + (package + (inherit node-serialport-binding-abstract) + (name "node-serialport-parser-cctalk") + (version "9.2.4") + (inputs `()) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/parser-cctalk")))) + #:tests? #f)) + (synopsis "Node SerialPort parser for the ccTalk protocol") + (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. + +Parsers are used to take raw binary data and transform them into usable +messages. This package provides @code{CCTalk}, which emits packets for the +ccTalk protocol (an open standard for currency detectors) as they are +received.")))