gnu: node: Update to 7.8.0.

* gnu/packages/node.scm (node): Update to 7.8.0.
[properties]: Add timeout of 1 h.
This commit is contained in:
Jelle Licht 2017-04-17 14:55:16 +02:00 committed by Danny Milosavljevic
parent 9b9cc951bd
commit 3759deaba1
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -38,14 +38,14 @@ (define-module (gnu packages node)
(define-public node
(package
(name "node")
(version "6.8.0")
(version "7.8.0")
(source (origin
(method url-fetch)
(uri (string-append "http://nodejs.org/dist/v" version
"/node-v" version ".tar.gz"))
(sha256
(base32
"0lj3250hglz4w5ic4svd7wlg2r3qc49hnasvbva1v69l8yvx98m8"))
"1nkngdjbsm81nn3v0w0c2aqx9nb7mwy3z49ynq4wwcrzfr9ap8ka"))
;; https://github.com/nodejs/node/pull/9077
(patches (search-patches "node-9077.patch"))))
(build-system gnu-build-system)
@ -62,6 +62,7 @@ (define-public node
;; Fix hardcoded /bin/sh references.
(substitute* '("lib/child_process.js"
"lib/internal/v8_prof_polyfill.js"
"test/parallel/test-child-process-spawnsync-shell.js"
"test/parallel/test-stdio-closed.js")
(("'/bin/sh'")
(string-append "'" (which "sh") "'")))
@ -130,4 +131,5 @@ (define-public node
perfect for data-intensive real-time applications that run across distributed
devices.")
(home-page "http://nodejs.org/")
(license expat)))
(license expat)
(properties '((timeout . 216000)))))