summaryrefslogtreecommitdiff
path: root/gnu/packages/node.scm
AgeCommit message (Expand)Author
2023-03-22gnu: node-lts: Remove dependency on python-wrapper....This also reduces the closure size of node-lts from 255 MiB to 172 MiB (on x86_64-linux). * gnu/packages/node.scm (node-lts)[inputs]: Remove PYTHON-WRAPPER. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Jelle Licht
2022-12-30gnu: node: Add case for cross-building to riscv64-linux....* gnu/packages/node.scm (node)[arguments]: Adjust custom 'configure phase to specify the correct architecture when cross-compiling to riscv64-linux. Efraim Flashner
2022-08-30gnu: Introduce versioned 'openssl-1.1' variable.......and use it in packages that do not yet support 3.0. * gnu/packages/tls.scm (openssl): Rename to ... (openssl-1.1): ... this. (openssl/fixed): Inherit from OPENSSL-1.1. (openssl-3.0): Likewise. (openssl): Turn into alias for OPENSSL-1.1. * gnu/packages/ruby.scm (ruby-2.6)[inputs]: Change from OPENSSL to OPENSSL-1.1. (ruby-3.0)[inputs]: Change "openssl" input to OPENSSL. (ruby-3.1): Inherit from RUBY-3.0. * gnu/packages/python.scm (python-2.7)[inputs]: Change from OPENSSL to OPENSSL-1.1. (python-3.9)[inputs]: Replace "openssl" with OPENSSL. * gnu/packages/python-crypto.scm (python-cryptography)[inputs]: Change from OPENSSL to OPENSSL-1.1. * gnu/packages/databases.scm (mariadb)[inputs]: Likewise. * gnu/packages/node.scm (node)[native-inputs, inputs]: Likewise. (node-lts)[native-inputs]: Likewise. Marius Bakke
2022-08-02gnu: node-lts: Build with icu4c-71....* gnu/packages/node.scm (node-lts)[inputs]: Replace icu4c-70 with icu4c-71. [native-inputs]: Same. Efraim Flashner
2022-06-06gnu: node: Fix cross-compilation....* gnu/packages/node.scm (node)[phases]{configure}: Unwind the stack before invoking the exception handler. {patch-hardcoded-program-references}: Use search-input-file where appropriate. Jelle Licht
2022-06-06gnu: node-lts: Update to 14.19.3....* gnu/packages/node.scm (node-lts): Update to 14.19.3. [arguments]: Disable test that requires networking. [native-inputs]: Replace icu4c-67 with icu4c-70. [inputs]: Replace icu4c-67 with icu4c-70. Jelle Licht
2022-01-13gnu: node-lts: Update to 14.18.3 [security fixes]....* gnu/packages/node.scm (node-lts): Update to 14.18.3. Includes fixes for CVE-2021-44531, CVE-2021-44532, CVE-2021-44533, and CVE-2022-21824. Jelle Licht
2022-01-11gnu: node: Simplify inputs....* gnu/packages/node.scm (node)[native-inputs]: Remove labels. [source]: Remove trailing #t. Marius Bakke
2022-01-11gnu: node: Disable flaky test....* gnu/packages/node.scm (node, node-lts)[arguments]: Delete flaky test. Marius Bakke
2022-01-09gnu: node-llparse-bootstrap: Use 'delete-dependencies'....gnu/packages/node.scm (node-llparse-bootstrap)[arguments]: Use 'delete-dependencies'. Stop deleting the 'configure' phase. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2022-01-09gnu: node-llparse-frontend-bootstrap: Use 'delete-dependencies'....gnu/packages/node.scm (node-llparse-frontend-bootstrap)[arguments]: Use 'delete-dependencies'. Stop deleting the 'configure' phase. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2022-01-09gnu: node-llparse-builder-bootstrap: Use 'delete-dependencies'....gnu/packages/node.scm (node-llparse-builder-bootstrap)[arguments]: Use 'delete-dependencies'. Stop deleting the 'configure' phase. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2022-01-09gnu: node-debug-bootstrap: Use 'delete-dependencies'....gnu/packages/node.scm (node-debug-bootstrap)[arguments]: Use 'delete-dependencies'. Stop deleting the 'configure' phase. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2022-01-09gnu: node-binary-search-bootstrap: Use 'delete-dependencies'....gnu/packages/node.scm (node-binary-search-bootstrap)[arguments]: Use 'delete-dependencies'. Stop deleting the 'configure' phase. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2022-01-09gnu: node-ms-bootstrap: Use 'delete-dependencies'....gnu/packages/node.scm (node-ms-bootstrap)[arguments]: Use 'delete-dependencies'. Stop deleting the 'configure' phase. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2022-01-09gnu: node-semver-bootstrap: Use 'delete-dependencies'....gnu/packages/node.scm (node-semver-bootstrap)[arguments]: Use 'delete-dependencies'. Stop deleting the 'configure' phase. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2021-12-24gnu: node: Add an npmrc file to set nodedir....* gnu/packages/node.scm (node, node-lts)[arguments]: Add a phase 'install-npmrc to create a "built-in" npmrc file that configures "nodedir" to point to the output store path. (libnode)[arguments]: Delete the 'install-npmrc phase. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2021-12-24gnu: node: Patch shebangs in node_modules....* gnu/packages/node.scm (node)[arguments]: Replace 'patch-npm-shebang and 'patch-node-shebang with a new 'patch-nested-shebangs that also handles node-gyp and other shebangs under "/lib/node_modules". [inputs]: Add Python for node-gyp as "python-for-target". (node-lts)[inputs]: Likewise. (libnode)[arguments]: Adjust to delete 'patch-nested-shebangs rather than 'patch-npm-shebang and 'patch-node-shebang. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2021-12-24gnu: node: Update to 10.24.1 for bootstrapping....* gnu/packages/node.scm (node): Update to 10.24.1. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2021-12-24gnu: node: Avoid duplicating build phases....* gnu/packages/node.scm (node)[arguments]: Split 'patch-files phase into 'patch-hardcoded-program-references and 'delete-problematic-tests. Adapt 'patch-hardcoded-program-references and 'configure to work unmodified on node-lts, but don't try to share 'delete-problematic-tests, because those details seem to change too much between node versions. (node, node-lts)[inputs]: Use bash-minimal rather than bash. (node-lts)[arguments]: Inherit 'patch-hardcoded-program-references, and 'configure phases from the bootstrap node. Remove the 'patch-files phase, keeping its remaining non-inherited work in a new 'replace-llhttp-sources phase. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Philip McGrath
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-11-17Merge branch 'master' into core-updates-frozenLudovic Courtès
2021-11-15gnu: node-lts: Update to 14.18.1 [security fixes]....* gnu/packages/node.scm (node-lts): Update to 14.18.1. [native-inputs]: Replace c-ares with c-ares-for-node. [inputs]: Replace c-ares with c-ares-for-node. Includes fixes for CVE-2021-22918, CVE-2021-22930, CVE-2021-22931, CVE-2021-22939, and CVE-2021-22940. Jelle Licht
2021-11-15gnu: llhttp-bootstrap: Update to 2.1.4 [security-fixes]....* gnu/packages/node.scm (llhttp-bootstrap): Update to 2.1.4. Includes fixes for CVE-2021-22959 and CVE-2021-22960. Jelle Licht
2021-11-15gnu: node: Add cpe-name....* gnu/packages/node.scm (node)[properties]: Add cpe-name. Jelle Licht
2021-10-14Merge branch 'master' into core-updates-frozenMarius Bakke
2021-10-13gnu: Rename google-brotli back to brotli....Sorry for the noise, but good riddance. Our nonstandard name for this package has caused confusion since it was added. For example, the duplicate python-brotli and python-google-brotli packages added later, with the latter name making even less sense. The Python packages will be fixed in the next commit. * gnu/packages/compression.scm (google-brotli): Redefine as a deprecated-package, with… (brotli): …restored to canonical status. (python-google-brotli)[inherit]: Adjust accordingly. * gnu/packages/databases.scm (apache-arrow)[inputs]: Adjust accordingly. * gnu/packages/fontutils.scm (woff2)[inputs]: Likewise. * gnu/packages/gnome.scm (libsoup)[propagated-inputs]: Likewise. * gnu/packages/networking (wireshark)[inputs]: Likewise. * gnu/packages/node.scm (node-lts)[arguments, native-inputs]: Likewise. * gnu/packages/python-xyz.scm (python-imagecodecs)[inputs]: Likewise. Tobias Geerinckx-Rice
2021-10-10gnu: llhttp: Fix build....* gnu/packages/node.scm (llhttp-bootstrap)[arguments]: Add missing keyword argument to 'configure' phase. Guillaume Le Vaillant
2021-09-07Merge branch 'master' into core-updates-frozenLudovic Courtès
2021-09-02gnu: node: Enable cross-compilation....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. Pierre Langlois
2021-07-24gnu: Use 'search-input-file' when looking for executables....* gnu/packages/admin.scm (isc-dhcp): Use 'search-input-file' when looking for executables. * gnu/packages/audio.scm (ableton-link): Likewise. * gnu/packages/benchmark.scm (fio): Likewise. * gnu/packages/bioinformatics.scm (roary): Likewise. (ngless): Likewise. * gnu/packages/boost.scm (boost-for-irods): Likewise. * gnu/packages/bootloaders.scm (grub): Likewise. (grub-efi): Likewise. * gnu/packages/chemistry.scm (inchi): Likewise. * gnu/packages/dictionaries.scm (ding): Likewise. * gnu/packages/dlang.scm (ldc): Likewise. * gnu/packages/education.scm (childsplay): Likewise. * gnu/packages/emacs-xyz.scm (emacs-hyperbole): Likewise. (emacs-haskell-mode): Likewise. (emacs-auctex): Likewise. (emacs-ggtags): Likewise. (emacs-graphviz-dot-mode): Likewise. (emacs-flycheck-grammalecte): Likewise. (emacs-counsel-notmuch): Likewise. (emacspeak): Likewise. (emacs-exwm): Likewise. (emacs-exwm-x): Likewise. (emacs-treemacs): Likewise. (emacs-telega): Likewise. (emacs-exiftool): Likewise. * gnu/packages/emulators.scm (higan): Likewise. * gnu/packages/engineering.scm (freehdl): Likewise. (librepcb): Likewise. * gnu/packages/entr.scm (entr): Likewise. * gnu/packages/file-systems.scm (libeatmydata): Likewise. (xfstests): Likewise. (mergerfs): Likewise. (mergerfs-tools): Likewise. * gnu/packages/finance.scm (monero-gui): Likewise. * gnu/packages/flashing-tools.scm (flashrom): Likewise. * gnu/packages/fontutils.scm (fontforge): Likewise. * gnu/packages/game-development.scm (python2-renpy): Likewise. * gnu/packages/games.scm (opensurge): Likewise. (xboard): Likewise. (hyperrogue): Likewise. (flare-game): Likewise. (chessx): Likewise. * gnu/packages/geo.scm (grass): Likewise. * gnu/packages/glib.scm (glib): Likewise. * gnu/packages/gnome.scm (mm-common): Likewise. (network-manager-openvpn): Likewise. (network-manager-vpnc): Likewise. (network-manager-openconnect): Likewise. (apostrophe): Likewise. * gnu/packages/gnupg.scm (pius): Likewise. (jetring): Likewise. * gnu/packages/gnuzilla.scm (icedove): Likewise. * gnu/packages/golang.scm (go-1.4): Likewise. * gnu/packages/graphviz.scm (xdot): Likewise. * gnu/packages/guile-xyz.scm (jupyter-guile-kernel): Likewise. * gnu/packages/haskell-xyz.scm (ghc-hindent): Likewise. * gnu/packages/ibus.scm (ibus): Likewise. * gnu/packages/image.scm (phockup): Likewise. * gnu/packages/irc.scm (quassel): Likewise. * gnu/packages/java.scm (drip): Likewise. (ant-bootstrap): Likewise. (tla2tools): Likewise. * gnu/packages/julia.scm (julia): Likewise. * gnu/packages/less.scm (lesspipe): Likewise. * gnu/packages/libreoffice.scm (libreoffice): Likewise. * gnu/packages/linux.scm (fuse): Likewise. (lm-sensors): Likewise. (bluez): Likewise. (fakeroot): Likewise. (inputattach): Likewise. * gnu/packages/lisp-xyz.scm (sbcl-cl-diskspace): Likewise. * gnu/packages/lisp.scm (lisp-repl-core-dumper): Likewise. * gnu/packages/lua.scm (fennel): Likewise. * gnu/packages/lxde.scm (spacefm): Likewise. * gnu/packages/mail.scm (public-inbox): Likewise. * gnu/packages/maths.scm (hdf-java): Likewise. (maxima): Likewise. (frama-c): Likewise. * gnu/packages/messaging.scm (libgadu): Likewise. * gnu/packages/music.scm (denemo): Likewise. (curseradio): Likewise. * gnu/packages/netpbm.scm (netpbm): Likewise. * gnu/packages/networking.scm (blueman): Likewise. (squid): Likewise. (aircrack-ng): Likewise. * gnu/packages/node.scm (node): Likewise. (node-llparse-frontend-bootstrap): Likewise. (node-llparse-bootstrap): Likewise. (llhttp-bootstrap): Likewise. (node-lts): Likewise. * gnu/packages/ocaml.scm (ocaml-4.11): Likewise. (opam): Likewise. (ocaml-graph): Likewise. * gnu/packages/orpheus.scm (orpheus): Likewise. * gnu/packages/password-utils.scm (password-store): Likewise. * gnu/packages/python.scm (pypy3): Likewise. * gnu/packages/qt.scm (qt5ct): Likewise. * gnu/packages/radio.scm (libosmo-dsp): Likewise. * gnu/packages/ruby.scm (ruby-pandoc-ruby): Likewise. * gnu/packages/rust.scm (rust-1.30): Likewise. * gnu/packages/screen.scm (byobu): Likewise. * gnu/packages/statistics.scm (r-with-tests): Likewise. * gnu/packages/suckless.scm (surf): Likewise. * gnu/packages/syndication.scm (gfeeds): Likewise. * gnu/packages/telephony.scm (mumble): Likewise. * gnu/packages/terminals.scm (alacritty): Likewise. * gnu/packages/tex.scm (texlive-bin): Likewise. * gnu/packages/uml.scm (plantuml): Likewise. * gnu/packages/version-control.scm (python-git-multimail): Likewise. (gitolite): Likewise. (hg-commitsigs): Likewise. (git-when-merged): Likewise. (git-imerge): Likewise. (gita): Likewise. * gnu/packages/video.scm (you-get): Likewise. * gnu/packages/vim.scm (eovim): Likewise. * gnu/packages/virtualization.scm (qemu): Likewise. (virt-manager): Likewise. (criu): Likewise. * gnu/packages/vpn.scm (strongswan): Likewise. (xl2tpd): Likewise. * gnu/packages/wm.scm (i3lock-fancy): Likewise. * gnu/packages/wxwidgets.scm (python-wxpython): Likewise. (python2-wxpython): Likewise. * gnu/packages/xdisorg.scm (autorandr): Likewise. * gnu/packages/xorg.scm (hackneyed-x11-cursors): Likewise. (v86d): Likewise. (mkfontdir): Likewise. (xpra): Likewise. Ludovic Courtès
2021-06-16gnu: node: Prepare for ICU 69....* gnu/packages/node.scm (node)[source](snippet): Add substitution. Marius Bakke
2021-04-02gnu: Add node-lts....* gnu/packages/node.scm (node-lts): New variable. * guix/build-system/node.scm (default-node): Use it. Jelle Licht
2021-04-02gnu: Add llhttp-bootstrap....* 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. Jelle Licht
2021-04-02gnu: Add node-llparse-bootstrap....* gnu/packages/node.scm (node-llparse-bootstrap): New variable. Jelle Licht
2021-04-02gnu: Add node-llparse-frontend-bootstrap....* gnu/packages/node.scm (node-llparse-frontend-bootstrap): New variable. Jelle Licht
2021-04-02gnu: Add node-llparse-builder-bootstrap....* gnu/packages/node.scm (node-llparse-builder-bootstrap): New variable. Jelle Licht
2021-04-02gnu: Add node-debug-bootstrap....* gnu/packages/node.scm (node-debug-bootstrap): New variable. Jelle Licht
2021-04-02gnu: Add node-binary-search-bootstrap....* gnu/packages/node.scm (node-binary-search-bootstrap): New variable. Jelle Licht
2021-04-02gnu: Add node-ms-bootstrap....* gnu/packages/node.scm (node-ms-bootstrap): New variable. Jelle Licht
2021-04-02gnu: Add node-semver-bootstrap....* gnu/packages/node.scm (node-semver-bootstrap): New variable. Jelle Licht
2021-04-02gnu: Add node-bootstrap....* gnu/packages/node (node-bootstrap): Add hidden alias for node. Jelle Licht
2021-04-02gnu: node: Use license prefix....* gnu/packages/node.scm (node)[license]: Use prefix for license. Jelle Licht
2021-03-17gnu: Use PACKAGE/INHERIT in more places....* 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. Mark H Weaver
2021-03-01gnu: node: Update to 10.24.0 [security fixes]....* gnu/packages/node.scm (node): Update to 10.24.0. Léo Le Bouter
2021-02-24gnu: node: Update to 10.23.3....* gnu/packages/node.scm (node): Update to 10.23.3. Jelle Licht
2021-01-25Merge branch 'master' into stagingLeo Famulari
2021-01-20gnu: libnode: Fix regression in unused phases....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> zimoun
2020-12-29Merge branch 'master' into ungraftingMarius Bakke
2020-12-29gnu: node: Fix npx shebang....* gnu/packages/node.scm (node)[arguments]: Add build phase "patch-node-shebang". Ricardo Wurmus