Commit graph

160311 commits

Author SHA1 Message Date
Maxim Cournoyer
3fadea4254
import: Guard against potential type error.
The import-gnu-release could crash with a "Wrong type (expecting pair): ()"
error, as seen when attempting to recursively refresh a package, e.g.:

  $ guix refresh -r xdg-desktop-portal-gnome

It would crash on attempting to refresh 'bash-static'.

* guix/gnu-maintenance.scm (import-gnu-release): Guard against a potentially
empty VERSIONS list.

Change-Id: Ib4edb4b721e6053b09ef144a1b16fe23b35649b0
2025-05-17 13:10:11 +09:00
Sharlatan Hellseher
6465931bbc
gnu: packages/python-check: Remove docker module.
* gnu/packages/python-check.scm: Remove unused docker module.

Change-Id: I84889552350713f57c8a52e91baf212e7f1796a1
2025-05-16 23:07:19 +01:00
Sharlatan Hellseher
f68bd9b249
gnu: python-pyflakes: Move to python-check.
* gnu/packages/python-xyz.scm (python-pyflakes): Move from here ...
* gnu/packages/python-check.scm: ... to here.

* gnu/packages/emacs-xyz.scm: Add python-check module.

Change-Id: I237f96ade0ad6c488697a3a61e88691522b2b94d
2025-05-16 21:54:06 +01:00
Sharlatan Hellseher
45a88519bf
gnu: python-slixmpp: Move to python-web.
* gnu/packages/python-xyz.scm (python-slixmpp): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: I43511d6ebc6762ea84ae56966d62a0a10468e8b3
2025-05-16 21:45:30 +01:00
Sharlatan Hellseher
72f00c7546
gnu: python-slixmpp: Update to 1.8.6.
* gnu/packages/python-xyz.scm (python-slixmpp): Update to 1.8.6. Use
G-expressions, improve package style.
[build-system]: Switch to pypproject.
[native-inputs]: Add python-setuptools and python-wheel. Remove labels.

Change-Id: Ic9c2694465f826047ea97f6744c46b02509afaa0
2025-05-16 21:38:17 +01:00
Sharlatan Hellseher
14e56eb564
gnu: poezio: Fix source URL.
* gnu/packages/messaging.scm (poezio) [source]: Project has moved to
CodeBerg, adjust the source URL as seen on home page.

Change-Id: I77ae05237139c4beed11be206859fee5ca87b69e
2025-05-16 21:28:57 +01:00
Sharlatan Hellseher
1507ba2939
gnu: python-slixmpp: Fix source URL.
* gnu/packages/python-xyz.scm (python-slixmpp) [source]: Project has
moved to CodeBerg, adjust the source URL as seen on home page.

Change-Id: I170cb8c2d42ef0cc97205e5e84851f261167a0f7
2025-05-16 21:28:56 +01:00
Evgeny Pisemsky
0e8baa398a
gnu: mosquitto: Update to 2.0.21.
* gnu/packages/messaging.scm (mosquitto): Update to 2.0.21, run guix style.
[description]: Adjust for guix lint.

Change-Id: Ia3612284ff50e893c96aad1de0a165d24c6e3277
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-05-16 21:22:22 +01:00
Evgeny Pisemsky
40cd5e511c
gnu: python-django-compressor: Run tests against installed package.
* gnu/packages/django.scm (python-django-compressor): Run tests against
installed package.
[arguments] <phases>: Remove 'add-missing-init-files; add 'fix-setup.py.

Change-Id: Idd810376921d1802adb9355c52edcd1a8584eef7
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-05-16 21:21:54 +01:00
Maxim Cournoyer
085f12b34e
teams: Add linux-libre aux-files to kernel team's scope.
* etc/teams.scm (kernel) <#:scope>: Add a regex for linux-libre aux-files.

Change-Id: I3cccd1d0fb0cfcd27f670ea996a0ac5a69ea79c0
2025-05-17 00:08:48 +09:00
Murilo
56e6e84cc3
gnu: hyprland-qtutils: Update to 0.1.4.
* gnu/packages/qt.scm (hyprland-qtutils): Update to 0.1.4.

Change-Id: Ie30304ff1130c0f19ae18890fbc4786aefd8a4c0
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-17 00:04:20 +09:00
Nicolas Goaziou
e80054495f
gnu: Add emacs-org-modern-indent.
* gnu/packages/emacs-xyz.scm (emacs-org-modern-indent): New variable.

Change-Id: Ib263a5e79c9e7179741121295a1284766d940dbd
2025-05-16 16:49:25 +02:00
Ian Eure
df492d4191
gnu: yt-dlp: Update to 2025.04.30.
* gnu/packages/video.scm (yt-dlp): Update to 2025.04.30.

Change-Id: I3a5cde63fa889eaa0b734173a6bc9221335d5c13
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2025-05-16 15:54:08 +02:00
nomike
a59445e65d
gnu: openscad: Fix python support.
* gnu/packages/engineering.scm (emacs-scad-mode)[inputs]: Add nettle.
  [arguments]: Add patch for CMake to fail build if nettle isn't found.

Change-Id: Ic6bea14048daac56dc8773bf8fbdbd3bb1f0eae9
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2025-05-16 15:47:10 +02:00
Guillaume Le Vaillant
9b212acc38
gnu: cl-simple-matrix: Update to 3.0.
* gnu/packages/lisp-xyz.scm (sbcl-simple-matrix): Update to 3.0.

Change-Id: I08bc144d9539f3821562a472224ebd8a7cb623b4
2025-05-16 15:40:01 +02:00
Cayetano Santos
d6d03854b5
gnu: gtkwave: Update to 3.4.0-0.bb978d9.
* gnu/packages/fpga.scm (gtkwave): Update to 3.4.0-0.bb978d9.
[source]: Switch to git-fetch, new uri.
[version]: Switch to branch master, version 3.4.
[build-system]: Switch to meson-build-system.
[arguments]: New field.
[native-inputs]: Add desktop-file-utils, flex, glib:bin, gobject-introspection
and gtk:bin.
[inputs]: Add gtk and libfst.  Remove gtk+:bin.
[description]: Prefer @acronym to @dfn.
[homepage]: Update URL.

Change-Id: I38aabca14c2789ad7b3bc304b7018644dc6d0fa6
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-16 21:57:46 +09:00
Cayetano Santos
c833e40922
gnu: Add libfst.
* gnu/packages/fpga.scm (libfst): New variable.

Change-Id: Idff52e52114877e0a0259c8df98b3c1bfa20c521
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-16 20:09:33 +09:00
Rutherther
f29c25ad78
gnu: /etc/qemu/firmware: Produce only /etc/qemu/firmware instead of /etc/qemu
The service unnecessarily populates /etc/qemu with a symlink, so it's not
possible to write files like /etc/qemu/bridge.conf or /etc/qemu/host.conf
anymore. Since etc-service-type uses file-union, it's possible to put files in
subdirectories. This restores the behavior suggested by manual where user can
extend etc-service-type with qemu/host.conf etc.

* gnu/services/virtualization.scm (/etc/qemu/firmware): Extend with
qemu/firmware instead of qemu

Change-Id: I7c1ea790e5abf7ad05dce56b7901ac6eb90208fd
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-16 17:01:12 +09:00
Alexey Abramov
efcf1a2334
services: dnsmasq: Add stats and reload shepherd actions.
* gnu/services/dns.scm (dnsmasq-service-reload-action): New function.
Implements SIGHUP handling for reloading configurations.
(dnsmasq-service-stats-action): New function. Implements SIGUSR1
handling for dumping statistics.
(dnsmasq-shepherd-service): Use new actions.
* doc/guix.texi: Document new actions with examples.
* gnu/tests/networking.scm (%test-dnsmasq): Add tests to verify the
functionality of new actions.

Change-Id: I31f0eb4b26a582e95f7bfdb240110c139f0e16cc
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-16 17:01:11 +09:00
Alexey Abramov
50126b39ac
services: dnsmasq: Add pid-file, conf-file and conf-dir configuration fields.
* gnu/services/dns.scm (<dnsmasq-configuration>) [pid-file]: New field
to specify alternate path for dnsmasq PID.
[conf-file]: New field to specify one or more configuration files.
[conf-dir]: New field to read configuration files from a directory.
[extra-options]: Move to the end of the definition as a last resort option.
(dnsmasq-shepherd-service): Use new fields instead of hardcoded values.
* gnu/services/dns.scm: Export all record accessors.
* doc/guix.texi: Document new configuration options.

Change-Id: Iaec361e7d8bfd60af04f023f57d422b55b0c1eea
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-16 17:01:11 +09:00
Alexey Abramov
6d5f630fa5
services: dnsmasq: Add shepherd-provision and shepherd-requirement fields.
* gnu/services/dns.scm (<dnsmasq-configuration>)[provision]: Mark
filed as deprecated with a warning.  Set default to #f.
[shepherd-provision]: Add new field for consistency with other services.
[shepherd-requirement]: Add new field.
(dnsmasq-shepherd-service): Use them.
* doc/guix.texi: Document these changes.
* doc/guix-cookbook.texi (Custom NAT-based network for libvirt): Update
example to use 'shepherd-provision' instead of 'provision'.

Change-Id: Icad4d9c4be5bf58368e8c416f1fdde1f9065557d
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-16 17:01:11 +09:00
Zheng Junjie
efac01f19b
gnu: kwin: remove libglvnd input.
when libglvnd in inputs, kwin_x11 will try find libGLX_mesa.so.0, but our mesa
is built without glvnd, so kwin_x11 startup failed, and plasma(x11) desktop
cannot use.

* gnu/packages/kde-plasma.scm (kwin)[inputs]: Remove libglvnd.

Change-Id: Ifda7282d356fa9e0be2066a7c2619d7bf052d52d
2025-05-15 20:55:50 +08:00
Efraim Flashner
05a004fbfe
Revert "gnu: eudev: Absorb grafted replacement."
This reverts commit f882e365e1.

This patch file is missing and the problematic functionality was
addressed in commit 3bb6147fdc.
2025-05-15 15:30:58 +03:00
Efraim Flashner
b0ee68ca23
gnu: screen: Use gexps.
* gnu/packages/screen.scm (screen)[arguments]: Use gexps.

Change-Id: I7ca183ecf1f70a0552f0d835b3ea16b07a921363
2025-05-15 15:26:48 +03:00
Efraim Flashner
bb5968d755
gnu: screen: Update to 5.0.1 [security fixes].
Fixes CVE-2025-23395, CVE-2025-{46802,46803,46804,46805}.

* gnu/packages/screen.scm (screen): Update to 5.0.1.
[source]: Download using git-fetch.  Add a snippet.
[native-inputs]: Replace autoconf with autoconf-2.71.
[arguments]: Add a phase to change into the source directory.
* gnu/packages/patches/screen-hurd-path-max.patch: Adjust for building
from git.

Change-Id: Ie6eceac0f14b5b94c47aee01d770f7e42a71416e
2025-05-15 15:26:48 +03:00
Leo Famulari
f882e365e1
gnu: eudev: Absorb grafted replacement.
* gnu/packages/linux.scm (eudev)[source]: Add
eudev-removable-devices-polling.patch.
[replacement]: Remove field.
(eudev-fixed): Remove variable.

Change-Id: Ie485dd09c1a22b921dbdca08993343221d98e4f3
2025-05-15 13:38:50 +02:00
Julian Flake
cff66ca3fc
gnu: bluez: Update to 5.79.
* gnu/packages/linux.scm (bluez): Update to 5.79.
[arguments]: Replace the 'install' phase to work around an installation
failure, described here:

https://issues.guix.gnu.org/74597#5

Co-authored-by: Dariqq <dariqq@posteo.net>

Change-Id: I5928664f929d1bda6e8c8c5e37cb9020a9889881
Signed-off-by: Leo Famulari <leo@famulari.name>
2025-05-15 13:38:50 +02:00
Ashish SHUKLA
f3a5639b72
gnu: kexec-tools: Update to 2.0.30.
* gnu/packages/linux.scm (kexec-tools): Update to 2.0.30.

Change-Id: I66d90b34d2010ac4278cc0acab05c3dd61396661
Signed-off-by: Leo Famulari <leo@famulari.name>
2025-05-15 13:38:44 +02:00
Kyle Andrews
ff50f88935
gnu: Add r-gpg.
* gnu/packages/cran.scm (r-gpg): New variable.

Change-Id: Ic432345101387e4cd2bd6558e0e43f06c4c6b33d
2025-05-15 11:10:42 +02:00
Tor-björn Claesson
d1a5056095
gnu: Add r-bigd.
* gnu/packages/cran.scm (r-bigd): New variable.

Change-Id: I164034f9823f383628fec5361e6ebeff460c43ec
2025-05-15 10:34:23 +02:00
Ricardo Wurmus
2a161a1ab7
gnu: r-faahko: Update to 1.48.1.
* gnu/packages/bioconductor.scm (r-faahko): Update to 1.48.1.

Change-Id: I2b62bbb03c23efb20dd45d65312c335e602da88a
2025-05-15 10:28:02 +02:00
Ricardo Wurmus
d748e4dda7
gnu: r-rmpfr: Update to 1.1-0.
* gnu/packages/cran.scm (r-rmpfr): Update to 1.1-0.

Change-Id: Ica69c58287d4be0d35b24d47ca40aa37aa82aca0
2025-05-15 10:28:02 +02:00
Ricardo Wurmus
1057155993
gnu: r-zip: Update to 2.3.3.
* gnu/packages/cran.scm (r-zip): Update to 2.3.3.

Change-Id: Ia896cd56d6ee7c5fd9b390d4169f554f1899e71a
2025-05-15 10:28:02 +02:00
Ricardo Wurmus
b8c1cde50a
gnu: r-msigdbr: Update to 24.1.0.
* gnu/packages/cran.scm (r-msigdbr): Update to 24.1.0.
[arguments]: Disable some tests.
[propagated-inputs]: Add r-curl.

Change-Id: I90c3c0bf9c9842b13e7b95030b6bfec6b5d71099
2025-05-15 10:28:02 +02:00
Ricardo Wurmus
88b82d08ad
gnu: papagayo: Drop input labels.
* gnu/packages/animation.scm (papagayo)[inputs]: Remove labels.
[arguments]: Update phases to adjust to label removal; remove trailing #T; use
G-expressions for output references.

Change-Id: I959ff73f190e855988061a5aba094227ba5fcff8
2025-05-15 10:28:01 +02:00
Ricardo Wurmus
ae8ff7c8c0
gnu: Add friction.
* gnu/packages/graphics.scm (friction): New variable.

Change-Id: I8ce4d20ce410e1fb6e5578d59cb72597469b58f1
2025-05-15 10:28:01 +02:00
Ricardo Wurmus
f353896b10
gnu: Add ffmpeg-for-friction.
* gnu/packages/video.scm (ffmpeg-for-friction): New variable.

Change-Id: I11b5a7b8df325ccb16d9e8e3d19817624c8b17d0
2025-05-15 10:28:01 +02:00
Ricardo Wurmus
90d39a1a7e
gnu: Add gperftools-for-friction.
* gnu/packages/cpp.scm (gperftools-for-friction): New variable.

Change-Id: Ic01649cddac66de2a75a255f0c055845c57fb6ea
2025-05-15 10:28:01 +02:00
Ricardo Wurmus
5d0f84fdcb
gnu: Add skia-for-friction.
* gnu/packages/graphics.scm (skia-for-friction): New variable.

Change-Id: I399ab3433a974b540e95d62cf1c02ea8c91cf76c
2025-05-15 10:28:01 +02:00
Cayetano Santos
7b73f02c38
gnu: prjtrellis: Update to 1.4-0.898329d.
* gnu/packages/electronics.scm (prjtrellis): Update to 1.4-0.898329d.
[arguments] <#:tests?>: Clarify comment.
<#:configure-flags>: New argument.
<#:phases> {setenv-pybind11}: Delete phase.

Change-Id: I7773415ee875fe266e523ee8fda25467db1b85f5
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-15 11:09:11 +09:00
Cayetano Santos via Guix-patches via
f858bc1d4b
gnu: Add python-pydigitalwavetools.
* gnu/packages/electronics.scm (python-pydigitalwavetools): New variable.

Change-Id: Iff4d12231b366cff20b386fb1d1ae121ef50e51e
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-15 11:09:11 +09:00
Giacomo Leidi
30259d52e1
services: oci-container-configuration: Move to (gnu services containers).
This patch moves the oci-container-configuration and related
configuration records to (gnu services containers).
Public symbols are still exported for backwards
compatibility but since the oci-container-service-type will be
deprecated in favor of the more general oci-service-type, everything is
moved outside of the docker related module.

* gnu/services/docker.scm: Move everything related to oci-container-configuration
to...
* gnu/services/containers.scm: ...here.scm.

Change-Id: Iae599dd5cc7442eb632f0c1b3b12f6b928397ae7
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-15 11:09:11 +09:00
Giacomo Leidi
92058c15c8
services: rootless-podman: Use login shell.
This commit allows for having PATH set when changing the owner of
/sys/fs/group.

* gnu/services/containers.scm (crgroups-fs-owner): Use login shell.

Change-Id: I9510c637a5332325e05ca5ebc9dfd4de32685c50
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-15 11:09:11 +09:00
Evgeny Pisemsky
d11b85b60e
gnu: python-platypush: Update to 1.3.6.
* gnu/packages/engineering.scm (python-platypush): Update to 1.3.6.

Change-Id: I397d556a8ecb01a0ef3931ec7beb266aa7bb9016
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Reviewed-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-05-15 11:09:11 +09:00
Ashvith Shetty
960efc55b0
gnu: micro: Fix version flag variables and syntax highlighting.
* gnu/packages/text-editors.scm (micro)[arguments]: Fix import
and unpack path.  Add build flags to set version, hash and build
date variables through ldflags.  Add a go-generate phase before
the build phase to generate syntax files for highlighting.

Change-Id: Ifa56e8760a702f4954343ceaf6b77d97bc5c69fd
2025-05-14 23:00:28 +02:00
Attila Lendvai
4567f589d8
gnu: gpaste: Update to 45.2.
This fixes the build of the main app, but the GNOME Shell extension
remains broken.

* gnu/packages/gnome-xyz.scm (gpaste): Update to 45.2.
[inputs]: Remove ‘mutter’.
[arguments]: In ‘fix-introspection-install-dir’, adjust typelib variable
name.
* gnu/packages/patches/gpaste-fix-paths.patch: Update.

Change-Id: Ia80bddf9bf0978cd7a51a399ca3bf8f425377a6f
2025-05-14 22:45:20 +02:00
Ludovic Courtès
b47eed5ea7
build: Fix substitutions for .service files.
Fixes <https://issues.guix.gnu.org/78318>.

This is a followup to 107eb8ee8f.

* nix/local.mk (etc/guix-%.service): Add ‘g’ for ‘@localstatedir@’
substitution.  Substitute ‘@storedir@’.

Reported-by: Ido Yariv <yarivido@gmail.com>
Change-Id: I9b53d3a6d713a000bc0a7a57f667badc00d2dff8
2025-05-14 22:39:03 +02:00
Dariqq
92869fcc75
gnu: home: Use ‘shepherd-for-home’ as the default shepherd.
Fixes <https://issues.guix.gnu.org/73903>.

* gnu/home/services/shepherd.scm (home-shepherd-configuration): Change default
value of shepherd field to shepherd-for-home.

Change-Id: I3773403bb1fcdcbe2acb1bbcbfaa009f4d31ace4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-14 18:11:07 +02:00
Dariqq
de247e4057
gnu: Add shepherd-for-home.
* gnu/packages/admin.scm (shepherd-for-home): New variable.

Change-Id: If66c7e7b688de239ca862326b51592b43ba22c25
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
2025-05-14 18:11:07 +02:00
Ludovic Courtès
b79fcdf444
gnu: texlive: Export ‘texlive-updmap.cfg’.
This is a followup to 4df6eda30f.

* gnu/packages/tex.scm (texlive-updmap.cfg): Define with
‘define-deprecated/public-alias’.

Change-Id: I195e9a850d1641be8589414af6554fc3bac3e862
2025-05-14 18:11:06 +02:00