summaryrefslogtreecommitdiff
path: root/gnu/packages/node.scm
AgeCommit message (Collapse)Author
2021-09-02gnu: node: Enable cross-compilation.Pierre Langlois
Node runs parts of itself on the host for bootstraping therefore for cross-compiling support we need to fidle with the rpath in the build system, as well as duplicating some of the dependencies as native-inputs and inputs. * gnu/pakcages/node.scm (node)[arguments]: Refer to /bin/sh and /bin/env directly instead of using (which). Add new 'set-bootstrap-host-rpath phase to correctly set the rpath for binaries that are meant to run on the host. Pass --cross-compiling and --dest-cpu to configure script if needed. Set the CC_host, CXX_host, CC, CCX and PKG_CONFIG variable for cross-compilation. Refer to the host python. Do not return #t from any phases. [native-inputs]: Add c-ares, http-parser, icu4c, libuv, nghttp2, openssl and zlib. Remove which. [inputs]: Add bash and coreutils. (llhttp-bootstrap)[arguments]: Refer to esbuild via (or native-inputs inputs). (node-lts)[arguments]: Add new 'set-bootstrap-host-rpath phase to correctly set the rpath for host binaries. Pass --cross-compiling and --dest-cpu to configure script if needed. Set the CC_host, CXX_host, CCX and PKG_CONFIG variable for cross-compilation. Refer to the host python. Do not return #t from any phases. Refer to /bin/sh and /bin/env directly instead of using (which). Do not return #t from any phases. [native-inputs]: Hardcode native inputs instead of inheriting them from node. [inputs]: Add bash and coreutils.
2021-06-16gnu: node: Prepare for ICU 69.Marius Bakke
* gnu/packages/node.scm (node)[source](snippet): Add substitution.
2021-04-02gnu: Add node-lts.Jelle Licht
* gnu/packages/node.scm (node-lts): New variable. * guix/build-system/node.scm (default-node): Use it.
2021-04-02gnu: Add llhttp-bootstrap.Jelle Licht
* gnu/packages/patches/llhttp-bootstrap-CVE-2020-8287.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/node.scm (llhttp-bootstrap): New variable.
2021-04-02gnu: Add node-llparse-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-llparse-bootstrap): New variable.
2021-04-02gnu: Add node-llparse-frontend-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-llparse-frontend-bootstrap): New variable.
2021-04-02gnu: Add node-llparse-builder-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-llparse-builder-bootstrap): New variable.
2021-04-02gnu: Add node-debug-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-debug-bootstrap): New variable.
2021-04-02gnu: Add node-binary-search-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-binary-search-bootstrap): New variable.
2021-04-02gnu: Add node-ms-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-ms-bootstrap): New variable.
2021-04-02gnu: Add node-semver-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-semver-bootstrap): New variable.
2021-04-02gnu: Add node-bootstrap.Jelle Licht
* gnu/packages/node (node-bootstrap): Add hidden alias for node.
2021-04-02gnu: node: Use license prefix.Jelle Licht
* gnu/packages/node.scm (node)[license]: Use prefix for license.
2021-03-17gnu: Use PACKAGE/INHERIT in more places.Mark H Weaver
* gnu/packages/algebra.scm (fftwf, fftw-openmpi), gnu/packages/audio.scm (ztoolkit-rsvg), gnu/packages/bioinformatics.scm (python2-dendropy), gnu/packages/boost.scm (boost-with-python2), gnu/packages/check.scm (python2-mock, python2-pytest-mock), gnu/packages/cups.scm (hplip-minimal), gnu/packages/freedesktop.scm (libinput-minimal), gnu/packages/gettext.scm (gnu-gettext), gnu/packages/glib.scm (python2-pygobject), gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi), gnu/packages/groff.scm (groff-minimal), gnu/packages/jami.scm (ffmpeg-jami), gnu/packages/libcanberra.scm (libcanberra/gtk+-2), gnu/packages/lirc.scm (python2-lirc), gnu/packages/llvm.scm (clang-runtime-3.5), gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple), gnu/packages/node.scm (libnode), gnu/packages/onc-rpc.scm (libtirpc/hurd), gnu/packages/python-compression.scm (bitshuffle-for-snappy), gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography) (python2-cryptography, python2-m2crypto), gnu/packages/python-web.scm (python2-html2text, python2-tornado) (python2-terminado, python2-ndg-httpsclient, python2-websocket-client) (python2-rauth, python2-url, python2-s3transfer), gnu/packages/python-xyz.scm (python2-psutil, python2-serpent) (python2-humanfriendly, python2-empy, python2-parse-type, python2-polib) (python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc) (python2-ipyparallel, python2-traitlets, python2-dbus) (python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse) (python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal) (python2-contextlib2, python2-promise, python2-anyjson, python2-amqp) (python2-kombu, python2-billiard, python2-celery, python2-whoosh) (python2-jellyfish, python-rope, ptpython-2, python2-binaryornot) (python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort) (python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash) (python2-cloudpickle, python2-reparser), gnu/packages/python.scm (python2-called-python), gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt) (python-qscintilla, python-pyqt+qscintilla), gnu/packages/scanner.scm (sane-backends), gnu/packages/sdl.scm (guile3.0-sdl2), gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc) (python-sepolgen, policycoreutils), gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack), gnu/packages/simulation.scm (fenics), gnu/packages/statistics.scm (python2-statsmodels), gnu/packages/texinfo.scm (info-reader), gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1), gnu/packages/xml.scm (xmlsec-nss), gnu/packages/xorg.scm (uim-gtk, uim-qt), guix/build-system/python.scm (package-with-explicit-python) (strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-01gnu: node: Update to 10.24.0 [security fixes].Léo Le Bouter
* gnu/packages/node.scm (node): Update to 10.24.0.
2021-02-24gnu: node: Update to 10.23.3.Jelle Licht
* gnu/packages/node.scm (node): Update to 10.23.3.
2021-01-25Merge branch 'master' into stagingLeo Famulari
2021-01-20gnu: libnode: Fix regression in unused phases.zimoun
Fixes regression introduced with commit 1d77141f6d5004cf10d1f9ead53855f25a973847. Reported by Pierre-Antoine Bouttier <pierre-antoine.bouttier@univ-grenoble-alpes.fr>. * gnu/packages/node.scm (libnode)[arguments]: Delete phase "patch-node-shebang". Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-12-29Merge branch 'master' into ungraftingMarius Bakke
2020-12-29gnu: node: Fix npx shebang.Ricardo Wurmus
* gnu/packages/node.scm (node)[arguments]: Add build phase "patch-node-shebang".
2020-12-08gnu: node: Update to 10.22.1.Marius Bakke
This follows up on 3eb34c66b42d1fa520a374e9b35a6ce7bd1e8987 which left an unbound "nghttp2-1.41" variable. * gnu/packages/node.scm (node): Update to 10.22.1. (node-10.22): Remove variable. * gnu/packages/gnuzilla.scm (icecat)[native-inputs]: Change from NODE-10.22 to NODE. (icedove)[native-inputs]: Likewise.
2020-11-17gnu: node@10.22: Update to 10.22.1.Jonathan Brielmaier
* gnu/packages/node.scm (node-10.22): Update to 10.22.1.
2020-09-06gnu: Add node@10.22.Pierre Langlois
* gnu/packages/node.scm (node-10.22): New variable.
2020-09-06gnu: node: Downgrade to 10.20.0.Pierre Langlois
Fixes <https://issues.guix.gnu.org/43228>. * gnu/packages/node.scm (node): Downgrade to 10.22.0. [inputs]: Downgrade nghttp2 to 1.40.
2020-09-04gnu: node: Update 10.22.0.Pierre Langlois
* gnu/packages/node.scm (node): Update to 10.22.0. [inputs]: Replace nghttp2 with nghttp2-1.41.
2020-06-13gnu: libnode: Delete unused phase.Ricardo Wurmus
This is a follow-up to commit bb310a1976198eacdc67e0712e19735cd656b21d. * gnu/packages/node.scm (libnode)[arguments]: Delete phase "patch-npm-shebang".
2020-06-13Revert "gnu: node: Build shared library."Ricardo Wurmus
This reverts commit f9311eaa7cb7849e9b17162c93b874c74d8fcbbd. Adding "--shared" replaces the executable with the shared library, breaking all users of the nodejs executable.
2020-06-13gnu: Add libnode.Ricardo Wurmus
* gnu/packages/node.scm (libnode): New variable.
2020-06-13gnu: node: Build shared library.Ricardo Wurmus
* gnu/packages/node.scm (node)[arguments]: Build shared library.
2020-03-04Merge branch 'master' into core-updatesMarius Bakke
2020-02-26gnu: node: Disable failing tests on armhf-linux.Marius Bakke
* gnu/packages/node.scm (node)[arguments]: When building on armhf-linux, disable several zlib tests.
2020-02-26gnu: node: Update to 10.19.0.Marius Bakke
* gnu/packages/node.scm (node): Update to 10.19.0. [inputs]: Remove LIBUV and NGHTTP2:LIB. Add LIBUV/LATEST and NGHTTP2-1.40:LIB.
2020-02-24gnu: node: Increase build timeouts.Marius Bakke
* gnu/packages/node.scm (node)[properties]: Add MAX-SILENT-TIME. Increase TIMEOUT from 3600 seconds to 14400.
2020-02-14Merge branch 'master' into core-updatesMarius Bakke
2020-02-10gnu: node: Disable flaky test.Marius Bakke
* gnu/packages/node.scm (node)[arguments]: Delete test that fails sporadically.
2019-12-05gnu: node: Update to 10.17.0.Marius Bakke
* gnu/packages/node.scm (node): Update to 10.17.0.
2019-09-24Merge branch 'master' into core-updatesLudovic Courtès
2019-09-20gnu: node: Disable tests that fail with openssl@1.1.1d.Tobias Geerinckx-Rice
Work around <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37386>. * gnu/packages/node.scm (node)[arguments]: Disable failing tests.
2019-07-13gnu: node: Update to 10.16.0.Marius Bakke
* gnu/packages/node.scm (node): Update to 10.16.0. [arguments]: Enable previously failing tests. Disable 'sequential/test-performance.js' and 'parallel/test-dns.js'.
2019-06-13Merge branch 'master' into core-updatesLudovic Courtès
2019-05-26gnu: node: Update to 10.15.3.Marius Bakke
* gnu/packages/libevent.scm (libuv-1.19): Remove variable. * gnu/packages/node.scm (node): Update to 10.15.3. [source]: Use XZ-compressed tarball. [arguments]: Add #:test-target. Use DELETE-FILE instead of DELETE-IF-EXISTS. Remove obsolete test deletions. [inputs]: Change OPENSSL to OPENSSL-NEXT. Change LIBUV-1.19 to LIBUV. (node-lts): Remove variable.
2019-03-10gnu: Use OpenSSL 1.1 as the default OpenSSL package.Marius Bakke
* gnu/packages/tls.scm (openssl-next): Delete variable. Move related code ... (openssl) ... here. (openssl-1.0): New public variable. Retain old arguments. * gnu/packages/crypto.scm (asignify)[inputs]: Change OPENSSL-NEXT to OPENSSL. * gnu/packages/databases.scm (mariadb)[inputs]: Change from OPENSSL to OPENSSL-1.0. * gnu/packages/node.scm (node)[inputs]: Likewise. * gnu/packages/rust.scm (rust-1.19)[inputs]: Likewise.
2018-09-26gnu: node: Build against libuv@1.19.Marius Bakke
* gnu/packages/libevent.scm (libuv-1.19): New public variable. * gnu/packages/node.scm (node)[inputs]: Change LIBUV to LIBUV-1.19.
2018-09-26gnu: Add Node LTS.Marius Bakke
* gnu/packages/node.scm (node)[arguments]: Adjust 'patch-files' phase to ignore missing files. (node-lts): New public variable.
2018-09-26gnu: node: Delete expired tests.Marius Bakke
* gnu/packages/node.scm (node)[arguments]: Delete tests for which the TLS certificates have expired.
2018-06-26gnu: Use HTTPS for nodejs.org.Tobias Geerinckx-Rice
* gnu/packages/node.scm (node)[source, home-page]: Use HTTPS.
2018-06-26gnu: node: Return #t from all phases.Tobias Geerinckx-Rice
* gnu/packages/node.scm (node)[arguments]: Substitute INVOKE for SYSTEM*.
2018-04-30Merge branch 'master' into core-updatesMark H Weaver
2018-04-24gnu: node: Update to 9.11.1.Jelle Licht
* gnu/packages/node.scm (node): Update to 9.11.1.
2018-03-29Merge branch 'master' into core-updatesMarius Bakke