[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55964] [PATCH 2/9] gnu: Add node-yazl.
From: |
Nicolas Graves |
Subject: |
[bug#55964] [PATCH 2/9] gnu: Add node-yazl. |
Date: |
Tue, 14 Jun 2022 11:49:47 +0200 |
* 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
- [bug#55958] [PATCH 1/9] gnu: Add node-buffer-crc32., Nicolas Graves, 2022/06/14
- [bug#55959] [PATCH 4/9] gnu: Add node-resolve-protobuf-schema., Nicolas Graves, 2022/06/14
- [bug#55960] [PATCH 5/9] gnu: Add node-ieee754., Nicolas Graves, 2022/06/14
- [bug#55962] [PATCH 6/9] gnu: Add node-pbf., Nicolas Graves, 2022/06/14
- [bug#55966] [PATCH 9/9] gnu: chromium extensions lighter make-crx., Nicolas Graves, 2022/06/14
- [bug#55964] [PATCH 2/9] gnu: Add node-yazl.,
Nicolas Graves <=
- [bug#55961] [PATCH 3/9] gnu: Add node-protocol-buffers-schema., Nicolas Graves, 2022/06/14
- [bug#55963] [PATCH 7/9] gnu: Add node-minimist., Nicolas Graves, 2022/06/14
- [bug#55965] [PATCH 8/9] gnu: Add node-crx3., Nicolas Graves, 2022/06/14
- [bug#55958], Nicolas Graves, 2022/06/14