mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add node@10.22.
* gnu/packages/node.scm (node-10.22): New variable.
This commit is contained in:
parent
6b7cba0fa8
commit
92db0d39e2
1 changed files with 19 additions and 0 deletions
|
@ -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 @@ (define-public node
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue