[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: Add node@10.22.
From: |
guix-commits |
Subject: |
02/02: gnu: Add node@10.22. |
Date: |
Sun, 6 Sep 2020 18:21:59 -0400 (EDT) |
planglois pushed a commit to branch master
in repository guix.
commit 92db0d39e2aa64be390e86172bd670d98e121c4b
Author: Pierre Langlois <pierre.langlois@gmx.com>
AuthorDate: Sun Sep 6 20:51:17 2020 +0100
gnu: Add node@10.22.
* gnu/packages/node.scm (node-10.22): New variable.
---
gnu/packages/node.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index bf0e009..f0b989b 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -25,6 +25,7 @@
(define-module (gnu packages node)
#:use-module ((guix licenses) #:select (expat))
+ #:use-module ((guix build utils) #:select (alist-replace))
#:use-module (guix packages)
#:use-module (guix derivations)
#:use-module (guix download)
@@ -200,6 +201,24 @@ devices.")
(properties '((max-silent-time . 7200) ;2h, needed on ARM
(timeout . 21600))))) ;6h
+;; TODO: Make this the default node on core-updates. This cannot be done on
+;; master since this version of node requires a newer nghttp2 library at link
+;; time.
+(define-public node-10.22
+ (package
+ (inherit node)
+ (version "10.22.0")
+ (source (origin
+ (inherit (package-source node))
+ (uri (string-append "https://nodejs.org/dist/v" version
+ "/node-v" version ".tar.xz"))
+ (sha256
+ (base32
+ "1nz18fa550li10r0kzsm28c2rvvq61nq8bqdygip0rmvbi2paxg0"))))
+ (inputs
+ (alist-replace "nghttp2" (list nghttp2-1.41 "lib")
+ (package-inputs node)))))
+
(define-public libnode
(package
(inherit node)