Commit graph

154198 commits

Author SHA1 Message Date
Artyom V. Poptsov
e90bd12f49
gnu: Add cutecom.
* gnu/packages/engineering.scm (cutecom): New variable.

Change-Id: Ib560ba855074514e9e2df1884b49722218b1a410
2025-01-29 00:02:09 +03:00
Ricardo Wurmus
6083002133
gnu: Add python-scikit-misc.
* gnu/packages/python-science.scm (python-scikit-misc): New variable.

Change-Id: I8fb3c46fe8a927e5d2fbd3222a423330e771379e
2025-01-28 21:27:13 +01:00
Thiago Jung Bauermann
f9b1e548c9
profiles: emacs-subdirs: Avoid building circular lists.
This is a follow-up to e9b1329470.  If
the EMACSNATIVELOADPATH environment variable (by mistake) has duplicated
paths, Emacs fails to start up with a message along the lines of

  List contains a loop:
  ("$HOME/.guix-profile/lib/emacs/native-site-lisp" […] . #2)

To prevent this issue in the face of possibly duplicated search path elements,
use non-destructive methods where possible.

* guix/profiles.scm (emacs-subdirs): Use 'append' rather than 'nconc'.

Change-Id: If646b806f24666b5247850d30d2819c7482c130b
Fixes: Emacs "List contains a loop" <https://issues.guix.gnu.org/75709>
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-01-28 20:25:30 +01:00
Ashish SHUKLA
97fb1887ad
gnu: git: Update to 2.48.1. [security fixes]
Fixes the CVE-2024-50349 and CVE-2024-52006.

* gnu/packages/version-control.scm (git-minimal): Update to 2.48.1.
[#:phases]<patch-tests>: Purge purged tests in meson.build.
(git)[#:phases]<build-subtree>: Update to also generate asciidoc.conf.
<install-man-pages>: Update hash.

Change-Id: I6616e95822ded252a9bec1312702016985cb9de7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-28 16:43:30 +01:00
Ludovic Courtès
28e4018e59
grafts: Allow file-like objects in the ‘replacement’ field of <graft>.
This is a followup to and simplification of
3331d675fb.

* guix/grafts.scm (graft-derivation/shallow)[mapping]: Wrap origin and
replacement in ‘with-parameters’.
(cumulative-grafts)[finalize-graft]: Remove, and remove its sole user.
* guix/packages.scm (input-graft, input-cross-graft): Add ‘replacement’
straight into the ‘replacement’ field of <graft>.
* tests/packages.scm ("package-grafts, indirect grafts")
("package-grafts, indirect grafts, propagated inputs")
("package-grafts, same replacement twice")
("package-grafts, dependency on several outputs")
("replacement also grafted"): Adjust accordingly.

Suggested-by: David Elsing <david.elsing@posteo.net>
Change-Id: I286fceae53df9d3051137bbca5f944d51d0c92f3
2025-01-28 14:56:14 +01:00
Ludovic Courtès
3ad2d21671
gexp: ‘with-parameters’ accepts plain store items in its body.
* guix/gexp.scm (compile-parameterized): Return ‘obj’ as-is when it’s
not a struct.
* tests/gexp.scm ("with-parameters + store item"): New test.

Change-Id: I5b5348b98bce923d07f6fa39b2f0948723011db8
2025-01-28 14:56:14 +01:00
Lars Bilke
72de3752f0
gnu: Add xmlpatch.
* gnu/packages/xml.scm (xmlpatch): New variable.

Change-Id: I557f2dfbaadfef11c8ca592bb03ec829782fcb4e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-28 14:56:13 +01:00
Ludovic Courtès
ac728b148f
gnu: lapack: Update to 3.12.0.
* gnu/packages/maths.scm (lapack): Update to 3.12.0 and switch to
‘git-fetch’.
[inputs]: Remove labels.

Change-Id: I3ae813f55ddd3229b9924853cdb8c31c4e420112
Co-authored-by: Andy Tai <atai@atai.org>
2025-01-28 14:56:13 +01:00
Arun Isaac
49a113e3fc
gnu: ccwl: Update to 0.4.0.
* gnu/packages/bioinformatics.scm (ccwl): Update to 0.4.0.

Change-Id: I6726438f3a2ec9bb01971f14a22e4123abc01793
2025-01-28 13:26:51 +00:00
Ashish SHUKLA
1e0777543f
gnu: font-intel-one-mono: Update to 1.4.0.
* gnu/packages/fonts.scm (font-intel-one-mono): Update to 1.4.0.

Change-Id: Idf6801e94230327d4172f15591db2f8a62c064e1
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2025-01-28 13:08:08 +08:00
Tomáš Čech
b3ccf0fb54
gnu: Add xfce4-i3-workspaces-plugin.
* gnu/packages/xfce.scm (xfce4-i3-workspaces-plugin): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Change-Id: Iab03c16391290963db5f834f7b4d72f02d270f41
2025-01-28 13:07:17 +08:00
Tomáš Čech
f793fd5577
gnu: Add i3ipc-glib.
* gnu/packages/wm.scm (i3ipc-glib): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Change-Id: I7a7e882752de4a833ebf082fbe4967dac13840dd
2025-01-28 13:04:15 +08:00
Sharlatan Hellseher
f2b3c36bee
gnu: python-fenics-dijitso: Fix build.
* gnu/packages/simulation.scm (python-fenics-dijitso): Improve style,
fix build, use G-Expressions.
[phases] {check}: Respect tests? flag.
[native-inputs]: Add python-pytest-cov.

Change-Id: I4032735228d36366a7014b48e9d21606628c56a6
2025-01-27 21:22:32 +00:00
Sharlatan Hellseher
a35e975e16
gnu: python-deepdish: Fix indentation.
* gnu/packages/python-science.scm (python-deepdish): Fix indentation.

Change-Id: Idf8a0b5cdb9e371cb5d1f5f51f993da6209342d5
2025-01-27 21:22:32 +00:00
Sharlatan Hellseher
b17657ee86
gnu: python-deepdish: Update to 0.3.7-0.3f2dff7, fix build.
* gnu/packages/python-science.scm (python-deepdish): Update to 0.3.7-0.3f2dff7.
[source]: Swap to git checkout containing fixes for NumPy.
[native-inputs]: Add python-pytest.

Change-Id: Icbc8c0895bcac0bdfede65ac7b6006186c684a70
2025-01-27 21:22:32 +00:00
Sharlatan Hellseher
ab46e9fb53
gnu: python-pods: Update to 0.1.17.
* gnu/packages/python-science.scm (python-pods): Update to 0.1.17.
[native-inputs]: Remove python-setuptools and python-wheel; add python-poetry-core.

Change-Id: I68db152ec47c54ffb92528863e9faedec11440ac
2025-01-27 21:22:31 +00:00
Sharlatan Hellseher
13b6dc1467
gnu: python-paramz: Add missing inputs, fix build.
* gnu/packages/python-science.scm (python-paramz): [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I3d33d04f523a214995e82d03d5bb1ce669962398
2025-01-27 21:22:20 +00:00
Artyom V. Poptsov
0386a78027
gnu: sl: Update to 5.05.
* gnu/packages/toys.scm (sl): Update to 5.05.
[source]<uri>: Set to "https://github.com/eyJhb/sl".

Change-Id: I7e0c3f44ab6741eef4737965faa1cae3f329210c
2025-01-27 23:53:18 +03:00
Ekaitz Zarraga
49ea9bcc4a
gnu: Add python-whenever.
* gnu/packages/python-xyz.scm (python-whenever): New variable.

Change-Id: Idbdcf27dee3d772fdb7e679e6060287e2b6a3aa7
2025-01-27 21:50:07 +01:00
John Kehayias
6c2bc0ab6b
gnu: vkquake: Use compatible SDL2 version (sdl2-2.0).
This fixes a runtime error of "QUAKE ERROR: Your version of SDL library is
incompatible with me.  You need a library version in the line of 2.0.6".

* gnu/packages/games.scm (vkquake)[inputs]: Replace sdl2 with sdl2-2.0.

Change-Id: Iab65796a85a8a8247f565323e5cb1e2c9ae8329e

Reported-by: meaty on #guix
Change-Id: Ifc4d86014a5a9e8e584edbde8057c7929d534303
2025-01-27 15:37:13 -05:00
John Kehayias
f5175a5ab2
gnu: hyprland: Update to 0.47.0.
* gnu/packages/wm.scm (hyprland): Update to 0.47.0.
[arguments]<#:configure-flags>: New field.  Add flag to disable trying to
build hyprpm.

Change-Id: I8a8ff5fd9ff9931322296dadc673ab4ea152520b
2025-01-27 15:21:28 -05:00
John Kehayias
06f6d6930c
gnu: hyprland-protocols: Update to 0.6.1.
* gnu/packages/freedesktop.scm (hyprland-protocols): Update to 0.6.1.

Change-Id: I895dbb23b3da0deefb7854a30b00ce773fb91cb2
2025-01-27 15:21:26 -05:00
John Kehayias
d5fb67472c
gnu: hyprutils: Update to 0.5.0.
* gnu/packages/cpp.scm (hyprutils): Update to 0.5.0.

Change-Id: I82c97dea51298ff92a95489d9a1981ac8e5d46a3
2025-01-27 15:21:25 -05:00
John Kehayias
fa1b8bcbe3
gnu: aquamarine: Update to 0.7.1.
* gnu/packages/xdisorg.scm (aquamarine): Update to 0.7.1.

Change-Id: I2ae4ed9d42db6af28c4ff13cf90234c9bfd3c6b0
2025-01-27 15:21:22 -05:00
Sharlatan Hellseher
25651bab10
gnu: go-github-com-pelletier-go-toml-v2: Disable tests.
* gnu/packages/golang-xyz.scm (go-github-com-pelletier-go-toml-v2)
[arguments] <tests?>: Disable as all of them hang in CI without any
obvious reason.

Change-Id: I90d74254df46d0fb215bae3823e1c1f744156357
2025-01-27 18:13:49 +00:00
Hilton Chain
44d9f05fb3
gnu: minetest-server: Fix tests.
This is a follow-up to 79510f5e62, adjusting
minetest-server for the minetest -> luanti name change too.

* gnu/packages/minetest.scm (minetest-server)[#:phases]<check>: Set
MINETEST_GAME_PATH.
Adjust server executable path.

Change-Id: I4bcf798dea5dc1c920c2747950e970cb5fbddc3f
2025-01-27 22:06:16 +08:00
Cayetano Santos
8069c4c2d0
gnu: surfraw: Update to 2.3.0-0.ebb8131.
* gnu/packages/web.scm (surfraw): Update to 2.3.0-0.ebb8131.

Change-Id: I5ee1766f78b20281454efcd75feca75ecdad2d4f
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:43:25 +01:00
Josep Bigorra
d407dcdc93
gnu: guile-dbi: Switch to Guile 3.0.
* gnu/packages/guile-xyz.scm (guile-dbi)[native-inputs]: Add libltdl.
[propagated-inputs]: Switch to ‘guile-3.0’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Icf898034a480fad52e0ebd2c4c1dc928ba2839d2
2025-01-27 14:42:41 +01:00
Ale Abdo
9187970747
gnu: Add hunspell-dict-pt-pt.
* gnu/packages/hunspell.scm (hunspell-dict-pt-pt): New variable.

Change-Id: I68e4bc15af66648d06acd4ca822a9be8484220fe
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:41 +01:00
Ale Abdo
f3645fdda7
gnu: Add hunspell-dict-pt-br.
* gnu/packages/hunspell.scm (hunspell-dict-pt-br): New variable.

Change-Id: I60f81bb664201851544246e8327e2bf8613b07ae
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:41 +01:00
Evgeny Pisemsky
7d4ff32a21
gnu: Add toilet.
* gnu/packages/figlet.scm (toilet): New variable.

Change-Id: I5288b45e9a5f350dd5682447990493da85fbd7a5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:41 +01:00
Ludovic Courtès
2f3b309f37
linux-container: Ignore EPERM when attempting to mount /sys.
Fixes <https://issues.guix.gnu.org/61690>.

Until now, this would work:

  guix shell --no-cwd -CWP  -- guix shell -C coreutils -- ls -R /home

… but this would not:

  $ guix shell --no-cwd -CWPN  -- guix shell -C coreutils -- ls -R /home
  guix shell: error: mount: mount "none" on "/tmp/guix-directory.Wnc2OI/sys": Operation not permitted

This is annoying and hardly understandable.  Since we already disable
/sys mounts when sharing the global network namespace is asked (as in
‘guix shell -CN‘), for the very same reason, we can just as well disable
/sys mounts anytime it fails with EPERM.

* gnu/build/linux-container.scm (mount-file-systems): Silently ignore
EPERM when attempting to mount /sys.

Change-Id: If85b1d703ab58a98ea9873f4f8fed71a06b7aa63
2025-01-27 14:42:41 +01:00
Denis 'GNUtoo' Carikli
8e946568ea
guix-install.sh: uninstall: Also remove shell completion symlinks.
Since symlinks to shell completion files are installed, it is useful to remove
them during the uninstallation, especially when they point to files that are
removed by 'guix-install.sh --uninstall'.

* etc/guix-install.sh (sys_delete_shell_completion): Create.
  (sys_create_shell_completion): hardcode files being installed.
  (sys_customize_bashrc): call sys_delete_shell_completion.

Change-Id: I70008bb55e7e1604f0c485c798460e160af7c9e5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:41 +01:00
David Elsing
145dfde05f
gnu: python-pytorch-geometric: Update to 2.6.1.
* gnu/packages/machine-learning.scm (python-pytorch-geometric): Update to 2.6.1.
[arguments]<#:phases>: Disable another test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:41 +01:00
David Elsing
40b21618f5
gnu: python-torchvision: Update to 0.20.1.
* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.20.1.
[native-inputs]: Add pybind11.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:41 +01:00
David Elsing
09e78c34af
gnu: python-pytorch-for-r-torch: Fix build.
The build fails because the types of function pointers with return type
'__m256' and 'const __m256' (or '__m512' and 'const __m512') are not treated
as compatible by the compiler.

* gnu/packages/machine-learning.scm (python-pytorch-for-r-torch)
[arguments]: New field.
[inputs]: Add foxi.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
David Elsing
a0a9044d35
gnu: python-pytorch: Update to 2.5.1.
This also updates the qnnpack-pytorch package.

* gnu/packages/machine-learning.scm (%python-pytorch-version): Set to 2.5.1.
(%python-pytorch-src): Adjust hash accordingly.
(python-pytorch)[arguments]<#:phases>: Add 'remove-fr-trace-script
phase. Adjust 'use-system-libraries phase.
[native-inputs]: Add nlohmann-json. Replace cmake with cmake-minimal.
[inputs]: Remove foxi.
* gnu/packages/patches/python-pytorch-fix-codegen.patch: Adjust patch.
* gnu/packages/patches/python-pytorch-system-libraries.patch: Adjust patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
David Elsing
9a6221e76c
gnu: fbgemm: Update to 1.0.0.
* gnu/packages/machine-learning.scm (fbgemm): Update to 1.0.0.
[arguments]: Add #:cmake.
* gnu/packages/patches/fbgemm-use-system-libraries.patch: Adjust patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
David Elsing
598907dbd0
gnu: oneapi-dnnl: Regenerate autogenerated files.
* gnu/packages/machine-learning.scm (oneapi-dnnl)[source]: Add snippet.
[arguments]<#:configure-flags>: Add "-DDNNL_EXPERIMENTAL_UKERNEL=ON".
[arguments]<#:phases>: Add 'codegen phase.
[native-inputs]: New field to add castxml, clang-17 and python.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
David Elsing
8e79dff65b
gnu: python-sympy: Update to 1.13.3.
* gnu/packages/python-xyz.scm (python-sympy): Update to 1.13.3.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Adjust 'check phase.
[native-inputs]: New field to add python-hypothesis, python-pytest,
python-setuptools and python-wheel.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
David Elsing
c8ceb0cb83
gnu: python-optree: Update to 0.14.0.
* gnu/packages/python-xyz.scm (python-optree): Update to 0.14.0.
[source]: Remove patch.
[arguments]<#:test-flags>: Disable additional failing test.
[native-inputs]: Replace pybind11 with pybind11-2.13 and cmake with
cmake-minimal.
* gnu/packages/patches/python-optree-fix-32-bit.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
David Elsing
2f10079c23
gnu: Add pybind11-2.13.
* gnu/packages/python-xyz.scm (pybind11-2.13): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
David Elsing
04e5c96fb1
gnu: onnx: Update to 1.17.0.
* gnu/packages/machine-learning.scm (onnx): Update to 1.17.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:39 +01:00
David Elsing
b0eed01f5b
gnu: flatbuffers-next: Update to 24.12.23.
* gnu/packages/serialization.scm (flatbuffers-next): Update to 24.12.23.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:39 +01:00
David Elsing
5219c43588
gnu: cpp-httplib: Update to 0.18.5.
* gnu/packages/cpp.scm (cpp-httplib): Update to 0.18.5.
[native-inputs] Add curl.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:39 +01:00
David Elsing
6d869d3f6a
gnu: cpuinfo: Update to commit ca156f7.
* gnu/packages/parallel.scm (cpuinfo): Update to commit ca156f7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:39 +01:00
David Elsing
ac35e86403
gnu: asmjit: Update to commit cfc9f81.
* gnu/packages/cpp.scm (asmjit): Update to commit cfc9f81.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:39 +01:00
Hikari
fcd7c7dcad
gnu: Add wideriver.
* gnu/packages/wm.scm (wideriver): New variable.

Change-Id: Iab2a6bd8bd02098105848d240af0271df44b58bf
2025-01-27 19:53:01 +08:00
Zheng Junjie
9fc3233d60
gnu: nvi: Fix build on gcc-14.
* gnu/packages/nvi.scm (nvi)[arguments]<#:make-flags>: Add CFLAGS=-g -O2
-Wno-incompatible-pointer-types -Wno-implicit-function-declaration.

Change-Id: Idb0b26dc29f90cd84aff5ac4da8b8aef5e0c1299
2025-01-27 19:53:01 +08:00
Matthias Riße
ed7c8ab413
gnu: git-annex: Update to 10.20250115.
* gnu/packages/haskell-apps.scm (git-annex): Update to 10.20250115.

Change-Id: I567962854682007c0db43e949fa451046b52bdba
2025-01-27 19:53:01 +08:00