From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OIZzAJ3J12IGxwAAbAwnHQ (envelope-from ) for ; Wed, 20 Jul 2022 11:23:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uEL3OpzJ12Jc1gAAG6o9tA (envelope-from ) for ; Wed, 20 Jul 2022 11:23:40 +0200 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 8B0592794C for ; Wed, 20 Jul 2022 11:23:40 +0200 (CEST) Received: from localhost ([::1]:58280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE5vf-0000nF-6B for larch@yhetil.org; Wed, 20 Jul 2022 05:23:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE5pG-00057l-J3 for guix-patches@gnu.org; Wed, 20 Jul 2022 05:17:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oE5pG-0003Pc-AZ for guix-patches@gnu.org; Wed, 20 Jul 2022 05:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oE5pG-0006Rd-5F for guix-patches@gnu.org; Wed, 20 Jul 2022 05:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55964] [PATCH] gnu: Add node-yazl. References: <20220614094954.15197-2-ngraves@ngraves.fr> In-Reply-To: <20220614094954.15197-2-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Jul 2022 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55964 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55964@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 55964-submit@debbugs.gnu.org id=B55964.165830857224682 (code B ref 55964); Wed, 20 Jul 2022 09:17:02 +0000 Received: (at 55964) by debbugs.gnu.org; 20 Jul 2022 09:16:12 +0000 Received: from localhost ([127.0.0.1]:55863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE5oR-0006Q0-MX for submit@debbugs.gnu.org; Wed, 20 Jul 2022 05:16:12 -0400 Received: from 13.mo582.mail-out.ovh.net ([188.165.56.124]:45777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE5oO-0006Pj-To for 55964@debbugs.gnu.org; Wed, 20 Jul 2022 05:16:10 -0400 Received: from player792.ha.ovh.net (unknown [10.110.208.62]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 0F97323C48 for <55964@debbugs.gnu.org>; Wed, 20 Jul 2022 09:16:06 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player792.ha.ovh.net (Postfix) with ESMTPSA id 0C3442CC9D38A; Wed, 20 Jul 2022 09:16:04 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Wed, 20 Jul 2022 11:16:01 +0200 Message-Id: <20220720091601.12006-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 14399696861722960610 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrudelvddgudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffogggtgfesthekredtredtreenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeehgfetgeehvdefiefhgfdvuddufeeiteetueehfeduheduleevjeefgfduvdelffenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpddujeeirdduieeirdduheelrdejjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeelvddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehheelieegseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedv 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" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658309020; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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; bh=BjIW/TzuVntVYs6zLaWhw8thpvh7T/CX/QTsRbK55rM=; b=J8c/7Zm0afPU0tVkGcB+xbNUe7biwPDWvRvApE/FFgr9y8rGxVehq2A4Phsudf+4H5gHXl uhTBSFsUhl6nol8ylCe5MDAfxREHNW/ZQXuay6jMJiuknni9YzbeJo4BVffuja/9nla68/ 5T6oUvk3SOaeEg9vs0ShYuNLfJpgTKIY5oThSHqqqmty1ZK+juF571Q3wVcmfzt20ONNDR DvYJqAnsMod5l9reQSO3HtQwYlzml1aZNCt4TrVJ0fuh1i9tqyOch56oGVYHwKWpOyqCPY aOSHl6cPaRJBHiZHiw/xe0qFDu1O+MPVeKrQk5hoNCvLlbXjr/V8s+K3JWaSkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658309020; a=rsa-sha256; cv=none; b=NkIbTjCGw16Hn3YW3YyQ2lN7KDARipibxBq+31EqOx94HjybrUjgDa6wahBAbPzS78pj2f PiwcdnV/gAa+RMq51mxWzsEwxETotvEWZd/w5jrirYmA5KmVIfY/FlnKkWMTzNGRYKk1MI cbSgWljD6jCDNEg3v8BhOkH3tooN6EywQq7x9rMKlaSduvkgA1fylRllwFTmCwYgc3C6QP VjTpnISqSeSlAMce05SoqNX6XfEDxwdQDKKiwlWxT6XqGEp8QYi7iSsGwbuLoDfgnRSXC3 RNjs72CH727TR6blEYRoJ7GeXtTRWiG9mrR6/q5LKYfkF3Z+DSLJMEfeSXUieg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 8B0592794C X-Spam-Score: -3.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: bvJQ+SE818CK * gnu/packages/node-xyz.scm (node-yazl): 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 d6035e2c23..dec7d9ef19 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2021 Noisytoot ;;; Copyright © 2021 Charles ;;; Copyright © 2021 Philip McGrath +;;; Copyright © 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -1333,3 +1334,39 @@ (define-public node-serialport accessing serial ports. This package is the recommended entry point for most projects. It combines a high-level Node.js stream interface with a useful default set of parsers and bindings."))) + +(define-public node-yazl + (package + (name "node-yazl") + (version "2.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thejoshwolfe/yazl") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lhwqqnvazpi4xw81ldpx0ky0h1j5rcx3br480q2bnzj21cm109n")))) + (build-system node-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs #:allow-other-keys) + (invoke "npm" "--offline" + "--ignore-scripts" "install" "--production")))))) + (inputs (list node-buffer-crc32)) + (home-page "https://github.com/thejoshwolfe/yazl") + (synopsis "Yet another zip library for node") + (description "This package provides a zip library for Node. It follows +the following principles: +@enumerate +@item Don't block the JavaScript thread. Use and provide async APIs. +@item Keep memory usage under control. Don't attempt to buffer entire +files in RAM at once. +@item Prefer to open input files one at a time than all at once. +@end enumerate") + (license license:expat))) -- 2.37.0