gnu: Add libuv-node

* gnu/packages/libevent.scm (libuv-node): New variable.
This commit is contained in:
Jelle Licht 2020-10-23 22:20:30 +02:00
parent d0433fd5ed
commit 9498ef001f
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -133,6 +133,22 @@ (define-public libuv
;; 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")