From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MBktAr9uzWEwCQEAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 09:33:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SP1XOr5uzWHyNQAAauVa8A (envelope-from ) for ; Thu, 30 Dec 2021 09:33:02 +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 aspmx1.migadu.com (Postfix) with ESMTPS id C8479285AA for ; Thu, 30 Dec 2021 09:33:02 +0100 (CET) Received: from localhost ([::1]:41332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qF8-0002iB-TM for larch@yhetil.org; Thu, 30 Dec 2021 02:52:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qEH-0000vx-UX for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2qEH-0007Dj-KF for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2qEH-0007FE-Jr for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v7 33/41] gnu: Add node-serialport-parser-readline. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:52:05 +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.164085068727684 (code B ref 51838); Thu, 30 Dec 2021 07:52:05 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:51:27 +0000 Received: from localhost ([127.0.0.1]:51256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qDe-0007CM-TQ for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:51:27 -0500 Received: from mail-vk1-f177.google.com ([209.85.221.177]:42679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qAK-0006yt-U4 for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:48:01 -0500 Received: by mail-vk1-f177.google.com with SMTP id s1so13293969vks.9 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:48:00 -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=NOS0lymULURhfqpec0nOceNSN3ZdqLkgyJ/P5mV/F54=; b=PHi44Yhy1arQcX3bisu/I1HDA8Iyq/m/l79C4+voAP9Ux6XJh9ZbePC3tmQpoIYdXI YcE18+J3jzF3ccpbEv2Wb4F54PIERMOv2trRsstMDy/UXH5NoqiO2aMW6ZtiGNfIQ+hK g+DJZXLsV3kfArMyCqHb77QPkEsXgxqgwqHtq0tXj47syoZtP0eTpX8FmaETSU+ZKGv0 j+4kXtczcF5sMtSG/7TXCo4pk21KpndWQ5L3YkQ6fNX1D7vPSs7wvbE0ZV3KWLdpSFr0 etQuSl0Y6vRUgMnwpDa1CEc2HXp9q3DWiJ71Q9dIqDb3ize5+JmDBJht/VysQ3rwh4gK JRAw== 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=NOS0lymULURhfqpec0nOceNSN3ZdqLkgyJ/P5mV/F54=; b=VFC5V/eq1SiW0SRfB2iT9KavE62mTLaTk7ly/eMdP5y8BlMNYN6FtxAgwsx8W4DNpb pvQKJoaMIo8mVaffT2rgo0kVrQdYnN2uTUh36CbUK/PmILo4y6YZ7Kwb5NEksmm+LT1M z74v3HAPvbOe/O76/wrqvDn6hhAJIZC/RYtFfooKqlAZPRlwYkkk6JMeFHmSSLkNg35L BccNcg4OeANoaJ897kWpkbJUOAPUdkWh+ko7q+0mKEBsJggyBjKXmLlgqhMFI3yjU0LX HJs3kCVb6Zys+T3e3RWZgBP3wLA9say4fyJTB6f732MWAf7NRmb1VnfCNuT282sJIG5y 6IKQ== X-Gm-Message-State: AOAM531UJaufeae8lpCUvRrEDUR61Y5s70Ac4mnMxWrV1DUXa5dSJwhj lZEZFdxsuFtMKJ+Gar/lOoHDy5Jwp6CAiqfx X-Google-Smtp-Source: ABdhPJyntApeGuArCGIRg7q9DEdu674X2uwmGda/XZ+tbYfGWW8KxNgCHbrgVyxwsq+iIRI+h2W56Q== X-Received: by 2002:a1f:130a:: with SMTP id 10mr1827796vkt.28.1640850475420; Wed, 29 Dec 2021 23:47:55 -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 q11sm4366948uaj.4.2021.12.29.23.47.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:47:55 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:44:48 -0500 Message-Id: <20211230074456.33433-34-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230074456.33433-1-philip@philipmcgrath.com> References: <20211230073919.30327-1-philip@philipmcgrath.com> <20211230074456.33433-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=1640853182; 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=NOS0lymULURhfqpec0nOceNSN3ZdqLkgyJ/P5mV/F54=; b=IzuMQlAeQKhGeT9pGWdwR5pRUl6UWIzyJOLxwOdzeA2NPdrEQgnzLLeqfINSPwc49Cf9xM EhlgCVrpLm/sbK/593+eSte/mhC0mhxs63WTtaetTvnBfMCiNSUkgQnRk0zn1jKrYJcLFZ U/9+rHhU8cjsBrbXiu1A7r5Oe0jrvpvQ6i5OhnnTIMW6W4oqkLbdXMBfO5nfOGzO05jR3T mTdvuFvys5zcxzdsxYanZq3nMprdEcHyUcqznA3Vzp6KN0FG9DmRMu21CUKo+RLNlTw3C5 tgrP4dNLYCx+sDnf7xYzZsp34a5cSHA8qSWkr0lMAAivbAF+V0ZymzwoaeMw/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640853182; a=rsa-sha256; cv=none; b=Kcspi7f4rF2M2U36DvMjQ1paLrNotm+BQ6iM++YvGs+n694geVKYFqCKOtkoDXS0laL9FP lJ9hQHyAVB5nyQjVKwe6yJBUQbqcCPEWWWUoa0D4qSzIFiBusWdRduDpR/w/pjfBK8cwbL hElLY7t8qRtoC6tLR/H0m9rDHWqoiSzJHcSAbw5rYEOfh/125zd9y3EeYpkfxnyNgmpqty aGl83bdTIuUko7kdUE75Oxc1iDrkZxmXIZy136yclmRuO0JECl6zIRxinuurbuNTL0KISI NiXzhFDnldCxTfMW9+SvStsa5D0SvmGPJn46Rx3bZJMU+hAwEL3t3MTUu0lS/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=PHi44Yhy; dmarc=none; spf=pass (aspmx1.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.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=PHi44Yhy; dmarc=none; spf=pass (aspmx1.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: C8479285AA X-Spam-Score: 0.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: aLpALgYGq8dG * gnu/packages/node-xyz.scm (node-serialport-parser-readline): 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 7a04e66efa..ca18e5055e 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1049,3 +1049,26 @@ (define-public node-serialport-parser-delimiter Parsers are used to take raw binary data and transform them into usable messages. This package provides @code{Delimiter}, a parser that emits data each time a specified byte sequence is received."))) + +(define-public node-serialport-parser-readline + (package + (inherit node-serialport-binding-abstract) + (name "node-serialport-parser-readline") + (version "9.2.4") + (inputs + (list node-serialport-parser-delimiter)) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/parser-readline")))) + #:tests? #f)) + (synopsis "Node SerialPort parser to split data on newlines") + (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{Readline}, a parser that emits data +after a (configurable) newline delimiter is received."))) -- 2.32.0