Commit graph

125488 commits

Author SHA1 Message Date
Bruno Victal
a7994ed58d
services: configuration: Use transducers within serialize-configuration.
Introduces 'base-transducer', a SRFI-171 based transducer that can be used as a
starting point for writing custom configuration record serializing procedures.

This also fixes the symbol maybe-value serialization test case.

* gnu/services/configuration.scm (empty-serializer?): New predicate.
(base-transducer, tfilter-maybe-value): New procedure.
(serialize-configuration): Adapt to use base-transducer.

* gnu/services/telephony.scm (jami-account->alist): Use transducers to skip
fields that are unserializable or whose field maybe-value is unset.

* tests/services/configuration.scm: Remove test-expect-fail.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:05 -04:00
Bruno Victal
1b29e5db8f
services: configuration: Simplify normalize-extra-args.
* gnu/services/configuration.scm
(define-configuration-helper, normalize-extra-args): Use #f instead of %unset-value.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:04 -04:00
Sergio Pastor Pérez
e328a5f746
gnu: Add gnome-shell-extension-night-theme-switcher.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-night-theme-switcher): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 11:29:47 -04:00
Guillaume Le Vaillant
b566e1a98a
gnu: gqrx: Update to 2.17.
* gnu/packages/radio.scm (gqrx): Update to 2.17.
2023-10-07 11:51:43 +02:00
jgart
84431a30ea
gnu: python-openai: Update to 0.28.1.
* gnu/packages/python-web.scm (python-openai): Update to 0.28.1.
2023-10-07 00:04:07 -05:00
pinoaffe
6d5a75c70e
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase.  Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.

Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-06 21:39:44 -03:00
pinoaffe
ced91adcc0
gnu: Add fontobene-qt5.
* gnu/packages/fontutils.scm (fontobene-qt5): New variable.

Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-06 21:34:22 -03:00
Wilko Meyer
add2a22ad7
gnu: exim: Update to 4.96.1 [security updates].
Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116, CVE-2023-42117,
CVE-2023-42118, and CVE-2023-42119.  See
<https://www.exim.org/static/doc/security/CVE-2023-zdi.txt> for more details.

* gnu/packages/mail.scm (exim): Update to 4.96.1.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2023-10-06 17:04:50 -04:00
jgart
ad10bbe563
gnu: python-pudb: Update to 2023.1.
* gnu/packages/python-xyz.scm (python-pudb): Update to 2023.1.
2023-10-06 14:46:26 -05:00
Ricardo Wurmus
88ff6feca1
gnu: Add r-webchem.
* gnu/packages/cran.scm (r-webchem): New variable.
2023-10-06 16:37:16 +02:00
Ricardo Wurmus
9d4339afb1
build-system/minify: Use esbuild.
* guix/build-system/minify.scm (default-uglify-js): Replace this procedure...
(default-esbuild): ...with this new procedure.
(lower): Use it, and add "esbuild" to build inputs.
* guix/build/minify-build-system.scm (minify): Invoke esbuild instead of
setting up a pipe to uglifyjs.
* gnu/packages/cran.scm (r-shiny)[native-inputs]: Replace node-uglify-js with
esbuild.
* gnu/packages/statistics.scm (r-dt)[native-inputs]: Same.
2023-10-06 16:37:16 +02:00
Ricardo Wurmus
b19dfb9d3a
gnu: Add linasm.
* gnu/packages/maths.scm (linasm): New variable.
2023-10-06 16:37:16 +02:00
Efraim Flashner
a7e6b4c98b
gnu: openjdk-12: Fix building on aarch64-linux.
* gnu/packages/java.scm (openjdk-12)[arugments]: When building for
aarch64-linux add a phase to remove a duplicate line.
2023-10-06 16:21:44 +03:00
Ricardo Wurmus
8d27ef1ed3
gnu: r-dt: Update to 0.30.
* gnu/packages/statistics.scm (r-dt): Update to 0.30.
2023-10-06 13:01:48 +02:00
Ricardo Wurmus
326775b345
gnu: r-hunspell: Update to 3.0.3.
* gnu/packages/cran.scm (r-hunspell): Update to 3.0.3.
2023-10-06 13:01:48 +02:00
Ricardo Wurmus
33f4951444
gnu: r-aplot: Update to 0.2.2.
* gnu/packages/cran.scm (r-aplot): Update to 0.2.2.
2023-10-06 13:01:48 +02:00
Ricardo Wurmus
a7b7b9bad3
gnu: r-chk: Update to 0.9.1.
* gnu/packages/cran.scm (r-chk): Update to 0.9.1.
2023-10-06 13:01:48 +02:00
Ricardo Wurmus
900f67dea6
gnu: r-sungeo: Update to 1.1.1.
* gnu/packages/cran.scm (r-sungeo): Update to 1.1.1.
[propagated-inputs]: Remove r-fasterize; add r-stringr and r-terra.
2023-10-06 13:01:48 +02:00
David Elsing
1b5067c0d0
gnu: Add suitesparse-umfpack.
* gnu/packages/maths.scm (suitesparse-umfpack): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:47 +02:00
David Elsing
383d54282e
gnu: Add suitesparse-spqr.
* gnu/packages/maths.scm (suitesparse-spqr): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:47 +02:00
David Elsing
b278336180
gnu: Add suitesparse-spex.
* gnu/packages/maths.scm (suitesparse-spex): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:47 +02:00
David Elsing
7302412676
gnu: Add suitesparse-mongoose.
* gnu/packages/maths.scm (suitesparse-mongoose): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:46 +02:00
David Elsing
9dde72a23c
gnu: Add suitesparse-rbio.
* gnu/packages/maths.scm (suitesparse-rbio): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:46 +02:00
David Elsing
e890349067
gnu: Add suitesparse-ldl.
* gnu/packages/maths.scm (suitesparse-ldl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:46 +02:00
David Elsing
4b512f5491
gnu: Add suitesparse-klu.
* gnu/packages/maths.scm (suitesparse-klu): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:46 +02:00
David Elsing
ec2c7d2d48
gnu: Add suitesparse-cxsparse.
* gnu/packages/maths.scm (suitesparse-cxsparse): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:46 +02:00
David Elsing
75faca26c2
gnu: Add suitesparse-cholmod.
* gnu/packages/maths.scm (suitesparse-cholmod): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:46 +02:00
David Elsing
7c5d3592e7
gnu: Add metis-suitesparse.
* gnu/packages/maths.scm (metis-suitesparse): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:46 +02:00
David Elsing
95ecbdc9b1
gnu: Add gklib-suitesparse.
* gnu/packages/maths.scm (gklib-suitesparse): New variable.
* gnu/packages/patches/gklib-suitesparse.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:45 +02:00
David Elsing
9b5dbc46e6
gnu: Add metis-5.2.
* gnu/packages/maths.scm (metis-5.2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:45 +02:00
David Elsing
998a79355c
gnu: Add gklib.
* gnu/packages/maths.scm (gklib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:45 +02:00
David Elsing
a764c7c0b9
gnu: Add suitesparse-ccolamd.
* gnu/packages/maths.scm (suitesparse-ccolamd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:45 +02:00
David Elsing
3fc3b35738
gnu: Add suitesparse-colamd.
* gnu/packages/maths.scm (suitesparse-colamd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:45 +02:00
David Elsing
97edef50f4
gnu: Add suitesparse-camd.
* gnu/packages/maths.scm (suitesparse-camd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:45 +02:00
David Elsing
913e2dd61f
gnu: Add suitesparse-btf.
* gnu/packages/maths.scm (suitesparse-btf): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:45 +02:00
David Elsing
2eb40f8b39
gnu: Add suitesparse-amd.
* gnu/packages/maths.scm (suitesparse-amd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:45 +02:00
David Elsing
a6fc1164c4
gnu: Add suitesparse-config.
The suitesparse-source variable contains the entire SuiteSparse source code,
which is used for all subpackages.

* gnu/packages/maths.scm (suitesparse-version, suitesparse-source,
suitesparse-config): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:44 +02:00
David Elsing
4a368c3a8b
gnu: suitesparse: Tweak description.
* gnu/packages/maths.scm (suitesparse)[description]: Mention that all
subpackages are included.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:44 +02:00
Ludovic Courtès
16fd9d6e3d
gnu: guix: Update to e863274.
This includes the ‘guix perform-download’ fix from commit
762fdbdef5.

* gnu/packages/package-management.scm (guix): Update to e863274.
2023-10-06 12:26:44 +02:00
Lars Rustand
110378934e
gnu: Add vendor-reset-linux-module.
* gnu/packages/linux.scm (vendor-reset-linux-module): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-06 11:52:14 +02:00
Denis 'GNUtoo' Carikli
9d0da4ced3
gnu: matterbridge: Update to 1.26.0
* gnu/packages/messaging.scm (matterbridge): Update to 1.26.0

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-06 11:52:13 +02:00
Vinicius Monego
9930aeb0e3
gnu: Add python-mapie.
* gnu/packages/statistics.scm (python-mapie): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-06 11:52:13 +02:00
Bruno Victal
70c27db33e
system: Modify bash skeleton to colorize 'ip' output.
* gnu/system/shadow.scm (%default-bashrc): Add an alias for 'ip' that enables
output colorization.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-06 11:52:13 +02:00
Ricardo Wurmus
e97e708958
gnu: r-biomvrcns: Patch R constants.
* gnu/packages/bioconductor.scm (r-biomvrcns)[arguments]: Add phase
'patch-constants.
2023-10-06 08:55:11 +02:00
Ludovic Courtès
e863274e67
services: hurd-vm: Leave root password uninitialized when offloading.
Starting with 953c65ffdd, offloading to
the Hurd VM would be enabled by default.  However, ‘root’ had an empty
password so any user on the host could connect to the VM over VNC, log
in as root, and potentially populate the host’s store from there.  This
change fixes that.

* gnu/services/virtualization.scm (operating-system-with-locked-root-account):
New procedure.
(hurd-vm-disk-image)[transform]: Add
‘operating-system-with-locked-root-account’ when offloading.
2023-10-05 23:14:55 +02:00
Ludovic Courtès
917c17c052
tests: childhurd: Test SSH connection with a non-root user.
* gnu/tests/virtualization.scm (%childhurd-os): Remove ‘services’ and
add ‘users’ to the GNU/Hurd ‘operating-system’ declaration.
(run-childhurd-test)[run-command-over-ssh]: Log in as “test” instead of
“root”.
2023-10-05 23:14:55 +02:00
Ludovic Courtès
a0818d0236
services: mcron: Hide ‘mkdir-p’ from (shepherd support).
This a avoids a Guile warning about the name collision with (guix build
utils).  The warning was introduced by commit
e0e85f2b23.

* gnu/services/mcron.scm (mcron-shepherd-services): Hide ‘mkdir-p’.
2023-10-05 23:14:55 +02:00
Fabio Natali
c49cc1ac12
gnu: guile-ini: Added missing propagated input ‘guile-lib’.
Fixes <https://issues.guix.gnu.org/66315>.

* gnu/packages/guile-xyz.scm (guile-ini)[propagated-inputs]: Add
GUILE-LIB.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-05 23:14:55 +02:00
André Batista
be214b56c0
gnu: prosody: Update to 0.12.4.
* gnu/packages/messaging.scm (prosody): Update to 0.12.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-05 23:14:55 +02:00
Artyom V. Poptsov
45fbcc452f
gnu: go-ipfs: Update to 0.14.0.
* gnu/packages/ipfs.scm (go-ipfs): Update to 0.14.0.
  [source]: Change "go-ipfs" to "kubo" in the source link.
  [arguments]: Rename "go-ipfs" to "kubo".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-05 23:14:55 +02:00