Commit graph

98494 commits

Author SHA1 Message Date
Attila Lendvai
8cb1a49a39
services: configuration: Use *unspecified* instead of 'disabled.
Use *unspecified* as a marker for field values that have not been set.

Rationale: 'disabled may easily clash with user values for boolean fields, is
confusing (i.e. its meaning is *not* boolean false, but unspecified) and it
also passes silently through the symbol? predicate of a field of type symbol.

* gnu/services/configuration.scm (configuration-missing-default-value):
Renamed from configuration-no-default-value.
(define-maybe-helper): Use *unspecified* instead of 'disabled, and make
the default value optional.
* gnu/home/services/desktop.scm (home-redshift-configuration):
Change (maybe-xyz 'disabled) to maybe-xyz.
* gnu/services/authentication.scm (nslcd-configuration): Likewise.
* gnu/services/cgit.scm (repository-cgit-configuration): Likewise.
* gnu/services/file-sharing.scm (serialize-maybe-string)
(serialize-maybe-file-object): Use 'unspecified?' instead of (eq? val
'disabled).
* gnu/services/messaging.scm (raw-content?): Likewise.
(ssl-configuration): Change (maybe-xyz 'disabled) to maybe-xyz.
(prosody-configuration): Likewise.
* gnu/services/file-sharing.scm (transmission-daemon-configuration):
Likewise.
* gnu/services/messaging.scm (define-all-configurations):
Use *unspecified* instead of 'disabled'.
* gnu/services/networking.scm (opendht-configuration): Likewise.
* gnu/services/pm.scm (tlp-configuration): Likewise.
* gnu/services/telephony.scm (jami-account): Likewise.
(jami-configuration): Likewise.
* gnu/services/vpn.scm (openvpn-client-configuration): Likewise.
* tests/services/configuration.scm ("maybe type, no default")
("maybe type, with default"): New tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:21 +02:00
Attila Lendvai
e11517052b
services: configuration: Support (field1 maybe-number "") format.
As opposed to explicitly using 'disabled as value, or using the
(field1 (maybe-number) "") format.

It's mostly the work of Maxime Devos shared under #54674, with some
modifications by Attila Lendvai.

* gnu/services/configuration.scm (normalize-field-type+def): New function.
(define-configuration-helper) (define-configuration): Support new field
format.
* tests/services/configuration.scm (config-with-maybe-number->string): New
function.
("maybe value serialization of the instance"): New test.
("maybe value serialization of the instance, unspecified"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:21 +02:00
Ludovic Courtès
3d0749b4e3
ssh: Add #:connection-timeout parameter to 'open-ssh-session'.
* guix/ssh.scm (open-ssh-session): Add #:connection-timeout parameter
and honor it.
2022-06-15 00:25:20 +02:00
Ludovic Courtès
7046e77721
system: <operating-system> compiler truly honors the 'system' argument.
Fixes <https://issues.guix.gnu.org/55951>.

* gnu/system.scm (operating-system-compiler): Parameterize
'%current-system' and '%current-target-system' before calling
'operating-system-derivation'.
* tests/system.scm ("lower-object, %current-system sensitivity"): New
test.
2022-06-15 00:25:20 +02:00
Ludovic Courtès
9be470b5d2
pull: Tweak cache directory validation code.
This is a followup to 7c52cad046.

* guix/scripts/pull.scm (guix-pull): Move cache directory validation
code to...
(validate-cache-directory-ownership): ... here.  New procedure.  Use
SRFI-71 instead of SRFI-11.  Use 'formatted-message' for the error
message, with ASCII quotation marks, and use Texinfo markup for
'&fix-hint'.
2022-06-15 00:25:17 +02:00
Marius Bakke
13c46cc29d
gnu: PostgreSQL: Promote version 14 to the default.
* gnu/packages/databases.scm (postgresql): Alias to POSTGRESQL-14.
* gnu/packages/qt.scm (qtbase-5)[inputs]: Stay on POSTGRESQL-13.
2022-06-14 23:33:54 +02:00
Marius Bakke
bd16e7c32d
gnu: python-asyncpg: Update to 0.25.0.
* gnu/packages/databases.scm (python-asyncpg): Update to 0.25.0.
[native-inputs]: Remove PYTHON-FLAKE8, PYTHON-PYCODESTYLE, PYTHON-SPHINX,
PYTHON-SPHINX-RTD-THEME, and PYTHON-SPHINXCONTRIB-ASYNCIO.
2022-06-14 23:33:54 +02:00
Marius Bakke
d51a097460
gnu: python-tortoise-orm: Update to 0.19.1.
* gnu/packages/databases.scm (python-tortoise-orm): Update to 0.19.1.
2022-06-14 23:33:53 +02:00
Marius Bakke
3f033b6d9e
gnu: python-pypika-tortoise: Update to 0.1.5.
* gnu/packages/databases.scm (python-pypika-tortoise): Update to 0.1.5.
2022-06-14 23:33:53 +02:00
Marius Bakke
9f1713f219
gnu: gplates: Update to 2.3.01-beta.3.
* gnu/packages/geo.scm (gplates): Update to 2.3.01-beta.3.
[source](uri): Adjust for beta releases.
[source](file-name): Adjust for zipball.
[native-inputs]: Add UNZIP.
[inputs]: Simplify.
2022-06-14 23:33:53 +02:00
Marius Bakke
ec4515389a
gnu: perl-dbd-pg: Update to 3.15.1.
* gnu/packages/databases.scm (perl-dbd-pg): Update to 3.15.1.
2022-06-14 23:33:53 +02:00
Marius Bakke
334c849ba1
gnu: python-acme, certbot: Update to 1.28.0.
* gnu/packages/tls.scm (python-acme): Update to 1.28.0.
[arguments]: Override check phase.
(certbot)[source]: Update hash.
2022-06-14 23:33:53 +02:00
Marius Bakke
73e0063888
gnu: python-josepy: Update to 1.13.0.
* gnu/packages/python-crypto.scm (python-josepy): Update to 1.13.0.
[propagated-inputs]: Remove PYTHON-SIX.
2022-06-14 23:33:53 +02:00
Marius Bakke
d73b88d826
gnu: TimescaleDB: Update to 2.7.0.
* gnu/packages/databases.scm (timescaledb): Update to 2.7.0.
[source](snippet): Remove more files.
[source](patches): New field.
* gnu/packages/patches/timescaledb-flaky-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-06-14 23:33:52 +02:00
Marius Bakke
b98a61a8f8
gnu: ruby-pg: Update to 1.3.5.
* gnu/packages/ruby.scm (ruby-pg): Update to 1.3.5.
[home-page]: Change to current.
[source]: Switch to GIT-FETCH.
[arguments]: Add #:phases.
2022-06-14 23:33:52 +02:00
Marius Bakke
4601dccb36
gnu: PostgreSQL@13: Update replacement to 13.7 [fixes CVE-2022-1552].
* gnu/packages/databases.scm (postgresql-13/replacement): Update to 13.7.
2022-06-14 23:33:52 +02:00
Marius Bakke
3787f56734
gnu: PostgreSQL@10: Update to 10.21 [fixes CVE-2022-1552].
* gnu/packages/databases.scm (postgresql-10): Update to 10.21.
2022-06-14 23:33:52 +02:00
Marius Bakke
a18f937b56
gnu: PostgreSQL@11: Update to 11.16 [fixes CVE-2022-1552].
* gnu/packages/databases.scm (postgresql-11): Update to 11.16.
2022-06-14 23:33:52 +02:00
Marius Bakke
f4f31bb99c
gnu: PostgreSQL@14: Update to 14.3 [fixes CVE-2022-1552].
* gnu/packages/databases.scm (postgresql-14): Update to 14.3.
2022-06-14 23:33:51 +02:00
Marius Bakke
e03b450c36
gnu: PostgreSQL: Permit loading plugins from symlink unions again.
...this fixes a regression since 49b350fafc where the patch to disable
symlink resolving went missing from versions < 14.

* gnu/packages/databases.scm (postgresql-13/replacement): New variable.
(postgresql-13)[replacement]: New field.
(postgresql-11)[source](patches): Add 'postgresql-disable-resolve_symlinks.patch'.
2022-06-14 23:33:51 +02:00
Greg Hogan
8e97491277
gnu: dos2unix: Update to 7.4.3.
* gnu/packages/textutils.scm (dos2unix): Update to 7.4.3.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2022-06-12 02:00:00 +02:00
Greg Hogan
142d136abd
gnu: htop: Update to 3.2.1.
* gnu/packages/admin.scm (htop): Update to 3.2.1.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2022-06-12 02:00:00 +02:00
Greg Hogan
ad05cb6a3c
gnu: ccache: Update to 4.6.1.
* gnu/packages/ccache.scm (ccache): Update to 4.6.1.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2022-06-12 02:00:00 +02:00
Maxim Cournoyer
4e93ca70da
doc: Document how to repair Guix System from a chroot.
* doc/guix.texi (System Troubleshooting Tips): New chapter.
2022-06-14 15:19:35 -04:00
Maxim Cournoyer
a860a5fa95
services: dbus: Add a VERBOSE? configuration option.
* gnu/services/dbus.scm (<dbus-configuration>)[verbose?]: New field.
(dbus-shepherd-service): Use it.
(dbus-service)[verbose?]: Add argument and update doc.
* doc/guix.texi (Desktop Services): Document it.
2022-06-14 14:23:21 -04:00
Maxim Cournoyer
3aaf52a129
gnu: Add dbus-verbose.
* gnu/packages/glib.scm (dbus-verbose): New variable.
2022-06-14 14:23:21 -04:00
Liliana Marie Prikler
330d2778a9
gnu: komikku: Update to 0.39.0.
* gnu/packages/gnome.scm (komikku): Update to 0.39.0.
2022-06-14 19:01:33 +02:00
Liliana Marie Prikler
391544a596
gnu: webkitgtk: Update to 2.36.3.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.36.3.
2022-06-14 19:01:29 +02:00
Maxim Cournoyer
3dd32e76b0
gnu: h-client: Fetch source from Savannah again.
* gnu/packages/hardware.scm (h-client)[source]: Update URL and associated
comment.
2022-06-14 11:56:03 -04:00
Guillaume Le Vaillant
99c43cf344
gnu: cl-fof: Update to 0.2.0-1.522879e.
* gnu/packages/lisp-xyz.scm (sbcl-fof): Update to 0.2.0-1.522879e.
  [inputs]: Sort inputs.
  [arguments]: Remove 'fix-build' phase.
2022-06-14 16:18:07 +02:00
Guillaume Le Vaillant
d1f3bba66c
gnu: cl-dexador: Remove input labels.
* gnu/packages/lisp-xyz.scm (sbcl-dexador)[inputs, native-inputs]: Remove
  labels and sort inputs.
2022-06-14 15:54:09 +02:00
André A. Gomes
893fc788fb
gnu: cl-dexador: Update to 0.9.15-1.74a233e.
* gnu/packages/lisp-xyz.scm (sbcl-dexador): Update to 0.9.15-1.74a233e.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-06-14 15:53:20 +02:00
Guillaume Le Vaillant
0fd660a2b2
gnu: cl-fof: Fix build with recent cl-serapeum.
* gnu/packages/lisp-xyz.scm (sbcl-fof)[inputs]: Remove labels and add
  sbcl-named-readtables.
  [arguments]: Add 'fix-build' phase.
2022-06-14 15:38:21 +02:00
Paul A. Patience
50b6377bc4
gnu: cl-serapeum: Update to 0.0.0-7.d2150c6.
* gnu/packages/lisp-xyz.scm (sbcl-serapeum): Update to 0.0.0-7.d2150c6.
  [inputs]: Remove sbcl-named-readtables and sbcl-fare-quasiquote.
  Add sbcl-introspect-environment and sbcl-trivial-cltl2.
  [native-inputs]: Add sbcl-atomics.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-06-14 15:20:47 +02:00
Paul A. Patience
f11b6ac9ac
gnu: cl-serapeum: Use G-expressions.
* gnu/packages/lisp-xyz.scm (sbcl-serapeum)[arguments]: Use G-expressions and
  simplify the 'disable-failing-tests' phase.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-06-14 15:15:42 +02:00
Paul A. Patience
240ac3b75c
gnu: cl-serapeum: Remove input labels.
* gnu/packages/lisp-xyz.scm (sbcl-serapeum)[inputs, native-inputs]: Remove
  labels.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-06-14 15:14:24 +02:00
Arun Isaac
6f75565b4e
gnu: python-httpx: Update to 0.23.0.
* gnu/packages/python-web.scm (python-httpx): Update to 0.23.0.
2022-06-14 18:06:24 +05:30
Arun Isaac
2ac81f482a
gnu: python-httpcore: Update to 0.15.0.
* gnu/packages/python-web.scm (python-httpcore): Update to 0.15.0.
[arguments]: Override asyncio_mode when invoking pytest in check phase.
2022-06-14 18:06:20 +05:30
Tobias Geerinckx-Rice
2682b12ca4
gnu: dovecot: Update to 2.3.19.1.
* gnu/packages/mail.scm (dovecot): Update to 2.3.19.1.
2022-06-12 02:00:09 +02:00
Tobias Geerinckx-Rice
e1b647fdf6
gnu: sudo: Update to 1.9.11p2.
* gnu/packages/admin.scm (sudo): Update to 1.9.11p2.
2022-06-12 02:00:00 +02:00
Tobias Geerinckx-Rice
998d9a6183
pull: Fix typo in error message.
* guix/scripts/pull.scm (guix-pull): Report the right user name/ID.
2022-06-12 02:00:00 +02:00
Tobias Geerinckx-Rice
88b098d9ba
gnu: python-parted: Rename to python-pyparted.
* gnu/packages/disk.scm (python-pyparted): New variable renamed from…
(python-parted): …this, to better follow the package naming guidelines.
Redefine it using DEPRECATED-PACKAGE.
2022-06-12 02:00:00 +02:00
Tobias Geerinckx-Rice
67ff676792
gnu: python-parted: Update to 3.12.0.
* gnu/packages/disk.scm (python-parted): Update to 3.12.0.
[arguments]: Run the default 'check phase at the default time.
2022-06-12 02:00:00 +02:00
Vagrant Cascadian
824f2afcf0
gnu: autogen: Build reproducibly.
* gnu/packages/autogen.scm (autogen)[arguments]: Add
  'use-numeric-ids-in-tarball phase.
2022-06-13 20:56:47 -07:00
Vagrant Cascadian
3691e37eb1
gnu: autogen: Build with guile 3.0.
* gnu/packages/autogen.scm (autogen)[arguments]: Add 'support-guile-3.0 phase.
  [inputs]: Remove guile-2.2 and add guile-3.0.
2022-06-13 20:56:30 -07:00
Artyom V. Poptsov
4ff9f1689d
gnu: java-commons-lang3: Update to 3.12.0
* gnu/packages/java.scm (java-commons-lang3): Update to 3.12.0.
* gnu/packages/patches/java-commons-lang-fix-dependency.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-06-13 22:49:13 +02:00
Andreas Enge
f2ed82eb53
gnu: sollya: Update to 8.0.
* gnu/packages/algebra.scm (sollya): Update to 8.0.
2022-06-13 17:50:28 +02:00
Andreas Enge
89fefe2fd4
gnu: python-fpylll: Update to 0.5.7.
* gnu/packages/algebra.scm (python-fpylll): Update to 0.5.7.
  [source]: Revert from git to pypi.
2022-06-13 17:40:30 +02:00
Andreas Enge
5dec5f65ec
gnu: fplll: Update to 5.4.2.
* gnu/packages/algebra.scm (fplll): Update to 5.4.2.
[source]: Remove patch; for unknown reasons the package now compiles
without it.
* gnu/packages/patches/fplll-std-fenv.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister patch.
2022-06-13 17:16:54 +02:00
Ricardo Wurmus
35124d0087
gnu: r-quantpsyc: Update to 1.6.
* gnu/packages/statistics.scm (r-quantpsyc): Update to 1.6.
[propagated-inputs]: Add r-dplyr and r-purrr.
2022-06-13 15:24:30 +02:00