From patchwork Wed Jul 20 09:16:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40744 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 37B3727BBEA; Wed, 20 Jul 2022 10:23:34 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 E221327BBE9 for ; Wed, 20 Jul 2022 10:23:33 +0100 (BST) Received: from localhost ([::1]:58280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE5vZ-0000nF-3I for patchwork@mira.cbaines.net; Wed, 20 Jul 2022 05:23:33 -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) Authentication-Results: garm.ovh; auth=pass (GARM-101G004f2e3bc2d-c153-4f3d-ab54-400ac421cbfc, 129C31CF0BB9A5A41165496B287D5FC7981061FF) smtp.auth=ngraves@ngraves.fr 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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" 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 X-getmail-retrieved-from-mailbox: Patches * 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)))