Commit graph

104865 commits

Author SHA1 Message Date
Ludovic Courtès 8d9647d8a7
services: Add Shepherd 'configuration' action to various services.
* gnu/services/avahi.scm (avahi-shepherd-service): Add 'actions' field.
* gnu/services/base.scm (nscd-actions): Add call to
'shepherd-configuration-action'.
* gnu/services/desktop.scm (upower-shepherd-service): Add 'actions'
field.
(elogind-shepherd-service): Likewise.
* gnu/services/dict.scm (dicod-shepherd-service): Likewise.
* gnu/services/networking.scm (openntpd-shepherd-service): Likewise.
(tor-shepherd-service): Likewise.
* gnu/services/ssh.scm (openssh-shepherd-service): Likewise.
* gnu/services/web.scm (nginx-shepherd-service): Likewise.
* gnu/services/xorg.scm (gdm-shepherd-service): Likewise.
* gnu/tests/base.scm (run-basic-test)["nscd configuration action"]: New
test.
* doc/guix.texi (Services): Document it.
2022-11-18 15:44:39 +01:00
Ludovic Courtès ebc7de6a1e
services: shepherd: Define 'shepherd-configuration-action' helper.
* gnu/services/shepherd.scm (shepherd-configuration-action): New
* doc/guix.texi (Shepherd Services): Document it.
2022-11-18 15:44:39 +01:00
jgart ff00cdcd92
gnu: timescaledb: Update to 2.8.1.
* gnu/packages/patches/timescaledb-flaky-test.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/databases.scm (timescaledb): Update to 2.8.1.
[source]: Remove patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-18 15:44:39 +01:00
Simon South cdfc1f41c6
gnu: tbb: Update to 2021.6.0.
* gnu/packages/tbb.scm (tbb): Update to 2021.6.0.
[source]: Remove obsolete patch.
* gnu/packages/patches/tbb-fix-test-on-aarch64.patch: Delete file.
* gnu/local.mk: Remove it.
* gnu/packages/patches/tbb-other-arches.patch: Update to match new version.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-18 15:44:39 +01:00
Matthew James Kraai 856b67f302
gnu: s3cmd: Fix program name in output.
* gnu/packages/python-xyz.scm (s3cmd)[arguments]: Add a new 'hide-wrapping
phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-18 15:44:39 +01:00
zamfofex fc2b952205
gnu: Add wld.
* gnu/packages/wm.scm (wld): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-11-18 15:44:39 +01:00
Philip McGrath fd5e642513
import/utils: spdx-string->license: Support '+' operator.
Previously, '+' was supported only via special cases for deprecated
GNU identifiers like 'GPL-N+'.  This commit adds support
for other uses of '+', such as 'AFL-2.0+' and 'LPPL-1.0+'.

Strictly speaking, '+' is an operator, not part of the SPDX license
identifier, but it is useful to handle it here.

* guix/import/utils.scm (spdx-string->license): Support '+' operator.
* tests/import-utils.scm ("spdx-string->license"): Test it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-18 15:44:38 +01:00
Philip McGrath 07482dc051
import/utils: spdx-string->license: Match case-insensitively.
SPDX specifies that license identifiers (unlike the 'AND', 'OR', and
'WITH' operators) are matched case-insensitively.

* guix/import/utils.scm (%spdx-license-identifiers): New variable.
(spdx-string->license): Search in '%spdx-license-identifiers' using
'string-ci=?'.
* tests/import-utils.scm ("spdx-string->license"): New test.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-11-18 15:44:38 +01:00
Philip McGrath b253efef23
import/utils: spdx-string->license: Fix incorrect docstring.
The result of 'spdx-string->license' is a symbol, not a license object.

* guix/import/utils.scm (spdx-string->license): Fix docstring.
(license->symbol): Mention 'license:' prefix in docstring.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-18 15:44:38 +01:00
Hilton Chain a6da50d60a
linux-initrd: raw-initrd: Add keyword argument #:pre-mount.
* gnu/system/linux-initrd.scm (raw-initrd): Add keyword argument #:pre-mount.
Document it.
* doc/guix.texi (initial RAM disk): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-18 15:44:38 +01:00
Guillaume Le Vaillant 383b0f0590
gnu: libarcus: Fix compatibility with newer protobuf.
* gnu/packages/engineering.scm (libarcus)[arguments]: Add
  'fix-protobuf-compatibility' phase.
2022-11-18 15:00:27 +01:00
Sharlatan Hellseher 8cbd51d2d5
gnu: Add cl-mathstats.
* gnu/packages/lisp-xyz.scm (cl-mathstats, ecl-cl-mathstats,
  sbcl-cl-mathstats): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-18 14:33:06 +01:00
Sharlatan Hellseher f136e83840
gnu: Add cl-metacopy.
* gnu/packages/lisp-xyz.scm (cl-metacopy, sbcl-metacopy): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-18 14:27:18 +01:00
Sharlatan Hellseher 89ebe054c5
gnu: Add cl-asdf-system-connections.
* gnu/packages/lisp-xyz.scm (cl-asdf-system-connections,
  ecl-asdf-system-connections, sbcl-asdf-system-connections): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-18 14:15:41 +01:00
Maxim Cournoyer 1bea5d38a2
tests: lightdm: Use set-xorg-configuration to set keyboard layout.
This is to validate that it works, when the login manager service type is
properly specified.

* gnu/tests/lightdm.scm (%lightdm-os): Use set-xorg-configuration.
2022-11-17 17:43:30 -05:00
Ludovic Courtès 83c9e00ffb
services: getmail: Use 'match-record'.
Fixes a regression introduced in
44554e7133 whereby the wrong record fields
would be accessed, leading to a <location> record being spliced in the
result.

* gnu/services/getmail.scm (serialize-getmail-configuration-file): Use
'match-record' instead of 'match'.
(getmail-shepherd-services): Likewise.
2022-11-17 23:03:50 +01:00
Hilton Chain 32c72dd99c
gnu: mosh: Update to 1.4.0.
* gnu/packages/ssh.scm (mosh): Update to 1.4.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-17 22:27:39 +01:00
Ludovic Courtès 17b01d5463
machine: ssh: Validate 'system' field.
* gnu/machine/ssh.scm (<machine-ssh-configuration>)[system]: Add
'sanitize' property.
(validate-system-type): New macro.
2022-11-17 22:27:39 +01:00
Maxim Cournoyer 983906ab72
gnu: ratpoison: Fix reference to xterm.
The xterm binary must be provided to --with-xterm, not its installation
prefix.

* gnu/packages/ratpoison.scm (ratpoison) [configure-flags]: Adjust
--with-xterm flag value.
2022-11-17 13:53:08 -05:00
Marius Bakke bb4d32b655
gnu: Adjust users of deprecated packages.
* gnu/packages/databases.scm (apache-arrow-0.16)[inputs]: Change from
GOOGLE-BROTLI to BROTLI.
* gnu/packages/image.scm (libjxl)[propagated-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-logbook)[native-inputs]: Change from
PYTHON-GOOGLE-BROTLI to PYTHON-BROTLI.
2022-11-17 19:11:33 +01:00
Marius Bakke 28074f1e09
gnu: ungoogled-chromium: Build with Clang 15.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Remove obsolete
compiler flags.
[native-inputs]: Change from CLANG-14 and LLD-AS-LD-WRAPPER to CLANG-15 and
LLD-AS-LD-WRAPPER-15.
2022-11-17 19:11:33 +01:00
Marius Bakke 65976a8382
gnu: lld-as-ld-wrapper: Add version 15.
* gnu/packages/llvm.scm (lld-as-ld-wrapper-15): New variable.
2022-11-17 19:11:33 +01:00
Jonathan Brielmaier f5a7e4b9b2
gnu: icedove: Update to 102.5.0.
* gnu/packages/gnuzilla.scm (%icedove-build-id, %icedove-version): Update to 102.5.0.
2022-11-17 18:21:44 +01:00
Ricardo Wurmus 8e42bfaffa
gnu: conda: Update to 22.9.0.
* gnu/packages/package-management.scm (conda): Update to 22.9.0.
[arguments]: Add phase "use-older-pytest"; run tests conditionally; disable
broken tests; remove phase "fix-permissions".
[propagated-inputs]: Add python-boto3 and python-pluggy.
[native-inputs]: Add python-coverage, python-flaky, and
python-pytest-xprocess.
2022-11-17 15:00:49 +01:00
Ricardo Wurmus d26337e7ef
gnu: conda: Remove trailing #T from build phases.
* gnu/packages/package-management.scm (conda)[arguments]: Remove trailing #T
from build phases.
2022-11-17 15:00:49 +01:00
Ricardo Wurmus ebde19092f
gnu: r-circus: Update to 0.1.7.
* gnu/packages/bioinformatics.scm (r-circus): Update to 0.1.7.
[properties]: Add upstream-name property.
[propagated-inputs]: Add r-biocgenerics, r-genomeinfodb, and r-rtracklayer.
2022-11-17 15:00:49 +01:00
ギャラ 7b7e80cf25
gnu: neovim: Update to 0.8.1.
* gnu/packages/vim.scm (neovim): Update to 0.8.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-17 12:00:32 +00:00
Jack Hill e5497d09a1
gnu: botan: Update to 2.19.2
* gnu/packages/crypto.scm (botan): Update to 2.19.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-17 12:00:32 +00:00
EuAndreh 35ef5fca0a
services: gitolite: Use the correct variable for the user-group.
The default value for <gitolite-configuration> has "git" for both the values
of the user and the group, as costumary, which means that unless someone uses
a custom configuration and chooses different strings for user and group, this
wouldn't show up.

* gnu/services/version-control.scm (gitolite-accounts): Use the correct
variable for the name of a (user-group ...).

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-17 12:00:32 +00:00
jgart f91f9006c4
gnu: python-hypothesis: Update home-page.
* gnu/packages/check.scm.scm (python-hypothesis)[home-page]: Update it.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-17 12:00:32 +00:00
kiasoc5 024a98cb83
gnu: trash-cli: Use G-expressions.
* gnu/packages/shellutils.scm (trash-cli)[arguments]: Use G-expressions.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-17 12:00:31 +00:00
kiasoc5 cfeb51a6de
gnu: trash-cli: Update to 0.22.10.20.
* gnu/packages/shellutils.scm (trash-cli): Update to 0.22.10.20.
[native-inputs]: Add python-parameterized and python-flexmock.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-17 12:00:31 +00:00
kiasoc5 ce4896e85d
gnu: httpie: Update to 3.2.1.
* gnu/packages/python-web.scm (httpie): Update to 3.2.1.
[propagated-inputs]: Add python-rich.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-17 12:00:31 +00:00
Denis 'GNUtoo' Carikli b64a80258b
gnu: Add navit.
* gnu/packages/geo.scm (navit): New variable.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-17 12:00:31 +00:00
Maxim Cournoyer 7ae4cfa5aa
services: Streamline or eliminate some match-lambda patterns.
These were spot while working on a fix for commit 543d971ed2 ("services:
configuration: Re-order generated record fields").

* gnu/services/web.scm (php-fpm-accounts): Remove extraneous trailing dummy
catchall patterns.
(agate-accounts): Access the configuration fields directly since there are
only two, which is less error-prone.
2022-11-17 06:49:51 -05:00
Maxim Cournoyer 238248aac9
Fix problems initially introduced in commit 543d971ed2, now reinstated.
Commit 543d971ed2 ("services: configuration: Re-order generated record
fields") introduced two regressions, one in guix home and another one in the
zabbix service.

* gnu/home/services/shells.scm (home-bash-extensions): Remove the first
pattern in the match, which used to be to ignore %location.
* gnu/services/monitoring.scm (zabbix-front-end-nginx-extension): Likewise.
2022-11-17 06:49:51 -05:00
Maxim Cournoyer 44554e7133
Revert "services: configuration: Revert to a working ‘guix home’."
This reverts commit 39e4e00f75, with fixes for
the guix home issues reported and another one found while reconfiguring berlin
in the subsequent commit.
2022-11-17 06:49:51 -05:00
Nicolas Goaziou 07dddca27b
gnu: emacs-subed: Update to 1.0.21.
* gnu/packages/emacs-xyz.scm (emacs-subed): Update to 1.0.21.
2022-11-17 12:44:54 +01:00
Aleksandr Vityazev 3060268de3
gnu: emacs-skempo: Remove dependency on emacs-parent-mode.
* gnu/packages/emacs-xyz.scm (emacs-skempo)[propagated-inputs]:
Remove dependency on emacs-parent-mode.

As of a936f8d9fa0d42f17c64da9d2652a5f3e7c6546a commit skempo
drop dependency for parent-mode.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-11-17 12:28:11 +01:00
Aleksandr Vityazev 75320fbe92
gnu: Add emacs-ef-themes.
* gnu/packages/emacs-xyz.scm (emacs-ef-themes): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-11-17 12:28:11 +01:00
jgart 3a930dc2c0
gnu: emacs-purs-mode: Update to 1655338.
* gnu/packages/emacs-xyz.scm (emacs-purs-mode): Update to 1655338.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-11-17 12:28:10 +01:00
André A. Gomes d2c8d0a94e
gnu: emacs-sly-asdf: Update to 0.2.0.
* gnu/packages/emacs-xyz.scm (emacs-sly-asdf): Update to 0.2.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-11-17 12:28:10 +01:00
jgart 57f7d38fed
gnu: emacs-crdt: Update to 0.3.4.
* gnu/packages/emacs-xyz.scm (emacs-crdt): Update to 0.3.4.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-11-17 12:28:10 +01:00
Nicolas Goaziou 22960a79a6
gnu: emacs-use-package: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-use-package)[arguments]: Use
G-expressions.
<#:phases>: Remove trailing #T.  Remove unnecessary call to MKDIR-P.
2022-11-17 12:28:09 +01:00
Nicolas Goaziou 5a375fe48a
gnu: emacs-use-package: Update to 2.4.4.
* gnu/packages/emacs-xyz.scm (emacs-use-package): Update to 2.4.4.
2022-11-17 12:28:09 +01:00
Efraim Flashner 64062c77b1
gnu: giara: Remove input labels.
* gnu/packages/syndication.scm (giara)[inputs]: Remove input labels.
[native-inputs]: Same.
2022-11-17 13:05:53 +02:00
Efraim Flashner 211a1a6b44
gnu: giara: Update to 1.0.1.
* gnu/packages/syndication.scm (giara): Update to 1.0.1.
[source]: Remove patch.
[arguments]: Add phase to skip meson post-install script.
[native-inputs]: Remove libxml2. Replace gtk+:bin with gtk:bin.
[inputs]: Remove python-pycairo, webkitgtk-with-libsoup2. Add
blueprint-compiler. Replace libhandy with libadwaita, gtk+ with gtk,
python-mistune with python-mistune-next.
[description]: Update.
* gnu/packages/patches/giara-fix-login.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2022-11-17 13:05:52 +02:00
Efraim Flashner daa5da2bde
gnu: python-praw: Update to 7.6.1.
* gnu/packages/python-web.scm (python-praw): Update to 7.6.1.
2022-11-17 13:05:52 +02:00
Efraim Flashner c8ae11e775
gnu: python-mistune-next: Update to 2.0.4.
* gnu/packages/python-xyz.scm (python-mistune-next): Update to 2.0.4.
[arguments]: Add custom 'check phase.
[native-inputs]: Remove python-nose, add python-pytest.
2022-11-17 13:05:52 +02:00
Efraim Flashner 08b6a17de9
gnu: Add lld-15.
* gnu/packages/llvm.scm (lld-15): New variable.
(lld-14): Inherit from lld-15.
2022-11-17 13:05:52 +02:00