Subject: [PATCH] gnu: node: Update to 8.2.1.

From: Jelle Licht <[email-masked]>
Date: Thu, 27 Jul 2017 17:33:05 +0200

It seems the node devs do not expect packagers to run `make check':
https://github.com/nodejs/node/issues/14513

Anyway, attached you will find a patch which updates node to its latest
released version while still allowing use to run most of the included test
suite.

At some point in time someone could look into getting node to build
reproducibly. Who knows, it might even be me ;-).

- Jelle
From f88297638a82858dff61176f646cdc4ddca748cf Mon Sep 17 00:00:00 2001
From: Jelle Licht <[email-masked]>
Date: Thu, 27 Jul 2017 17:11:08 +0200
Subject: [PATCH] gnu: node: Update to 8.2.1.

* gnu/packages/node.scm (node): Update to 8.2.1.
(node)[arguments]: Removed broken linter test.
---
 gnu/packages/node.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 2cebabbca..4892bc9f0 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -40,14 +40,14 @@
 (define-public node
   (package
     (name "node")
-    (version "8.1.2")
+    (version "8.2.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "http://nodejs.org/dist/v" version
                                   "/node-v" version ".tar.gz"))
               (sha256
                (base32
-                "0l92gar1pivzaiwffiiiz2f2m5k39sl5fphlfnvy0ml9hrjb65yp"))
+                "0gwp65mls420x64jk3bkx7xdq75zjnv5mi5mqqb9mbvxpiwi7zk6"))
               ;; https://github.com/nodejs/node/pull/9077
               (patches (search-patches "node-9077.patch"))))
     (build-system gnu-build-system)
@@ -78,10 +78,9 @@
                (("'/usr/bin/env'")
                 (string-append "'" (which "env") "'")))
 
-             ;; Having the build fail because of linter errors is insane!
+             ;; Linting is no longer supported in the release tarball
              (substitute* '("Makefile")
-               (("	\\$\\(MAKE\\) jslint") "")
-               (("	\\$\\(MAKE\\) cpplint\n") ""))
+               (("	\\$\\(MAKE\\) lint") ""))
 
              ;; FIXME: This test seems to depends on files that are not
              ;; available in the bundled v8. See
-- 
2.13.3