From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aDxrGADxu2EeMwEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:08:00 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IAUmFADxu2FvTAAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 02:08:00 +0000 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 159AF35998 for ; Fri, 17 Dec 2021 03:07:56 +0100 (CET) Received: from localhost ([::1]:54992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2f5-0006KM-7L for larch@yhetil.org; Thu, 16 Dec 2021 21:07:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2eG-0005fC-VC for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2eG-0008HD-Mi for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2eG-0005Hs-Ha for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 37/45] gnu: Add node-serialport-parser-readline. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 02:07:04 +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.163970679720200 (code B ref 51838); Fri, 17 Dec 2021 02:07:04 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 02:06:37 +0000 Received: from localhost ([127.0.0.1]:37399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2do-0005Fd-Oy for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:37 -0500 Received: from mail-qt1-f176.google.com ([209.85.160.176]:38672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2db-0005EE-4N for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:23 -0500 Received: by mail-qt1-f176.google.com with SMTP id 8so1201227qtx.5 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:06:23 -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=g5MV5LQ3+k2btes54CvyTIPC7xNta+MB9jFsIKyVqXA=; b=HATTwQAZPAvfWroZ1aGb4lqR9rwKdokk2Y4XlPAeukHpQvWmp02rYykGlRFOhT0wuL M3v5Zeh8C3hIYhmC4+kp9NzEsNx92iIIgeMOZiKlEUvC/p2i0HDLXYjL+vSGK6WmbC2a 2TX0uU1Xpnx09pbA3CRBtlsyrJKv+w05P8Rlky/neE9aySNxyA+qT026y8ooz+5x6hRT B5oQpKoA2+NnEI/Yhzi3e+FpLAM9lLVuR4F5IGlUUUndfy1NKLMWu84a/oc1zS2OemBQ 0sB+FSWqgbrpQb3SzO2rM8KkNiltN5bULV7y1i6111bk81iBYGI+Xd9JowgYokelDIbm LiPQ== 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=g5MV5LQ3+k2btes54CvyTIPC7xNta+MB9jFsIKyVqXA=; b=0P9r9US/9z9a0GxgXU9EFgLweySG7FozeaGD/iOzPhB6TA/EOyyn0mf9qSKxdu1rZM cffzbUvlNYgs1jAGOuB33zd7mpH9uyqn4KI9DrwDK+d2mpyft72xkZx7JuLDF5SwFuM9 u5sLCCG8HnJR9BUaN6iC4XI3rvioI/BmKH5EvZZhW5kO+uoG9S/oyoh11yEoVxHehnYL Ctyz3lpGY3pMn+CrFsvqD4sgvGRb/0Ss2b1Xj0e0yOkxpPqzeLp6goiaCa0QdVQlMQ83 268s5787RClpi84kjG59+Sods4zfJsOeqP+LA6Xu0f+esR8AKkzX7GrMt6/lyBHsVr0P ZLcg== X-Gm-Message-State: AOAM532W7BD6tj83z4/5o44y1Vgwdx915UAF1YDKYgvAO4sEYFsn2oFu ubHj5ctllcaP6u7v/htz9oNNaaKbRDCvp8xrcrg= X-Google-Smtp-Source: ABdhPJxgMdvND4vjOulEUAoIEHwM5MrOkt7B4gSpnLlF7PaHX+r03CAw14doyhTe9s6w6rwvzPwlpw== X-Received: by 2002:ac8:5710:: with SMTP id 16mr739556qtw.140.1639706777746; Thu, 16 Dec 2021 18:06:17 -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 v9sm3860182qkf.90.2021.12.16.18.06.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:06:17 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:17 -0500 Message-Id: <20211217020325.520821-38-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211217020325.520821-1-philip@philipmcgrath.com> References: <20211213060107.129223-1-philip@philipmcgrath.com> <20211217020325.520821-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=1639706880; 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=g5MV5LQ3+k2btes54CvyTIPC7xNta+MB9jFsIKyVqXA=; b=KKspkzrFv/oSDBdJ3E55Om1lAUWakspo2yAHXXCldo96yxjkO4FN5IUK6ymFRU9QMArx/d 96CXSiGBlmUj8/3An9eKy30F9O+VOg6DCpDrWKpUmKhGqnejui+03qSOyd251Y4rBc2A/0 6SnlLVBXWEPLw+PUsxZpWF2wsBzwaAPqfA+UUrQ6+meNZM8EPW0kGQeqlbRaj+94Hl2qST nsRWlwSYhXzW0sqoQc/5P7bvpD/MijUSlZ8NsRWsDP9ikZh9pYfN3YG46Ltka9Bo8JMDgC TKB6X2APYSF0mYRt+UP7xtuByVx+yuVZy3HXlypSMEZkh1Km+dFW9PqcB3zzKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639706880; a=rsa-sha256; cv=none; b=MrZ9drTuNQ26aduCRuzhvvHFSaUejKJdEiGABk8L+fmFHIDjRUah/UdwjW5dASqmeniuKo gxRqt/6WiHlTz6MaGvLq3/qXqViHLyRehszTq4Rn/gNtPg4I1McmkDCn+i+lk6tia72VCS BWwR1fO2UgibkTVaFi2WMqGSOCmpORexAMdCPDD6HkdhX7pfeMgOwCDQ4Ct5ZsJoDz27Nw xjxVbSTLuyt26GCZnP8sXqWJfNu/tircVzR+DSXusGnMWskSItwQorvv5bcK1Mo3WLpHzE 2PhnSAC8+wcsM74GP8cq/S9CLoemWTanD4/h/S3AVqPFMipeYbgkwWbwfllzPg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=HATTwQAZ; 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.31 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=HATTwQAZ; 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: 159AF35998 X-Spam-Score: 0.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: +2tdz4CT2ur2 * 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 abe0e9b291..d117df1e81 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1031,3 +1031,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