[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55964] [PATCH 2/9] gnu: Add node-yazl.
From: |
Marius Bakke |
Subject: |
[bug#55964] [PATCH 2/9] gnu: Add node-yazl. |
Date: |
Thu, 23 Jun 2022 22:22:56 +0200 |
Nicolas Graves via Guix-patches via <guix-patches@gnu.org> skriver:
> * gnu/packages/node-xyz.scm (node-yazl): New variable.
[...]
> + (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"))))
Indentation seems off here ('./pre-inst-env guix style node-yazl' can
take care of it if you don't use Emacs).
> + (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)))))
Same comments as previous patch.
> + (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:
Keep lines < 78 characters if possible. Also use two spaces after
punctuation.
'./pre-inst-env guix lint PACKAGE' will warn about this and save review
time. ;-)
> +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. ")
Use @enumerate for "bullet lists" which this seems to be.
Otherwise LGTM.
signature.asc
Description: PGP signature
- [bug#55959] [PATCH 4/9] gnu: Add node-resolve-protobuf-schema., (continued)
- [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, 2022/06/14
- [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
- [bug#55958] [PATCH 1/9] gnu: Add node-buffer-crc32., Marius Bakke, 2022/06/23