From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 AB/lFK8012GTNAAAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 19:27:59 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ADCMEa8012GWMgAAauVa8A (envelope-from ) for ; Thu, 06 Jan 2022 19:27:59 +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 D15765FC4 for ; Thu, 6 Jan 2022 19:27:58 +0100 (CET) Received: from localhost ([::1]:46638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5XUQ-0002RX-Ar for larch@yhetil.org; Thu, 06 Jan 2022 13:27:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5XSr-0007Zh-4S for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:17 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49394) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5XSq-00015u-PY for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:16 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5XSq-00058p-Mh for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v8 37/41] gnu: Add node-serialport-parser-inter-byte-timeout. References: <20211114124151.36743-1-philip@philipmcgrath.com> In-Reply-To: <20211114124151.36743-1-philip@philipmcgrath.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Jan 2022 18:26:16 +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: Philip McGrath Cc: 51838@debbugs.gnu.org, Timothy Sample , Pierre Langlois , Jelle Licht , Leo Famulari Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.164149353519425 (code B ref 51838); Thu, 06 Jan 2022 18:26:16 +0000 Received: (at 51838) by debbugs.gnu.org; 6 Jan 2022 18:25:35 +0000 Received: from localhost ([127.0.0.1]:42263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5XSA-000537-Uf for submit@debbugs.gnu.org; Thu, 06 Jan 2022 13:25:35 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5XRT-0004w8-MB for 51838@debbugs.gnu.org; Thu, 06 Jan 2022 13:24:52 -0500 Received: by mail-wr1-f68.google.com with SMTP id t26so6505284wrb.4 for <51838@debbugs.gnu.org>; Thu, 06 Jan 2022 10:24:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:cc:content-transfer-encoding:message-id :mime-version; bh=lm9jy7PzD/AKdxrSHv1Y7HHRFOVG4gbo9oWDbP/azQQ=; b=BkB0STnYaX/3lGphemFEYYcm2EEFWnAufDHjge5QStF9L7xV5/b0Tgn2bLVhaeX2oF j3WYAZV5/MIDpcsXo91M2k7fZevkvbwKHuXMMPb9fofYEnOvQntawzCGeHwohVl/EUQW Ns1EPNTevGT6TWwYMQp4o8cS7x6xlFD2PLppPNLvlusaRMrln31JKjOHyLlGX0FrpVaM SqZ9V0OgKTKlcuvK9odkdQjcVWDGjAkwOzcuPsCc7NgH+r1EwY8u/LYcaNQIM4CAhLI7 Z7ioXgBWbpYCQCsv0946pI6QlBX1wwpGQhvNTJmUUAnyAnBN1SWTQqIUPnNmPvlc9FmK 8clw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:cc :content-transfer-encoding:message-id:mime-version; bh=lm9jy7PzD/AKdxrSHv1Y7HHRFOVG4gbo9oWDbP/azQQ=; b=hIHybsJkYYh1pIQkhQ2LJXz6keNCCG9zIPewPuryxG3hoGW8w+E7NviGqQ/ivtROAd WoaDv+gtOfJVTTJHVn8t0KeA5aeyv8woNrhrKVP7ACj+AnMoFgQT63nKPkQOiCP2Oijf 4xPYJuaaoFZWCkHP1akRTEXCeDjxaghBRHVzgBqrydUS/NB9QNjPbx4iyqXAYHgeEyjS +seQgMZpxX1hZSj8ohYxOO5AgEV91qM+4xOD9hOMS05anWKxU4HYo49GaQcTxhlLdK0K jLfbSQt76naoslvPPHL1VwDFyDvrAfUVl6L/YrefgJEs5GVtoQ3YSEBHxR50iKhgq5pM NLXg== X-Gm-Message-State: AOAM533d8UHtsZBJTAjBxEpNQz1r+nrQTV39D+csqiRUmIoAYK5ngmog I3T+VDaWZFIlulWI1g0aWNQ= X-Google-Smtp-Source: ABdhPJzBDyXr8bq0de5hXFMrZexxiBa4re8tJBCqWs6tjO6ghJ7QnrbTP8rwU8B59z0rJEi0ymSKuA== X-Received: by 2002:a5d:5985:: with SMTP id n5mr52063864wri.63.1641493486257; Thu, 06 Jan 2022 10:24:46 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id b17sm2693311wrq.91.2022.01.06.10.24.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 10:24:45 -0800 (PST) From: Liliana Marie Prikler Date: Thu, 30 Dec 2021 02:39:15 -0500 Content-Transfer-Encoding: 7bit Message-ID: 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+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=1641493678; 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=lm9jy7PzD/AKdxrSHv1Y7HHRFOVG4gbo9oWDbP/azQQ=; b=mnmyndBmpaijp4Wq8Qk+JDeVofhv7UfiKQTd3f/CEkzUXSeGpxpJkJDi17NERsXdBnx3lu Do6Y1/aBG66yIFH/o+PNzvphqlpNE5MAqVyYHwyHx+jeck8H4jZwCe8dEtvdD+0X+Uedmr doK97lNSa51a/rpv2ddMg1jPKxsai/W4O5+FxDWLH1F6Zd6ta5AWwfBimFcvJJBws+7JPw xIDZrTFMkZomBSBnogZT75p+sMoo4+clps/CMtNC3TBeqbyOsxYVWvZ2oQyjXIfoaQLNi3 LAScggZNOTxPnDr9Zty/WBLlzWdyz+aRkSjJmzXhE6wojFjQXxLXlBDXNfRwkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641493678; a=rsa-sha256; cv=none; b=X5zW5YRuXp7ADd8UzOtP0VaLR+Nm2Qhi+8AmBVAppRjMNw01IaDQdxeOvh9fQ53fhi/RTA b0a8OeDr+JjjSbfrHgAS1Ax5N7KQbGFkmIy4plSkjyXGkZuFvyFD2AdMBpoeFLSImsIEMZ LvR1yG4DF7V4Y2X3B2IeKkI1gjaxCW5oljSvDuFKITdQKTTR6u5DvXNaImNlLWtFGYO81V xEccqGCoaKPkD3KaIOTn2aylo8Z4XQLU4q2PaBkrNjOHdnUxo7ruwCiCo/vrDilVhnVMMn eumjvBTv4tvYdBl2O4WXFRtP7ELdC5x3/F0hgw0uKk/tS9frW6RzFm1jjAQHKw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BkB0STnY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -1.00 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BkB0STnY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: D15765FC4 X-Spam-Score: -1.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZGhmkC4fiHht * gnu/packages/node-xyz.scm (node-serialport-parser-inter-byte-timeout): New variable. Signed-off-by: Liliana Marie Prikler --- gnu/packages/node-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 623281f64c..84e66f5c20 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1184,3 +1184,25 @@ (define-public node-serialport-parser-ready messages. This package provides @code{Ready}, a parser that waits for a specified sequence of ``ready'' bytes before emitting a ready event and emitting data events."))) + +(define-public node-serialport-parser-inter-byte-timeout + (package + (inherit node-serialport-binding-abstract) + (name "node-serialport-parser-inter-byte-timeout") + (version "9.2.4") + (inputs `()) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/parser-inter-byte-timeout")))) + #:tests? #f)) + (synopsis "Node SerialPort parser to detect pauses in data") + (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{InterByteTimeout}, a parser that emits +data if there is a pause between packets for the specified amount of time."))) -- 2.34.0