From patchwork Thu Feb 8 00:24:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 59901 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 89AE127BBEB; Thu, 8 Feb 2024 00:27:26 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham 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 F24AD27BBE2 for ; Thu, 8 Feb 2024 00:27:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXsFl-0001Zr-TV; Wed, 07 Feb 2024 19:26:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXsFj-0001Vj-Q0 for guix-patches@gnu.org; Wed, 07 Feb 2024 19:26:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rXsFj-00015W-Gm for guix-patches@gnu.org; Wed, 07 Feb 2024 19:26:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXsFx-0007Fi-Hl for guix-patches@gnu.org; Wed, 07 Feb 2024 19:27:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68941] [PATCH v2 28/44] gnu: Add node-stop-iteration-iterator. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 00:27:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68941 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68941@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 68941-submit@debbugs.gnu.org id=B68941.170735199127516 (code B ref 68941); Thu, 08 Feb 2024 00:27:09 +0000 Received: (at 68941) by debbugs.gnu.org; 8 Feb 2024 00:26:31 +0000 Received: from localhost ([127.0.0.1]:58416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsFL-00079i-Br for submit@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:31 -0500 Received: from 7.mo576.mail-out.ovh.net ([46.105.50.32]:53921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsFF-00078K-9O for 68941@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:26 -0500 Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.2.54]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id D0121324FC for <68941@debbugs.gnu.org>; Thu, 8 Feb 2024 00:26:09 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-glz4h (unknown [10.111.182.37]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 89ABD1FDBE; Thu, 8 Feb 2024 00:26:09 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-6684bf9d7b-glz4h with ESMTPSA id KTMXG6EfxGVpSwIAv5JAUA (envelope-from ); Thu, 08 Feb 2024 00:26:09 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G0021ef92dd0-75b4-49ab-8789-3cfafb9ad9c5, 1F816C6F1D534EC93874C2C90F666022E64E63F2) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Thu, 8 Feb 2024 01:24:51 +0100 Message-ID: <20240208002527.27165-28-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240208002527.27165-1-ngraves@ngraves.fr> References: <20240208002527.27165-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2279102888398807778 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrtdefgddvfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieekleegudesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/node-xyz.scm (node-stop-iteration-iterator): New variable. --- gnu/packages/node-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 5f5320a540..0829753f5f 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -2286,6 +2286,43 @@ (define-public node-statsd-parser protocol used in @code{node-lynx}.") (license license:asl2.0))) +(define-public node-stop-iteration-iterator + (package + (name "node-stop-iteration-iterator") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ljharb/stop-iteration-iterator") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kxwa74y1qb67r80s2pmys6zv1w44f5b20ys8s9b79nij83r88sl")))) + (build-system node-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (delete-dependencies + '("@ljharb/eslint-config" + "aud" + "auto-changelog" + "eslint" + "npmignore" + "nyc" + "safe-publish-latest" + "tape"))))) + #:tests? #f)) ; FIXME tests depend on node-tape. + (inputs + (list node-internal-slot)) + (home-page "https://github.com/ljharb/stop-iteration-iterator") + (synopsis "Throw @code{StopIteration} when iterator is done in Javascript") + (description "This package provides a Javascript function for iterators to +throw a @code{StopIteration} object to indicate when they are done.") + (license license:expat))) + (define-public node-string-decoder (package (name "node-string-decoder")