1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 14:55:55 +02:00
Commit Graph

68264 Commits

Author SHA1 Message Date
Ludovic Courtès 4d0d6d8626 services: ipfs: Tweak description.
* gnu/services/networking.scm (ipfs-service-type)[description]: Avoid
abbreviation.
2021-04-12 18:44:09 +02:00
Maxime Devos 68c9e0a56e gnu: tests: Test basic funtionality of the IPFS service.
It is tested whether the IPFS service listens
at the gateway and API ports and whether it
is possible to upload and download a bytevector.

* gnu/tests/networking.scm
  (%ipfs-os): New variable.
  (run-ipfs-test): New procedure.
  (%test-ipfs): New system test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 18:42:23 +02:00
Maxime Devos 3332f4365b tests: Support package extensions in the backdoor REPL.
* gnu/tests.scm
  (<marionette-configuration>): Add 'extensions' field.
  (marionette-shepherd-service): Honour the field.
  (with-import-modules-and-extensions): Define a combination
  of 'with-import-modules' and 'with-extensions'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 18:42:22 +02:00
Maxime Devos 2978832b92 services: Add ipfs-service-type
* gnu/services/networking.scm (ipfs-service-type)
  (%ipfs-home-mapping, %ipfs-environment)
  (%ipfs-accounts, %ipfs-home): New variables.
  (ipfs-configuration, ipfs-configuration?)
  (ipfs-configuration-package, ipfs-configuration-gateway)
  (ipfs-configuration-api, ipfs-shepherd-service)
  (ipfs-binary, %ipfs-activation): New procedures.
* doc/guix.texi (Networking Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 18:42:22 +02:00
Philip McGrath 834aa48504 gnu: racket: Don't inject store paths into Racket files.
Apparently, during grafting, Guix can somehow mangle compiled
Racket CS files (.zo) such that Racket will refuse to load them.
(Maybe it has something to do with compression?)
So, we stop patching Racket sources with absolute paths to store
files (i.e. for foreign libraries to dlopen).
Instead, we put them in a data file that doesn't get compiled or,
in one case, embed it in C.

Fixes https://issues.guix.gnu.org/47064

* gnu/packages/patches/racket-sh-via-rktio.patch: New file.
Adds a special case at the C level, controlled by a preprocessor macro,
to handle attempts to execute "/bin/sh".
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/scheme.scm (racket)[source](patches): Apply it.
(racket)[arguments](#:configure-flags): Add the CPP flag to enable it.
(racket)[arguments](#:modules): Use srfi-1.
(racket)[arguments](#:phases): Remove 'patch-/bin/sh and 'pre-configure.
Change 'pre-configure-minimal to just change directory.
Add 'patch-config.rktd-lib-search-dirs after 'build and before 'install
to configure Racket's "lib-search-dirs".
(racket, racket-minimal)[inputs]: Add bash-minimal as an explicit input.
(racket-minimal)[source]: Adjust to inherit patches from racket.
(racket-minimal)[arguments]: Inherit from racket: changes no longer needed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 18:42:22 +02:00
hli eb8da54170 gnu: Add r-txdb-dmelanogaster-ucsc-dm6-ensgene.
* gnu/packages/bioconductor.scm (r-txdb-dmelanogaster-ucsc-dm6-ensgene):
New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-12 18:25:40 +02:00
Ricardo Wurmus a247f5c753 services: Support DELETE in MODIFY-SERVICES macro.
* gnu/services.scm (%modify-service): Add clause for DELETE syntax.
(modify-services): Use FILTER-MAP; adjust docstring.
* doc/guix.texi (System Services): Mention alternative syntax.
(X Window): Use MODIFY-SERVICES syntax.
2021-04-12 17:49:07 +02:00
Adam Kandur c1ed3b048d gnu: Add cl-bodge-queue.
* gnu/packages/lisp-xyz.scm (sbcl-bodge-queue, cl-bodge-queue,
  ecl-bodge-queue): New variables.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-04-12 17:06:31 +02:00
Nicolas Goaziou 7b04bdaba8 gnu: hydrogen: Update to 1.0.2.
* gnu/packages/music.scm (hydrogen): Update to 1.0.2.
2021-04-12 16:06:51 +02:00
Ekaitz Zarraga f53ec9d99b gnu: Add openvdb.
* gnu/packages/graphics.scm (openvdb): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-12 16:03:51 +02:00
Paul Garlick e698843442 gnu: Add texlive-newtx.
* gnu/packages/tex.scm: New variable.
2021-04-12 14:21:23 +01:00
Julien Lepiller ac3bf4e4da gnu: java-eclipse-jetty-util: Update to 9.4.39 [security fixes].
Fixes CVE-2021-28165 - jetty server high CPU when client send data length >
17408, CVE-2021-28164 - Normalize ambiguous URIs and CVE-2021-28163 - Exclude
webapps directory from deployment scan.

* gnu/packages/java.scm (java-eclipse-jetty-util): Update to 9.4.39.
(java-eclipse-jetty-util-ajax): New variable.
(java-eclipse-jetty-util, java-eclipse-jetty-io, java-eclipse-jetty-http)
(java-eclipse-jetty-jmx, java-eclipse-jetty-server)
(java-eclipse-jetty-security, java-eclipse-jetty-servlet)
(java-eclipse-jetty-xml, java-eclipse-jetty-webapp): Disable tests.
[native-inputs]: Remove test dependencies.
2021-04-12 15:12:09 +02:00
Efraim Flashner 29f205f7e0 gnu: hangups: Run test suite.
* gnu/packages/messaging.scm (hangups)[arguments]: Use custom 'check
phase.
2021-04-12 15:16:58 +03:00
Efraim Flashner 2323a38b01 gnu: hangups: Loosen version restrictions further.
* gnu/packages/messaging.scm (hangups)[arguments]: Adjust custom
'relax-dependencies phase to allow more dependency versions.
2021-04-12 15:16:58 +03:00
Ekaitz Zarraga 5414617120 gnu: python-mechanicalsoup: Update to 1.0.0.
* gnu/packages/python-web.scm (python-mechanicalsoup): Update to
1.0.0.
[arguments]: Enable tests.
[native-inputs]: Add python-pytest-flake8, python-pytest-httpbin,
python-pytest-cov, python-pytest-mock, python-pytest-runner,
python-requests-mock.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-04-12 15:16:57 +03:00
Mathieu Othacehe e1a4652099 tests: docker: Increase VM building memory size to 1024MiB.
This fixes the following error when running the "docker-system" test:

In ice-9/ftw.scm:
   553:30  1 (_ #<directory stream db6660>)
In unknown file:
           0 (readdir #<directory stream db6660>)

ERROR: In procedure readdir:
In procedure readdir: Cannot allocate memory

* gnu/tests/docker.scm (%test-docker-system): Bump image building VM memory
size to 1024 MiB.
2021-04-12 14:12:49 +02:00
Mathieu Othacehe 98bf60bf4f system: vm: Add a memory-size argument to system-docker-image.
* gnu/system/vm.scm (system-docker-image): Add a memory-size argument and pass
it to expression->derivation-in-linux-vm.
2021-04-12 14:12:49 +02:00
Leo Prikler 331666862c gnu: renpy: Update to 7.4.4.
* gnu/packages/game-development.scm (python2-renpy): Update to 7.4.4.
(python2-pygame-sdl2)[renpy-version]: Likewise.
2021-04-12 13:13:11 +02:00
methuselah-0 f890bf6392 gnu: nginx: Enable stream module.
* gnu/packages/web.scm (nginx)[arguments]: Add --with-stream option in the 'configure phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 12:51:15 +02:00
methuselah-0 b9986cac3e gnu: Add prips.
gnu/packages/admin.scm (prips): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 12:51:11 +02:00
Ludovic Courtès f67663d669 gnu: blis: Add deprecated aliases.
Add deprecated aliases for packages removed in the parent commit.

* gnu/packages/maths.scm (blis-sandybridge, blis-haswell, blis-knl): New
variables.
2021-04-12 12:38:01 +02:00
Philip McGrath 969adb235e gnu: blis: Update to 0.8.1.
* gnu/packages/maths.scm (make-blis): Remove internal function.
Inline into ...
(bliss): ... this variable. Update to 0.8.1.
[native-inputs]: Add "python" and "perl".
[arguments]: Adjust 'configure' phase to take advantage of new support
for "configuration families" with runtime hardware detection. Select
configuration automatically based on target systems, and allow
"--blis-config=" in #:configure-flags to override the default.
When building for x86_64, include all supported microarchetecture
specializations. Add "--enable-verbose-make" configure flag for better
build logs. Stop ignoring other flags from #:configure-flags.
Remove explicit #:substitutable? argument: the package is now always
substitutable. Add (srfi srfi-1) to #:modules.
(blis/x86_64): Remove internal macro.
(blis-sandybridge): Remove package: included in 'blis'.
(blis-haswell): Remove package: included in 'blis'.
(blis-knl): Remove package: included in 'blis'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 12:38:01 +02:00
Mathieu Othacehe fc37346ff4 ci: Fix system-tests subset.
* gnu/ci.scm (system-test-jobs): Make sure that "all-system-tests" is also
covered by the "current-guix-package" parameter.
2021-04-12 11:55:41 +02:00
Guillaume Le Vaillant 05aa5f9f39 gnu: monero-gui: Update to 0.17.2.0.
* gnu/packages/finance.scm (monero-gui): Update to 0.17.2.0.
2021-04-12 11:17:59 +02:00
Guillaume Le Vaillant 3c1cfd7d32 gnu: monero: Update to 0.17.2.0.
* gnu/packages/finance.scm (monero): Update to 0.17.2.0.
2021-04-12 11:17:59 +02:00
Morgan Smith 8799369983 gnu: newlib-nano: Fix nano lib and header paths.
* gnu/packages/embedded.scm (newlib-nano-arm-none-eabi)[arguments]: Hard link
library files from *.a to *_nano.a. Hard link newlib.h to a common location.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-04-12 11:22:21 +03:00
Guillaume Le Vaillant c901ec27d7 gnu: electron-cash: Add missing input.
Fixes <https://bugs.gnu.org/47654>.

* gnu/packages/finance.scm (electron-cash)[inputs]: Add python-pathvalidate.
2021-04-12 10:16:07 +02:00
Guillaume Le Vaillant 5c1f673554 gnu: Add python-pathvalidate.
* gnu/packages/python-xyz.scm (python-pathvalidate): New variable.
2021-04-12 10:12:09 +02:00
Guillaume Le Vaillant bceca1ff58 gnu: Add python-allpairspy.
* gnu/packages/python-check.scm (python-allpairspy): New variable.
2021-04-12 09:50:54 +02:00
Leo Famulari ed3ef756f5 gnu: Syncthing: Update to 1.15.1 [fixes CVE-2021-21404].
* gnu/packages/syncthing.scm (syncthing): Update to 1.15.1.
[source]: Use bundled dependencies.
[inputs]: Remove field.
[arguments]: Adjust the custom 'build' and 'install' phases for 1.15.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-04-11 21:52:34 -04:00
Tobias Geerinckx-Rice f5898781e2 gnu: python-cython: Update to 0.29.22.
* gnu/packages/python-xyz.scm (python-cython): Update to 0.29.22.
2021-04-12 01:24:46 +02:00
Tobias Geerinckx-Rice 9b34c9167b gnu: python-fastimport: Update to 0.9.9.
* gnu/packages/python-xyz.scm (python-fastimport): Update to 0.9.9.
2021-04-12 00:51:49 +02:00
Tobias Geerinckx-Rice e737e74ec0 gnu: minetest: Update to 5.4.1.
* gnu/packages/games.scm (minetest, minetest-data): Update to 5.4.1.
2021-04-12 00:24:02 +02:00
Tobias Geerinckx-Rice 1135b347db gnu: ghq: Update to 1.1.7.
* gnu/packages/version-control.scm (ghq): Update to 1.1.7.
2021-04-12 00:03:15 +02:00
Tobias Geerinckx-Rice 5661cdce25 gnu: lagrange: Update to 1.3.2.
* gnu/packages/web-browsers.scm (lagrange): Update to 1.3.2.
2021-04-11 23:59:37 +02:00
Tobias Geerinckx-Rice 40707f2e0b gnu: irssi: Update to 1.2.3.
* gnu/packages/irc.scm (irssi): Update to 1.2.3.
2021-04-11 23:55:17 +02:00
Tobias Geerinckx-Rice 9d7577d5d8 gnu: edgar: Update to 1.34.
* gnu/packages/games.scm (edgar): Update to 1.34.
2021-04-11 23:46:30 +02:00
Tobias Geerinckx-Rice d286ea6d5b gnu: libime: Update to 1.0.6.
* gnu/packages/fcitx5.scm (libime): Update to 1.0.6.
2021-04-11 23:39:17 +02:00
Tobias Geerinckx-Rice 4ebf6ccb3e gnu: acpica: Update to 20210331.
* gnu/packages/admin.scm (acpica): Update to 20210331.
2021-04-11 18:07:40 +02:00
Tobias Geerinckx-Rice 50ad53c711 gnu: python-skyfield: Update to 1.38.
* gnu/packages/astronomy.scm (python-skyfield): Update to 1.38.
2021-04-11 18:07:40 +02:00
Tobias Geerinckx-Rice 96feb7515e gnu: librsync: Update to 2.3.2.
* gnu/packages/rsync.scm (librsync): Update to 2.3.2.
2021-04-11 18:07:39 +02:00
Hartmut Goebel 03e80cf422 gnu: Add python-pysctp.
* gnu/packages/networking.scm(python-pysctp): New variable.
2021-04-11 17:02:30 +02:00
Hartmut Goebel 3281ba6eae gnu: lksctp-tools: Fix build of include file.
* gnu/packages/patches/lksctp-tools-1.0.18-fix-header-file-name.patch:
  New file.
* gnu/local.mk[patches]: Add it.
* gnu/packages/networking.scm(/lksctp-tools)[source]: Use this patch.
2021-04-11 17:02:30 +02:00
Pierre Langlois fca8ef0d76 gnu: gpodder: Update to 3.10.18.
* gnu/packages/gpodder.scm (gpodder): Update to 3.10.18.
[native-inputs]: Add python-pytest, python-pytest-cov,
python-pytest-httpserver and which.
[inputs]: Add python-requests.
2021-04-11 15:54:02 +01:00
Pierre Langlois 754a7608cc gnu: Add python-pytest-httpserver.
* gnu/packages/check.scm (python-pytest-httpserver): New variable.
2021-04-11 15:53:57 +01:00
Nicolas Goaziou 9d92819dba gnu: scintilla: Update to 5.0.1.
* gnu/packages/text-editors.scm (scintilla): Update to 5.0.1.
2021-04-11 14:42:25 +02:00
Nicolas Goaziou 098ae2f181 gnu: emacs-ivy-posframe: Update to 0.6.0.
* gnu/packages/emacs-xyz.scm (emacs-ivy-posframe): Update to 0.6.0.
2021-04-11 14:20:48 +02:00
Nicolas Goaziou 832e0be618 gnu: emacs-posframe: Update to 1.0.0.
* gnu/packages/emacs-xyz.scm (emacs-posframe): Update to 1.0.0.
2021-04-11 14:20:42 +02:00
Alexandru-Sergiu Marton 337011c567 gnu: Add abook.
* gnu/packages/mail.scm (abook): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-04-11 12:14:11 +02:00
LibreMiami 2a624253bc gnu: Add python-plumbum.
* gnu/packages/python-xyz.scm (python-plumbum): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-04-11 11:45:47 +02:00