summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Becze <mjbecze@riseup.net>2021-05-13 08:06:22 -0500
committerGuix Patches Tester <>2021-05-13 14:20:13 +0100
commit7d40d7ee250e96da9e764e7e704ec37c5f70a24a (patch)
tree83583351a4a4f30de41482805a58d902899d4150
parent13519710c742ba864b692937c5ee91960f649226 (diff)
downloadguix-patches-7d40d7ee250e96da9e764e7e704ec37c5f70a24a.tar
guix-patches-7d40d7ee250e96da9e764e7e704ec37c5f70a24a.tar.gz
gnu: Added node-16.1.series-7928
* gnu/packages/node.scm (node-16.1): New variable.
-rw-r--r--gnu/packages/node.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 102aa760fb..3227346f1b 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")