Commit graph

98662 commits

Author SHA1 Message Date
Ludovic Courtès
fb7e6ccba7
services: configuration: Report the location of field type errors.
Previously field type errors would be reported in a non-standard way,
and without any source location information.  This fixes it.

* gnu/services/configuration.scm (configuration-field-error): Add a
'loc' parameter and honor it.  Use 'formatted-message' instead of plain
'format'.
(define-configuration-helper)[field-sanitizer]: New procedure.
Use it.  Use STEM as the identifier of the syntactic constructor of the
record type.  Add a 'sanitize' property to each field.  Remove now
useless STEM macro that would call 'validate-configuration'.
* gnu/services/mail.scm (serialize-listener-configuration): Adjust to
new 'configuration-field-error' prototype.
* tests/services/configuration.scm ("wrong type for a field"): New test.
* po/guix/POTFILES.in: Add gnu/services/configuration.scm.
2022-06-24 23:18:20 +02:00
Ryan Prior
43137d058f
gnu: Add python-asynckivy.
* gnu/packages/python-xyz.scm (python-asynckivy): New symbol.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-24 23:18:20 +02:00
Ryan Prior
2d8c68c590
gnu: Add python-asyncgui.
* gnu/packages/python-xyz.scm (python-asyncgui): New symbol.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-24 23:18:20 +02:00
Tobias Kortkamp
4a72180585
gnu: Add azpainter.
* gnu/packages/graphics.scm (azpainter): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-24 23:18:20 +02:00
Ludovic Courtès
005763301f
gnu: guile-json: Update to 4.7.1.
* gnu/packages/guile.scm (guile-json-4): Update to 4.7.1.
2022-06-24 23:18:20 +02:00
Ludovic Courtès
fdf9aaec02
gnu: python-jedi: Fix tests.
* gnu/packages/python-xyz.scm (python-jedi)[source]: Add 'modules' and
'snippet'.
2022-06-24 23:18:19 +02:00
swedebugia
3e7b6dd149
doc: Fix formatting of notes in multiple sections.
* doc/guix.texi (Instantiating the system): Add suggestion to keep
config.scm under version control.
(Printing Services, Messaging Services)
(Telephony Services, Invoking guix system): Use "@quotation Note" for notes.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-06-24 23:18:19 +02:00
jgart
a43c3b1818
gnu: emacs-lpy: Update to 076ce9a.
* gnu/packages/emacs-xyz.scm (emacs-lpy): Update to 076ce9a.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-24 11:35:43 -04:00
Maxim Cournoyer
89db6e7ec7
gnu: ibus-anthy: Fix build.
This is in follow up to 39b118776b.

* gnu/packages/ibus.scm (ibus-anthy)
[phases]{wrap-programs}: Add missing 'inputs' keyword.
2022-06-24 10:00:13 -04:00
Christopher Baines
0865b32dee
gnu: guix-build-coordinator Update to 0-54.07b0b61.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-54.07b0b61.
2022-06-24 14:50:32 +01:00
Christopher Baines
3ea8ba0274
gnu: nar-herder: Update to 0-9.5acfcc0.
* gnu/packages/package-management.scm (nar-herder): Update to 0-9.5acfcc0.
2022-06-24 14:50:03 +01:00
Maxim Cournoyer
0c6960c17a
gnu: python-jedi: Fix build.
* gnu/packages/python-xyz.scm (python-jedi)
[phases]{fix-completion-test}: New phase.
{check}: Delete trailing #t.
2022-06-24 09:30:22 -04:00
Guillaume Le Vaillant
cc7a3055aa
gnu: Add libcorrect.
* gnu/packages/radio.scm (libcorrect): New variable.
2022-06-24 14:55:37 +02:00
Arun Isaac
979203dc04
gnu: Use license: prefix in (gnu packages search).
* gnu/packages/search.scm: Import (guix licenses) with the license:
prefix. Adjust all license fields.
2022-06-24 18:14:51 +05:30
Arun Isaac
034739eb8e
gnu: xapian, python-xapian-bindings: Update to 1.4.19.
* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to 1.4.19.
2022-06-24 17:48:33 +05:30
Tobias Geerinckx-Rice
882cbfa074
gnu: nmon: Use the new TARGET-X86? test.
* gnu/packages/admin.scm (nmon)[arguments]: Use TARGET-X86?.
2022-06-19 02:00:00 +02:00
Timotej Lazar
ed2d2a2d57
tests: ldap: Increase VM memory size.
With the default limit of 512 MB the test sometimes fails, in different
ways. Fixes https://issues.guix.gnu.org/55206.

* gnu/tests/ldap.scm (run-ldap-test): Increase memory size to 1024 MiB.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-24 10:24:54 +02:00
Denis 'GNUtoo' Carikli
62c86c8391
image: Add support for 32bit UEFI.
* gnu/bootloader/grub.scm (grub-efi32-bootloader): New variable.
(install-grub-efi32): New variable.
* gnu/build/bootloader.scm (install-efi): Add a 'targets' keyword
argument.
(install-efi-loader): Likewise.
* gnu/build/image.scm (initialize-efi32-partition): New procedure.
* gnu/packages/bootloaders.scm (grub-efi32): New variable.
* gnu/system/image.scm (esp32-partition): New variable
(efi32-disk-image): New variable.
(efi32-raw-image-type): New variable.
(system-disk-image)[partition-image]: Set '#:grub-efi32' when
calling the partition initializer.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-24 10:21:06 +02:00
Denis 'GNUtoo' Carikli
242fad357e
utils: Define 'target-x86?' predicate.
* guix/utils.scm (target-x86?): New predicate.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-24 10:21:05 +02:00
Maxim Cournoyer
14518fcc54
tests: docker: Relax marionette timeout.
The tests would otherwise fail on an old desktop.

* gnu/tests/docker.scm (run-docker-test)
<make-marionette>: Specify a timeout of 60 s.
(run-docker-system-test) <make-marionette>: Likewise.
2022-06-24 00:47:45 -04:00
Maxim Cournoyer
487070c425
gnu: docker: Honor TESTS? and please guix lint.
* gnu/packages/docker.scm (docker)[phases]{patch-paths}: Split long lines.
{check}: Honor TESTS?.
[synopsis]: Do not start synopsis with package name.
2022-06-23 23:54:29 -04:00
Pierre Langlois
168a4955a3
gnu: docker: Switch to gexp and new input style.
* gnu/packages/docker.scm (docker)[arguments]: Rewrite as gexps.  Switch
to using search-input-file.
[inputs]: Use new style inputs.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 23:54:29 -04:00
Pierre Langlois
185ae9b410
gnu: docker: Update to 20.10.17.
* gnu/packages/docker.scm (%docker-version): Update to 20.10.17.
(docker-libnetwork)[source]: Update commit according to vendor.conf.  Reset
revision to 1.  Simplify snippet.
(docker)[origin]: Remove docker-fix-tests.patch.
[arguments]: Adapt 'patch-paths phase, substitute "ip6tables" and
buildkit-qemu.  Remove trailing #t.
[native-inputs]: Replace go-1.14 by go.
(docker-cli)[source]: Update hash.
[arguments]: Set GO_LINKMODE to "dynamic".  Remove trailing #t.
[phases]{check}: Replace 'if' with 'when'.
* gnu/packages/networking.scm (go-sctp): Update commit according to
docker-libnetwork's vendor.conf.
* gnu/packages/patches/docker-fix-tests.patch: Delete.
* gnu/local.mk (dist_patch_DATA): Remove patch.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 23:54:19 -04:00
Pierre Langlois
6c1dac4f06
gnu: docker: Fix mkfs.xfs reference.
* gnu/packages/docker.scm (docker)[arguments]: Refer to sbin/mkfs.xfs
instead of bin/mkfs.xfs.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 23:17:46 -04:00
Pierre Langlois
c37d970f4d
gnu: containerd: Switch to gexp arguments.
* gnu/packages/docker.scm (containerd)[arguments]: Rewrite as gexps.
Pass all flags via make-flags variable.  Switch to using
search-input-file.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 23:17:45 -04:00
Pierre Langlois
f3a16cab5a
gnu: containerd: Update to 1.6.6.
* gnu/packages/docker.scm (containerd): Update to 1.6.6.
[arguments]: Substitute runc binary for "pkg/cri/config/config_unix.go".  Set
PREFIX to empty string, as the install directory is $DESTDIR/$PREFIX.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 23:17:28 -04:00
Pierre Langlois
575dffef01
gnu: containerd: Fix patch-paths build phase.
* gnu/packages/docker.scm (containerd)[arguments]: Add 'patch-paths
phases after 'unpack because 'chdir doesn't exist.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 23:03:31 -04:00
Pierre Langlois
0cee62d45a
gnu: runc: Update to 1.1.1.
* gnu/packages/virtualization.scm (runc): Update to 1.1.1.
[native-inputs]: Use new style.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 23:03:30 -04:00
Maxim Cournoyer
39b118776b
gnu: ibus-anthy: Modernize.
* gnu/packages/ibus.scm (ibus-anthy)[phases]: Delete trailing #t and adjust to
use search-input-file and search-input-directory.
[native-inputs]: Use new style.
[inputs]: Likewise.
2022-06-23 22:49:08 -04:00
Julien Lepiller
06902a6766
gnu: Add python-pycotap.
* gnu/packages/python-check.scm (python-pycotap): New variable.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 22:45:07 -04:00
Taiju HIGASHI
2dc43d7d5b
gnu: ibus-anthy: Update to 1.5.14
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 21:40:15 -04:00
jgart
3055af4c45
gnu: janet: Update to 1.23.0.
* gnu/packages/lisp.scm (janet): Update to 1.23.0.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-23 20:34:32 -04:00
Maxim Cournoyer
3cdfad5cd8
doc: Fix typo.
* doc/guix.texi (Networking Setup): Fix typo.
2022-06-23 20:34:32 -04:00
jgart
a119c9b27b
gnu: Add emacs-straight-el.
* gnu/packages/emacs-xyz.scm (emacs-straight-el): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-06-23 23:48:26 +02:00
Sharlatan Hellseher
000b710cee
gnu: Add casacore.
* gnu/packages/astronomy.scm (casacore): New variable.
  Modules sorted alphabetically to ease maintannce.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:57 +02:00
Ontje Lünsdorf
d651f28017
gnu: hypre: Add missing dependencies on latex fonts.
* gnu/packages/maths.scm (hypre)[native-inputs]: Add TEXLIVE-COURIER and
TEXLIVE-HELVETIC.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:57 +02:00
jgart
8cc61c7c39
gnu: litecli: Update to 1.9.0.
* gnu/packages/databases.scm (litecli): Update to 1.9.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:56 +02:00
John Kehayias
30e27d8101
gnu: polybar: Simply inputs.
* gnu/packages/wm.scm (polybar)[native-inputs]: Remove labels.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:56 +02:00
John Kehayias
a5d8630e15
gnu: polybar: Update to 3.6.3.
* gnu/packages/wm.scm (polybar): Update to 3.6.3.
[phases]: Add patch-config-path for polybar to find its default configuration
file in the store.
[inputs]: Add libuv, required to build polybar.
[native-inputs]: Remove python-2, no longer needed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:56 +02:00
Jose G Perez Taveras
dbebe6c0b4
gnu: direnv: Update to 2.32.1.
* gnu/packages/shellutils.scm (direnv): Update to 2.32.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:56 +02:00
Josselin Poiret
25c7f57548
gnu: hikari: Replace input libinput by libinput-minimal.
* gnu/packages/wm.scm (hikari)[propagated-inputs]: Replace libinput
by libinput-minimal to reduce closure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:56 +02:00
Josselin Poiret
714bab022c
gnu: waybar: Replace input libinput by libinput-minimal.
* gnu/packages/wm.scm (waybar)[propagated-inputs]: Replace libinput
by libinput-minimal to reduce closure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:56 +02:00
Josselin Poiret
fb14741131
gnu: sway: Replace input libinput by libinput-minimal.
* gnu/packages/wm.scm (sway)[propagated-inputs]: Replace libinput
by libinput-minimal to reduce closure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:56 +02:00
Josselin Poiret
8d4a692acb
gnu: wlroots: Replace input libinput by libinput-minimal.
* gnu/packages/wm.scm (wlroots)[propagated-inputs]: Replace libinput
by libinput-minimal to reduce closure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-23 23:20:55 +02:00
Ludovic Courtès
2327bf41d9
doc: Expound description of the <package> 'arguments' field.
* doc/guix.texi (package Reference): Augment description of the
'arguments' field.
2022-06-23 23:20:55 +02:00
Ludovic Courtès
054937f17d
doc: Remove trailing #t in example.
* doc/guix.texi (Build Phases): Remove trailing #t in example.
2022-06-23 23:20:55 +02:00
jgart
c98f412de6
gnu: emacs-ement: Update to 0.1-pre-2.45b7882.
* gnu/packages/emacs-xyz.scm (emacs-ement): Update to 0.1-pre-2.45b7882.
[arguments]<propagated-inputs>: Add emacs-taxy and emacs-svg-lib.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-06-23 21:24:25 +02:00
jgart via Guix-patches via
66c5a91007
gnu: Add emacs-dumbparens.
* gnu/packages/emacs-xyz.scm (emacs-dumbparens): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-06-23 21:16:42 +02:00
Marius Bakke
b200e57d5d
gnu: python-sphinxcontrib-websupport: Add missing input.
* gnu/packages/sphinx.scm (python-sphinxcontrib-websupport)[propagated-inputs]:
Add PYTHON-SPHINXCONTRIB-SERIALIZINGHTML.
2022-06-23 19:52:46 +02:00
Leo Famulari
696e2cc345
gnu: linux-libre 4.9: Update to 4.9.319.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.319.
(linux-libre-4.9-pristine-source, deblob-scripts-4.9): Update hashes.
2022-06-23 11:48:31 -04:00