From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IIZzDk1aqGIvGgEAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 11:52:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IHMODk1aqGLQYwEAauVa8A (envelope-from ) for ; Tue, 14 Jun 2022 11:52:13 +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 D7DBF3FF3C for ; Tue, 14 Jun 2022 11:52:12 +0200 (CEST) Received: from localhost ([::1]:46378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o13DX-0000ND-VB for larch@yhetil.org; Tue, 14 Jun 2022 05:52:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o13CT-0000E2-HE for guix-patches@gnu.org; Tue, 14 Jun 2022 05:51:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o13CT-00024k-9B for guix-patches@gnu.org; Tue, 14 Jun 2022 05:51:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o13CT-0002uz-8c for guix-patches@gnu.org; Tue, 14 Jun 2022 05:51:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55964] [PATCH 2/9] gnu: Add node-yazl. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Jun 2022 09:51:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55964 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55964@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165520024711095 (code B ref -1); Tue, 14 Jun 2022 09:51:05 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2022 09:50:47 +0000 Received: from localhost ([127.0.0.1]:32975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o13CA-0002sn-Lw for submit@debbugs.gnu.org; Tue, 14 Jun 2022 05:50:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:53342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o13C4-0002rR-3U for submit@debbugs.gnu.org; Tue, 14 Jun 2022 05:50:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o13C2-0008Gz-BR for guix-patches@gnu.org; Tue, 14 Jun 2022 05:50:39 -0400 Received: from 9.mo575.mail-out.ovh.net ([46.105.78.111]:40247) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o13Bx-0001yy-Ui for guix-patches@gnu.org; Tue, 14 Jun 2022 05:50:38 -0400 Received: from player746.ha.ovh.net (unknown [10.109.156.39]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 97AE624B02 for ; Tue, 14 Jun 2022 09:50:23 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player746.ha.ovh.net (Postfix) with ESMTPSA id 22D9A1E2E0B46; Tue, 14 Jun 2022 09:50:21 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Tue, 14 Jun 2022 11:49:47 +0200 Message-Id: <20220614094954.15197-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220614094954.15197-1-ngraves@ngraves.fr> References: <20220614094954.15197-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6475894790966797026 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrudduledgudelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejgeeirdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeh Received-SPF: pass client-ip=46.105.78.111; envelope-from=ngraves@ngraves.fr; helo=9.mo575.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1655200332; 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-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=SR58por/9tc7m2CL00wixFyZK/zZoGmT5xFzC29PbN0=; b=O8L+jUU3yavnRf1ptm8fDJPY5T2fYXf8FdxqxWcJtpM03ak0RWGqKdWO5RyZr43K46FHcS 7olzA7+rGrZfElS/PjTsW7ys8NHz1u40GCbZEo/f9O7AZ64vzMet97LmNXxRyiIrGNz5aD 4gMT+qWTscw/CYht3phBtEasgvxfMdJq7DupixhQkpnEgdcaO095y7g+03KbwEF+66/NEb zbpnQxgIBU0BZ4b6Hia7FhpSR3jYtZchPKnYUe6gh0PhjngJ9kSNLnhRFTOWGfe/DNCMkl EiLN2tIjnnAg1KJvIHR+dPvqdDxHcisdXzh7v33PaeQua1dflGxHbjcBnsbqZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655200332; a=rsa-sha256; cv=none; b=uZa9XhDorkUilBply7qYZMINBHpPz3Lu+VwAefsVaB5xiVLTPBPbsDBxOc7H5Kta5utiye o02fxbdlKzX+ewZ4RS3lJm2ophxk7oqwmT26612VIlHUp+5P52ayZy0s+fjp0dq0lUdkUl Oawxvvo3CHL6XUE9ohdMnXEFjmqFXC2Y79725hyKZ+dF4LbBM7xC7kY9+5v2fBfdjNBapt JAtTyDsLqDufH/sOMKJfRbeM3vsQZYUYTT0iWbusSFm4YEGgffKe8kfJz2OjX2jOc/10/O q4/Xr3IZFwH6ahwIPwCUMzf6nLeSZhvo0uV8efVlg1xtgagp6YJwNFfPdCqxGA== 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.19 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: D7DBF3FF3C X-Spam-Score: -3.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: ACaIngr0nHvx * gnu/packages/node-xyz.scm (node-yazl): New variable. --- gnu/packages/node-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index be37d627cf..af3745f601 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1335,3 +1335,36 @@ (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 + '(#:phases + (modify-phases %standard-phases + (delete 'check) + (replace 'configure + (lambda* (#:key inputs #:allow-other-keys) + (invoke (string-append (assoc-ref inputs "node") "/bin/npm") + "--offline" "--ignore-scripts" "install" "--production") + #t))))) + (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: +Don't block the JavaScript thread. Use and provide async APIs. +Keep memory usage under control. Don't attempt to buffer entire files in RAM at once. +Prefer to open input files one at a time than all at once. ") + (license license:expat))) -- 2.36.1