[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: node: Build against address@hidden
From: |
Marius Bakke |
Subject: |
02/02: gnu: node: Build against address@hidden |
Date: |
Tue, 25 Sep 2018 19:35:10 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit ffec356a29a58d97ec34e1152aa3136e78471dc6
Author: Marius Bakke <address@hidden>
Date: Sun Sep 23 14:45:34 2018 +0200
gnu: node: Build against address@hidden
* gnu/packages/libevent.scm (libuv-1.19): New public variable.
* gnu/packages/node.scm (node)[inputs]: Change LIBUV to LIBUV-1.19.
---
gnu/packages/libevent.scm | 13 +++++++++++++
gnu/packages/node.scm | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm
index bc7f6c6..2de2970 100644
--- a/gnu/packages/libevent.scm
+++ b/gnu/packages/libevent.scm
@@ -152,6 +152,19 @@ resolution, asynchronous file system operations, and
threading primitives.")
;; details. Documentation is CC-BY 4.0 as of 1.12.0; see 'LICENSE-docs'.
(license (list expat cc-by4.0))))
+;; This version is required for Node versions < 10.
+(define-public libuv-1.19
+ (package
+ (inherit libuv)
+ (version "1.19.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://dist.libuv.org/dist/v" version
+ "/libuv-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1msk9ac1z69whww88ibrwjqkd1apdla6l77cm2fwy5kigq0z5g3w"))))))
+
(define-public perl-anyevent
(package
(name "perl-anyevent")
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index b525804..a022160 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -184,7 +184,7 @@
`(("c-ares" ,c-ares)
("http-parser" ,http-parser)
("icu4c" ,icu4c)
- ("libuv" ,libuv)
+ ("libuv" ,libuv-1.19)
("nghttp2" ,nghttp2 "lib")
("openssl" ,openssl)
("zlib" ,zlib)))