Commit graph

76913 commits

Author SHA1 Message Date
Mathieu Othacehe
ea89fcb0da
services: postgresql: Use "/tmp" host directory.
This is a follow-up of c311147bd1.

* gnu/services/databases.scm (<postgresql-role-configuration>)[host]: Set to
"/tmp" which the default Postgresql socket directory.
2021-04-13 19:31:20 +02:00
methuselah-0
f3626119d7
services: mysql: Add extra-environment as configuration option.
* gnu/services/databases.scm (mysql-configuration): Add extra-environment
(mysql-service): Use #:log-file and #:environment-variables
* doc/guix.texi: Document it.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-04-13 18:47:32 +02:00
Peter Lo
b5607d830c
gnu: Add r-randomforestsrc.
* gnu/packages/cran.scm (r-randomforestsrc): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-13 14:44:32 +02:00
Julien Lepiller
9b976cfe1d
nls: Add Slovak translation.
* po/guix/LINGUAS: Add 'sk'.
* po/guix/sk.po: New file.
2021-04-13 14:28:01 +02:00
Efraim Flashner
516a101dd4
gnu: openconnect-sso: Update to 0.7.2.
* gnu/packages/vpn.scm (openconnect-sso): Update to 0.7.2.
[arguments]: Remove 'adjust-package-version-requirements phase.
2021-04-13 15:21:32 +03:00
Roel Janssen
f0741f3efe
gnu: Add r-hmm.
* gnu/packages/cran.scm (r-hmm): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-13 13:55:01 +02:00
Ricardo Wurmus
9e7f09cbec
gnu: python-tinycss2: Enable tests.
* gnu/packages/python-web.scm (python-tinycss2)[source]: Fetch from git
repository to include tests.
[arguments]: Build from source with flit.
[native-inputs]: Add python-flit, python-pytest, python-pytest-cov,
python-pytest-flake8, and python-pytest-isort.
2021-04-13 13:41:19 +02:00
Ricardo Wurmus
cf1517a1b7
gnu: python-ipywidgets: Update to 7.6.3.
* gnu/packages/python-xyz.scm (python-ipywidgets): Update to 7.6.3.
[propagated-inputs]: Add python-ipython, python-jupyterlab-widgets, and
python-nbformat.
[native-inputs]: Remove python-nose; add python-mock and ptyhon-pytest-cov.
2021-04-13 13:41:19 +02:00
Ricardo Wurmus
7c4f9c17de
gnu: python-widgetsnbextension: Remove unnecessary inputs.
* gnu/packages/python-xyz.scm (python-widgetsnbextension)[propagated-inputs]:
Remove python-argon2-cffi, python-ipykernel, and python-terminado.
[native-inputs]: Remove python-certifi and python-nose.
2021-04-13 13:41:19 +02:00
Ricardo Wurmus
4cb6120584
gnu: Add python-jupyterlab-widgets.
* gnu/packages/jupyter.scm (python-jupyterlab-widgets): New variable.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
a26dd2e282
gnu: Add python-jupyter-packaging.
* gnu/packages/jupyter.scm (python-jupyter-packaging): New variable.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
c00996fdbe
gnu: Add python-deprecation.
* gnu/packages/python-xyz.scm (python-deprecation): New variable.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
5c89e2ac6f
gnu: python-testpath: Update to 0.4.4.
* gnu/packages/check.scm (python-testpath): Update to 0.4.4.
[arguments]: Build the package as intended with flit.
[native-inputs]: Add python-flit.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
636f4d5051
gnu: python-flit: Update to 3.2.0.
* gnu/packages/python-xyz.scm (python-flit): Update to 3.2.0.
[source]: Fetch from git repository to include flit_core.
[arguments]: Add phases to bootstrap the build.
[propagated-inputs]: Add python-pytoml and python-toml.
[native-inputs]: Add python-docutils, python-responses,
python-pygments-github-lexers, python-pytest, python-pytest-cov,
python-sphinx, python-sphinxcontrib-github-alt, and python-testpath.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
a818a34f88
gnu: Add python-sphinxcontrib-github-alt.
* gnu/packages/sphinx.scm (python-sphinxcontrib-github-alt): New variable.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
f5acecdd46
gnu: Add python-requests-unixsocket.
* gnu/packages/python-web.scm (python-requests-unixsocket): New variable.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
2572bc8125
gnu: Add python-pygments-github-lexers.
* gnu/packages/python-xyz.scm (python-pygments-github-lexers): New variable.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
3bd962bc3c
gnu: Add python-pytoml.
* gnu/packages/python-build.scm (python-pytoml): New variable.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
5ce53a4d1c
gnu: Remove python2-ipykernel.
* gnu/packages/python-xyz.scm (python2-ipykernel): Remove variable.
(python-ipykernel)[properties]: Remove python2-variant.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
89f1a4a415
gnu: Remove python2-jupyter-console.
* gnu/packages/python-xyz.scm (python2-jupyter-console): Remove variable.
(python-jupyter-console)[properties]: Remove python2-variant.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
a0a8fdeaf2
gnu: Remove python2-jupyter-core.
* gnu/packages/python-xyz.scm (python2-jupyter-core): Remove variable.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
3a62614f32
gnu: Remove python2-ipyparallel.
* gnu/packages/python-xyz.scm (python2-ipyparallel): Remove variable.
2021-04-13 13:41:18 +02:00
Ricardo Wurmus
1388c166e7
gnu: Remove python2-matplotlib-documentation.
* gnu/packages/python-xyz.scm (python2-matplotlib-documentation): Remove variable.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
6b3872e871
gnu: python-nbformat: Update to 5.1.3.
* gnu/packages/python-xyz.scm (python-nbformat): Update to 5.1.3.
[arguments]: Remove to enable tests.
[native-inputs]: Add python-pytest.
[properties]: Add python2-variant.
(python2-nbformat): Keep at version 4.4.0; override version and source field.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
f4af353cb2
gnu: python-nbconvert: Update to 6.0.7.
* gnu/packages/python-xyz.scm (python-nbconvert): Update to 6.0.7.
[arguments]: Remove configure flags, enable tests, override check phase.
[propagated-inputs]: Add python-defusedxml, python-nbclient,
python-pandocfilters, python-jupyterlab-pygments, and python-testpath.
[properties]: Add python2-variant.
(python2-nbconvert): Override version, source, arguments, and
propagated-inputs.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
74d2d7a322
gnu: Add python-nbclient.
* gnu/packages/jupyter.scm (python-nbclient): New variable.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
95456c2fc9
gnu: Add python-jupyterlab-pygments.
* gnu/packages/jupyter.scm (python-jupyterlab-pygments): New variable.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
2043e7bfc8
gnu: Add python-nest-asyncio.
* gnu/packages/python-xyz.scm (python-nest-asyncio): New variable.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
6d0a3dc4bc
gnu: python-notebook: Update inputs.
* gnu/packages/python-xyz.scm (python-notebook)[propagated-inputs]: Add
python-argon2-cffi, python-ipykernel, python-ipython-genutils, python-jinja2,
python-jupyter-client, python-pyzmq, python-tornado-6, and python-traitlets.
[native-inputs]: Remove python-nose and python-sphinx; add python-coverage,
python-nbval, python-pytest, python-pytest-cov, and
python-requests-unixsocket.
[arguments]: Use pytest instead of nosetests.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
e9008a66ea
gnu: python-notebook: Update to 6.3.0.
* gnu/packages/python-xyz.scm (python-notebook): Update to 6.3.0.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
a7a92c00f4
gnu: python-widgetsnbextension: Add missing inputs.
* gnu/packages/python-xyz.scm (python-widgetsnbextension)[propagated-inputs]:
Add python-argon2-cffi and python-terminado.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
02746ead49
gnu: python-ipykernel: Update to 5.5.3.
* gnu/packages/python-xyz.scm (python-ipykernel): Update to 5.5.3.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
b1415bf089
gnu: python-jupyter-client: Update to 6.1.12.
* gnu/packages/python-xyz.scm (python-jupyter-client): Update to 6.1.12.
[propagated-inputs]: Add python-dateutil and python-tornado-6.
[native-inputs]: Add python-pytest.
2021-04-13 13:41:17 +02:00
Ricardo Wurmus
2a12cbaaab
gnu: python-jupyter-core: Update to 4.7.1.
* gnu/packages/python-xyz.scm (python-jupyter-core): Update to 4.7.1.
2021-04-13 13:41:16 +02:00
Ricardo Wurmus
95f25c9b13
gnu: python-terminado: Update to 0.9.4.
* gnu/packages/python-web.scm (python-terminado): Update to 0.9.4.
[propagated-inputs]: Replace python-tornado with python-tornado-6.
[native-inputs]: Replace python-nose with python-pytest.
[home-page]: Follow redirect.
[arguments]: Update check phase.
2021-04-13 13:41:16 +02:00
Ryan Prior
85788dd64d
gnu: esbuild: Update to 0.11.9.
* gnu/packages/web.scm (esbuild): Update to 0.11.9.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-04-13 14:23:47 +03:00
Ryan Prior
504a525d37
gnu: visidata: Update to 2.4.
* gnu/packages/visidata.scm (visidata): Update to 2.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-04-13 14:23:40 +03:00
Morgan Smith
bad0654d4f
gnu: gnu-standards: Update to 2020-11-25.
* gnu/packages/gnu-doc.scm (gnu-standards): Update to 2020-11-25.
[source]: Make file-name more descriptive. Use version variable for
revision.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-04-13 14:19:36 +03:00
Paul Garlick
995f685e4d
gnu: Add texlive-xcharter.
* gnu/packages/tex.scm: New variable.
2021-04-13 11:33:49 +01:00
Mathieu Othacehe
822eacc6bb
tests: halt: Fix it.
This fixes: <https://issues.guix.gnu.org/47727>.  The OCR prompt detection is
failing, so remove it altogether.  It looks like the test doesn't need the
prompt detection delay to work properly.

* gnu/tests/base.scm (run-halt-test): Remove failing OCR detection.
2021-04-13 10:02:46 +02:00
Christopher Baines
c311147bd1
services: postgresql: Change service default socket directory.
Fixes <https://bugs.gnu.org/46737>.

PostgreSQL running with a different socket directory to the default one in the
package itself breaks some services, this commit restores the previous
behaviour where PostgreSQL by default will run with a socket directory that
matches the default used by PostgreSQL packaged for Guix.

Switching to a different default value can happen, but only alongside changing
the PostgreSQL package.

* gnu/services/databases.scm (<postgresql-config-file>)[socket-directory]:
Change default to #false.
* doc/guix.texi (Database Services): Update documentation, and specify a
different value for disabling connections via sockets.
* gnu/tests/guix.scm (%guix-data-service-os): Use default PostgreSQL
behaviour.
* gnu/tests/monitoring.scm (%zabbix-os): Likewise.
* gnu/tests/web.scm (patchwork-os): Likewise.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-04-12 19:12:46 -04:00
Ricardo Wurmus
1bbed20332
gnu: guile-picture-language: Update to 0.0.1-5.a1322bf.
* gnu/packages/guile-xyz.scm (guile-picture-language): Update to
0.0.1-5.a1322bf.
2021-04-12 21:51:38 +02:00
Morgan Smith
a6ac141ebb
etc/committer: Add missing newline.
* etc/committer.scm.in (main): Add newline to message.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-12 21:42:15 +02:00
Morgan Smith
d375eddda0
etc/committer: Use git plumbing instead of porcelain.
* etc/committer.scm.in (diff-info): Use "git diff-files" instead of "git diff".
(old-sexp): Use "git cat-file" instead of "git show".

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-12 21:42:15 +02:00
Ludovic Courtès
d14f21389c
doc: Document 'gnu-build-system' keyword parameters.
* doc/guix.texi (Build Systems): Document keyword parameters of
'gnu-build-system'.
2021-04-12 18:44:09 +02:00
Ludovic Courtès
eb613eff58
doc: Move list of build phases to "Build Phases".
Before this change, the 'gnu-build-system' phases were listed in the
"Build Systems" section, and then summarized in the "Build Phases"
section.  This moves everything to "Build Phases".

* doc/guix.texi (Build Systems): Move phase table to...
(Build Phases): ... here.  Rearrange surrounding text.
2021-04-12 18:44:09 +02:00
Ludovic Courtès
a514b4ab19
channels: Build user channels with '-O1'.
This should noticeably speed up compilation for channels with many files.

* guix/channels.scm (standard-module-derivation)[build]: Define
'optimizations-for-level' and '-O1'.  Pass #:optimization-options to
'compile-files'.
2021-04-12 18:44:09 +02:00
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