From: Martin Becze <mjbecze@riseup.net>
To: 48396@debbugs.gnu.org
Cc: Martin Becze <mjbecze@riseup.net>
Subject: [bug#48396] [PATCH 4/4] gnu: Added node-16.1.
Date: Thu, 13 May 2021 08:06:22 -0500 [thread overview]
Message-ID: <20210513130622.4288-4-mjbecze@riseup.net> (raw)
In-Reply-To: <20210513130622.4288-1-mjbecze@riseup.net>
* gnu/packages/node.scm (node-16.1): New variable.
---
gnu/packages/node.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index d7b46190e4..9d2432e97a 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -728,6 +728,32 @@ source files.")
(alist-replace "python" (list python-3)
(package-native-inputs node)))))
+(define-public node-16.1
+ (package
+ (inherit node-lts)
+ (version "16.1.0")
+ (source
+ (origin
+ (inherit (package-source node-lts))
+ (uri (string-append "https://nodejs.org/dist/v" version
+ "/node-v" version ".tar.xz"))
+ (sha256
+ (base32 "0z0808mw674mshgbmhgngqfkrdix3b61f77xcdz7bwf1j87j7ad0"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments node-lts)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (replace 'delete-cluster-tests
+ (lambda _
+ (for-each delete-file
+ '("test/parallel/test-http-methods.js"
+ "test/parallel/test-stdin-from-file-spawn.js"
+ "test/parallel/test-cluster-primary-error.js"
+ "test/parallel/test-cluster-primary-kill.js"))))))))
+ (inputs
+ (alist-replace "llhttp" (list llhttp-6.0)
+ (package-inputs node-lts)))))
+
(define-public libnode
(package/inherit node
(name "libnode")
--
2.31.1
next prev parent reply other threads:[~2021-05-13 13:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-13 13:02 [bug#48396] [PATCH 0/4] Add nodejs 16.1.0 Martin Becze
2021-05-13 13:06 ` [bug#48396] [PATCH 1/4] gnu: Add llhttp-6.0 Martin Becze
2021-05-13 13:06 ` [bug#48396] [PATCH 2/4] gnu: node-lts: Updated c-ares and icu4c Martin Becze
2021-05-13 13:06 ` [bug#48396] [PATCH 3/4] gnu: node-lts: Add phase 'delete-cluster-tests Martin Becze
2021-05-13 13:06 ` Martin Becze [this message]
2023-05-29 11:14 ` bug#48396: [PATCH 0/4] Add nodejs 16.1.0 Jelle Licht
2022-02-25 10:54 ` [bug#48396] " Maxime Devos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210513130622.4288-4-mjbecze@riseup.net \
--to=mjbecze@riseup.net \
--cc=48396@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).