guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/13: gnu: Add libuv-node


From: guix-commits
Subject: 02/13: gnu: Add libuv-node
Date: Fri, 23 Oct 2020 18:14:44 -0400 (EDT)

jlicht pushed a commit to branch wip-node-14
in repository guix.

commit 3424129bc10f171729178c3ee741c67224901e4b
Author: Jelle Licht <jlicht@fsfe.org>
AuthorDate: Fri Oct 23 22:20:30 2020 +0200

    gnu: Add libuv-node
    
    * gnu/packages/libevent.scm (libuv-node): New variable.
---
 gnu/packages/libevent.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm
index dab574a..dfbf706 100644
--- a/gnu/packages/libevent.scm
+++ b/gnu/packages/libevent.scm
@@ -133,6 +133,22 @@ 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))))
 
+(define-public libuv-node
+  ;; When upgrading Node, also upgrade this. Get the version from
+  ;; https://github.com/nodejs/node/blob/master/deps/uv/include/uv/version.h
+  (package
+    (inherit libuv)
+    (name "libuv-node")
+    (version "1.40.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://dist.libuv.org/dist/v"; version
+                                  "/libuv-v" version ".tar.gz"))
+              (sha256
+               (base32
+                "1551k3ab27vbg9517l9b4iqbramwxdkwgpf53knas05cbfwhvab1"))))))
+
+
 (define-public perl-anyevent
   (package
     (name "perl-anyevent")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]