From patchwork Mon Dec 13 06:01:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 35198 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 2DCD527BBEA; Mon, 13 Dec 2021 06:09: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 EC6E027BBE9 for ; Mon, 13 Dec 2021 06:09:58 +0000 (GMT) Received: from localhost ([::1]:50296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweX8-0000GW-3X for patchwork@mira.cbaines.net; Mon, 13 Dec 2021 01:09:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweTM-0005Kt-4s for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42307) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweTL-00082p-QC for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweTL-0002hx-KB for guix-patches@gnu.org; Mon, 13 Dec 2021 01:06:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 42/45] gnu: Add node-serialport-parser-cctalk. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:06:03 +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.163937553210315 (code B ref 51838); Mon, 13 Dec 2021 06:06:03 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:05:32 +0000 Received: from localhost ([127.0.0.1]:53843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSp-0002gE-Gr for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:32 -0500 Received: from mail-ua1-f44.google.com ([209.85.222.44]:34388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSa-0002f0-Ao for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:05:16 -0500 Received: by mail-ua1-f44.google.com with SMTP id n6so27370661uak.1 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:05:16 -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=jp7BnZc6mfgPF1aMGomE1uqg6O8UhC3Uq/AN+wWmN30=; b=V+rhW5ab8kVvRKr/DrOuAc9JLojMMShCUe7rnvF/iHCj4jhz28zGiZoqaUNVnqxRcX smQ3rJX8NQE4WI929M+ahvbDixeozqLXjdP2XAkbsCfwnF/8dlIi7nYM2E/EoUe/Clsh FZjyTySbpz3jG8IazCrBrgxjm7UNPNBYbvicRzvWm6aVITTboSSINRBaYdyORtwpUPk7 3qj0FWKK9si9zW9xle26WKgOIT0gFsb5kyhGS1F2B4lmHjZyDcMS5dn1ateRJEcECVbJ uy4VORX6tq/HJ6kzYOz5ENavrAhatuaPRdfalDOig3NiwTbu/MWA2S+kdtSvH/PMnIcj c6eg== 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=jp7BnZc6mfgPF1aMGomE1uqg6O8UhC3Uq/AN+wWmN30=; b=cMNMY2pcKB8OhYBAaxRD0CZPCBeX0NdzmKbg6HLBKEIi8dlqV6EmmJ/l9Wk+wxCFLN WMDG9DKO0HQ0yc9JT/09A/mqZx6caD6DOgUNEIM7L16nEWoUB025naGZvXGCreyXMjzH 9jtoWFqB3I22fBo4RowuBStLu/vbOBwaJZeBPh6ZfH3gsUZze488cFatUMQ9wZ9EZGQ/ e/bmogNSPlUT8mLs/1+qX+Hv/siwTnSY67GvF1AG53TbdMmia+TisQczBFi0iHUOFS91 rbtqs2N56KAv8tDVluwrgpD9pacdbaSvOjyA+v2mzFF+xaOBzRRSFaSVhUuHFiCvWCw+ jrmA== X-Gm-Message-State: AOAM533adZ/+Q6e8B+ICaiOFsfNeEjpPnJ8KW25oPFD47b2F8NT7aN/d mSTsRjefT7RV18jbvUaaf+fRkhC9nf2JCGbfTak= X-Google-Smtp-Source: ABdhPJzBSnFlAGKdLHyPR15+V5Axd1KIh7nJS6r/c8HjLA27e61bJY5r04PvYNAvejA6gwVaTpv4yA== X-Received: by 2002:ab0:74c1:: with SMTP id f1mr39321884uaq.109.1639375510994; Sun, 12 Dec 2021 22:05:10 -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 bj50sm3722301vkb.7.2021.12.12.22.05.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:05:10 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:01:04 -0500 Message-Id: <20211213060107.129223-43-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-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 3df6c37584..00d5cb7665 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1186,3 +1186,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.")))