mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: node: Simplify inputs.
* gnu/packages/node.scm (node)[native-inputs]: Remove labels. [source]: Remove trailing #t.
This commit is contained in:
parent
ebc097699c
commit
36057bfb78
1 changed files with 19 additions and 19 deletions
|
@ -68,7 +68,7 @@ (define-public node
|
||||||
"032801kg24j04xmf09m0vxzlcz86sv21s24lv9l4cfv08k1c4byp"))
|
"032801kg24j04xmf09m0vxzlcz86sv21s24lv9l4cfv08k1c4byp"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
`(begin
|
'(begin
|
||||||
;; Patch for compatibility with ICU 68 and newer, which
|
;; Patch for compatibility with ICU 68 and newer, which
|
||||||
;; removed the public TRUE and FALSE macros.
|
;; removed the public TRUE and FALSE macros.
|
||||||
(substitute* '("deps/v8/src/objects/intl-objects.cc"
|
(substitute* '("deps/v8/src/objects/intl-objects.cc"
|
||||||
|
@ -90,8 +90,7 @@ (define-public node
|
||||||
(("deps/http_parser/http_parser.gyp") "")
|
(("deps/http_parser/http_parser.gyp") "")
|
||||||
(("deps/uv/include/\\*.h") "")
|
(("deps/uv/include/\\*.h") "")
|
||||||
(("deps/uv/uv.gyp") "")
|
(("deps/uv/uv.gyp") "")
|
||||||
(("deps/zlib/zlib.gyp") ""))
|
(("deps/zlib/zlib.gyp") ""))))))
|
||||||
#t))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--shared-cares"
|
`(#:configure-flags '("--shared-cares"
|
||||||
|
@ -284,20 +283,20 @@ (define-public node
|
||||||
;; download them from the internet:
|
;; download them from the internet:
|
||||||
(format #t "nodedir=~a\n" out)))))))))
|
(format #t "nodedir=~a\n" out)))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(;; Runtime dependencies for binaries used as a bootstrap.
|
;; Runtime dependencies for binaries used as a bootstrap.
|
||||||
("c-ares" ,c-ares)
|
(list c-ares
|
||||||
("http-parser" ,http-parser)
|
http-parser
|
||||||
("icu4c" ,icu4c)
|
icu4c
|
||||||
("libuv" ,libuv)
|
libuv
|
||||||
("nghttp2" ,nghttp2 "lib")
|
`(,nghttp2 "lib")
|
||||||
("openssl" ,openssl)
|
openssl
|
||||||
("zlib" ,zlib)
|
zlib
|
||||||
;; Regular build-time dependencies.
|
;; Regular build-time dependencies.
|
||||||
("perl" ,perl)
|
perl
|
||||||
("pkg-config" ,pkg-config)
|
pkg-config
|
||||||
("procps" ,procps)
|
procps
|
||||||
("python" ,python-2)
|
python-2
|
||||||
("util-linux" ,util-linux)))
|
util-linux))
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "NODE_PATH")
|
(variable "NODE_PATH")
|
||||||
|
@ -311,10 +310,11 @@ (define-public node
|
||||||
libuv
|
libuv
|
||||||
`(,nghttp2 "lib")
|
`(,nghttp2 "lib")
|
||||||
openssl
|
openssl
|
||||||
python-wrapper ;; for node-gyp (supports python3)
|
python-wrapper ;for node-gyp (supports python3)
|
||||||
zlib))
|
zlib))
|
||||||
(synopsis "Evented I/O for V8 JavaScript")
|
(synopsis "Evented I/O for V8 JavaScript")
|
||||||
(description "Node.js is a platform built on Chrome's JavaScript runtime
|
(description
|
||||||
|
"Node.js is a platform built on Chrome's JavaScript runtime
|
||||||
for easily building fast, scalable network applications. Node.js uses an
|
for easily building fast, scalable network applications. Node.js uses an
|
||||||
event-driven, non-blocking I/O model that makes it lightweight and efficient,
|
event-driven, non-blocking I/O model that makes it lightweight and efficient,
|
||||||
perfect for data-intensive real-time applications that run across distributed
|
perfect for data-intensive real-time applications that run across distributed
|
||||||
|
|
Loading…
Reference in a new issue