Commit graph

149286 commits

Author SHA1 Message Date
Brian Kubisiak
a945eb151a
pack: Allow cross-compiling with '--relocatable'.
* guix/scripts/pack.scm (c-compiler-compiler): Remove exception when
cross-compiling and always build gexp->script for the host.
[toolchain]: Use standard-cross-packages when cross-compiling.
[search-paths]: Use package-search-paths instead of
package-native-search-paths when cross-compiling.
[run]: Use cc-for-target and strip-for-target.

Change-Id: I5503e48b3394fdfee06999f8d1ad82f5f0d9af96
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:06 +01:00
Herman Rimm
e3bf81c7df
gnu: libcbor: Update to 0.11.0.
* gnu/packages/compression.scm (libcbor): Update.

Change-Id: Ie372a9a73369eddac0620394e3e3608d8f27e0b6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:06 +01:00
Richard Sent
6ec3c260a1
services: Add resize-file-system-service.
* gnu/services/admin.scm (resize-file-system-configuration): New configuration
type.
(resize-file-system-shepherd-service): New procedure.
(resize-file-system-service-type): New variable.
* doc/guix.texi (Miscallaneous Services): Document it.

Change-Id: Icae2fefc9a8d936d4c3add47520258b341f689a4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:05 +01:00
Richard Sent
4fc1ee837b
packages: cloud-utils: Add missing growpart programs to path.
This ensures growpart can run in environments that may not have a PATH
variable set.

* gnu/packages/admin.scm (cloud-utils): Augment growpart PATH with necessary
programs.

Change-Id: Idf0ca9e14e4c9d82208fbf715dd0b235cd5a371b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:05 +01:00
Simon Tournier
79f8769530
gnu: cgit: Remove input labels.
* gnu/packages/version-control.scm (cgit)
[inputs]: Remove labels.
[arguments]<phases>: Adjust.

Change-Id: Iff479fa636f7a4c4fef5137ae22934d4e213223b
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:05 +01:00
Simon Tournier
1c35fe0831
gnu: gnulib: Move PropList.txt origin from phases to native-inputs.
* gnu/packages/dlang.scm (gnulib-checkout)[arguments]<phases>: Move PropList
origin from here...
[native-inputs]: ...to here.

Change-Id: I3576a169837039bc6beaae0d68ab459ed642e3c8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:20:53 +01:00
Simon Tournier
8581717065
gnu: farstream: Move common origin from phases to native-inputs.
* gnu/packages/dlang.scm (farstream)[arguments]<phases>: Move common
origin from here...
[native-inputs]: ...to here.

Change-Id: I0023bca2fc021b82875b1ec7329c7e37116df0b3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:19:56 +01:00
Simon Tournier
6606c46490
gnu: smithforth: Move system.fs origin from phases to native-inputs.
* gnu/packages/dlang.scm (smithforth)[arguments]<phases>: Move system.fs
origin from here...
[native-inputs]: ...to here.

Change-Id: I82ff81f72dbe2ecf70fbbd44674596e1a62cadcf
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:19:56 +01:00
Simon Tournier
9320d86029
gnu: dmd-bootstrap: Move phobos origin from phases to native-inputs.
* gnu/packages/dlang.scm (dmd-bootstrap)[arguments]<phases>: Move phobos
origin from here...
[native-inputs]: ...to here.

Change-Id: I10cb5f628dad2fdbb01df58134996bdcd0b73d62
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:19:56 +01:00
Simon Tournier
4410b818df
gnu: gnome-recipes: Move libgd origin from phases to native-inputs.
* gnu/packages/dlang.scm (gnome-recipes)[arguments]<phases>: Move libgd
origin from here...
[native-inputs]: ...to here.

Change-Id: Ic1775a66608e114b5b31058386c8b739c155b7a5
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:19:56 +01:00
Ludovic Courtès
f8f005815e
packages: Use origin file names as their input labels.
* guix/packages.scm (add-input-label): Rely on 'origin-actual-file-name' for
internal inputs labels.
* tests/packages.scm ("this-package-input, origin"): New test.
* doc/guix.texi (package Reference): Mention origin lookup for
‘lookup-package-input’ & co.
* gnu/packages/base.scm (tzdata)[inputs]: Reintroduce label.
* gnu/packages/tex.scm (texlive-hyphen-complete)[inputs]: Likewise.
(texlive-newverbs)[native-inputs]: Likewise.

Change-Id: I6ba5352b1b1b8ab810da3730b09cb9db61d6429c
Co-authored-by: Simon Tournier <zimon.toutoune@gmail.com>
2024-12-16 00:19:56 +01:00
Danny Milosavljevic
e9e4b2fafd
gnu: python-extension-helpers: Fix build.
* gnu/packages/python-xyz.scm (python-extension-helpers)[native-inputs]:
Add python-pip.

Change-Id: I831a04e0581e5bbfb975d3cf8cc4ecb1e8ab01fd
2024-12-15 23:39:13 +01:00
Ricardo Wurmus
2743faebb2
gnu: python-deeptools: Add missing inputs.
* gnu/packages/bioinformatics.scm (python-deeptools)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I36e563e9fbdaf9c34b9ca8437c3559e04b3f58a6
2024-12-15 20:34:52 +01:00
Ricardo Wurmus
ca0262ad5e
gnu: python-xarray: Disable bad tests.
* gnu/packages/python-science.scm (python-xarray)[arguments]: Disable two
tests.

Change-Id: Ia9799a5bd247907ee875925431cd0fe2714f51b3
2024-12-15 20:22:51 +01:00
Ricardo Wurmus
e4aeec2fe4
gnu: snakemake: Add missing inputs.
* gnu/packages/python-xyz.scm (snakemake)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I133a813d1c5a5d6d7c4450d09987ee94e97b9089
2024-12-15 20:21:21 +01:00
Ricardo Wurmus
ba450f1879
gnu: python-loompy: Fix build.
* gnu/packages/bioinformatics.scm (python-loompy)[build-system]: Use
pyproject-build-system.
[arguments]: Remove custom 'check phase; add phase 'numpy-compatibility.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I2a3121e042fb7f7980bae14cea3e256fd4c9b115
2024-12-15 20:16:29 +01:00
Ian Eure
de4ab8c770
gnu: python-jellyfin-apiclient: Fix build.
* gnu/packages/python-xyz.scm (python-jellyfin-apiclient)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I8966718c60e44e398ab56ace905f4105a8a44569
2024-12-15 19:56:25 +01:00
Ian Eure
356e0ce87f
gnu: python-sqlalchemy-2: Fix build.
* gnu/packages/databases.scm (python-sqlalchemy-2)[native-inputs]: Add
python-wheel.

Change-Id: Ie35026f3049f9103397979cc6d0b8b347584d92d
2024-12-15 19:55:55 +01:00
Ricardo Wurmus
8bc678722e
gnu: python-numba: Update to 0.59.1.
* gnu/packages/python-xyz.scm (python-numba): Update to 0.59.1.
[build-system]: Use pyproject-build-system.
[arguments]: Delete sysinfo tests in phase 'disable-failing-tests.
[propagated-inputs]: Remove python-singledispatch.
[native-inputs]: Remove python-jinja2 and python-pygments; add
python-setuptools and python-wheel.

Change-Id: Ic41e1e292601f85434af48d5752a8d57533f9452
2024-12-15 19:54:08 +01:00
Ricardo Wurmus
1318aa10aa
gnu: python-llvmlite: Update to 0.42.0.
* gnu/packages/llvm.scm (python-llvmlite): Update to 0.42.0; inherit from
llvm-14.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.
[inputs]: Update patches.

Change-Id: I4c1c5741a31af49912fc42ebe2d6784c326e7d41
2024-12-15 19:54:08 +01:00
Ricardo Wurmus
ae83542f84
doc: Fix variable name.
* doc/guix.texi (Sway window manager): Replace %sway-default-execs with
%sway-default-startup-programs.

Change-Id: Ib848dee67a7e8083042cac45479e99f083350cf7
2024-12-15 19:54:07 +01:00
Zheng Junjie
65892d9f20
gnu: python-sentry-sdk: Fix build.
* gnu/packages/python-xyz.scm (python-sentry-sdk)[arguments]<#:phases>: Add
fix-test phase. Skip test_threading and test_transport test.

Change-Id: Iee8e3909d8e581eb6fbe5e45a103645409094888
2024-12-16 00:14:34 +08:00
Efraim Flashner
e1143622ed
gnu: python-awscrt: Fix build.
* gnu/packages/python-web.scm (python-awscrt)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I810ca9e4d5ecfd73786b2a4a60a1ff51faf8b252
2024-12-15 17:50:48 +02:00
Efraim Flashner
2f2efbfef9
gnu: python-noiseprotocol: Fix build.
* gnu/packages/python-web.scm (python-noiseprotocol)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I43110aa61b2379c696170453473f005c36de3a8e
2024-12-15 17:50:48 +02:00
Ashish SHUKLA
1da5c7216e
gnu: tuxedo-keyboard: Update to 4.11.7.
* gnu/packages/linux.scm (tuxedo-keyboard): Update to 4.11.7.

Change-Id: I5e158b40b46ceb5525d3da75c7d3d473b0825485
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-15 21:18:23 +08:00
Zheng Junjie
d52d8fe596
gnu: catatonit: Use git source.
* gnu/packages/containers.scm (catatonit)[source]: Switch to git-fetch.

Change-Id: Ic4340262a554a8799281b56074865b6d7f3a2378
2024-12-15 21:09:05 +08:00
Tomas Volf
6dfc0a0d84
gnu: catatonit: Update to 0.2.1.
* gnu/packages/containers.scm (catatonit): Update to 0.2.1.

Change-Id: I040693ca23c990f187c3f574e46927fc61e1498f
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-15 21:01:00 +08:00
Ashish SHUKLA
a386f680f3
gnu: weechat: Update to 4.5.0.
* gnu/packages/irc.scm (weechat): Update to 4.5.0.

Change-Id: I903a418eb4aa7faf27d77185e40651d905122766
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-15 20:09:13 +08:00
Zheng Junjie
b720aa9c2e
gnu: python-pygdbmi: Fix build.
* gnu/packages/python-xyz.scm (python-pygdbmi)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I3c21fd1e8af54f672addaa5eee2ed0bfa10c011e
2024-12-15 11:33:13 +08:00
Danny Milosavljevic
cfd4f56f75
gnu: python-jupytext: Fix build.
* gnu/packages/python-xyz.scm (python-jupytext)[native-inputs]: Add
python-toml.

Change-Id: If2c19ccac1d5d8167f27b28c535a95acaca32d48
2024-12-15 02:00:36 +01:00
Danny Milosavljevic
64ac17035d
gnu: python-pytest-shard: Fix build.
* gnu/packages/python-check.scm (python-pytest-shard)[native-inputs]: Add
python-setuptools python-wheel.

Change-Id: I49b93ffb7fbdecf0297d979fae4baa6c25aa6efb
2024-12-14 23:05:21 +01:00
Danny Milosavljevic
07ce86b65d
gnu: onnx: Fix build.
* gnu/packages/machine-learning.scm (onnx)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I80dbd5fff26c6afe3a496228f7c02c38efe7d3e0
2024-12-14 22:32:06 +01:00
Danny Milosavljevic
843bec9a15
gnu: python-nptyping: Revert change.
Revert part of commit ca305f0716.

Change-Id: Id9a91a20fa35bac12e78a05fdc514fd954e4c178
2024-12-14 22:25:37 +01:00
Danny Milosavljevic
ca305f0716
gnu: python-pytest-flakefinder: Fix build.
* gnu/packages/python-check.scm (python-pytest-flakefinder)[native-inputs]:
Add python-wheel, python-setuptools.

Change-Id: Ic43963f7877901923f266cc89d07380bb0f66bfd
2024-12-14 22:14:43 +01:00
Danny Milosavljevic
187a223dcb
gnu: python-ipykernel: Fix build.
* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]<#:test-flags>:
Ignore DeprecationWarning.

Change-Id: I73cb5e43321715d0dbeeff281ecbd9001e1b0e43
2024-12-14 21:54:40 +01:00
Danny Milosavljevic
ee2231f86f
gnu: python-jupyter-client: Fix build.
* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]<#:phases>
[check]: Ignore DeprecationWarning.

Change-Id: I62fe07725e8aaf2bd7d5c4022f11237320727cfe
2024-12-14 21:30:42 +01:00
Efraim Flashner
af027c815f
gnu: python-libvirt: Fix build.
* gnu/packages/virtualization.scm (python-libvirt)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I3f5ada563ad66b67e2d0b67a027ff8efad9bce99
2024-12-14 21:37:24 +02:00
Efraim Flashner
07aced5c2e
gnu: b4: Fix build.
* gnu/packages/version-control.scm (b4)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: Ib9406def598f4654f564286d47fe1821a712367f
2024-12-14 21:33:04 +02:00
Efraim Flashner
87ce159bc1
gnu: python-sip: Skip the test phase.
* gnu/packages/qt.scm (python-sip)[arguments]: Skip the tests.

Change-Id: I329d774ab4abe25dc9a5db7b8f49ff548590d310
2024-12-14 21:33:04 +02:00
Efraim Flashner
00b86f5817
gnu: python-setuptools-scm-next: Fix build.
* gnu/packages/python-build.scm (python-setuptools-scm-next)
[native-inputs]: Add python-wheel.

Change-Id: Ib5ba510b67f652119f20b0e5a601cc7082716427
2024-12-14 21:32:56 +02:00
Efraim Flashner
ace9a96f5b
gnu: vdirsyncer: Fix build.
* gnu/packages/dav.scm (vdirsyncer)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: Ie949357cad03d55f79d4d73c1be9aaec50e53696
2024-12-14 21:32:51 +02:00
Efraim Flashner
3545b0f9c3
gnu: python-icalendar: Fix build.
* gnu/packages/python-xyz.scm (python-icalendar)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ibb367c723895ea82c71d954896c9969f3a2bd785
2024-12-14 21:32:46 +02:00
Efraim Flashner
43b8a238a2
gnu: python-urwidgets: Update to 0.2.1.
* gnu/packages/python-xyz.scm (python-urwidgets): Update to 0.2.1.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I31f06eab91c435f7192812310a6a6b001145f60e
2024-12-14 21:32:46 +02:00
Efraim Flashner
ce1032d25b
gnu: toot: Fix build.
* gnu/packages/fediverse.scm (toot)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I404c25a277f455169c294e8fdcfcd1596ebce0e1
2024-12-14 21:32:30 +02:00
Tomas Volf
e92b20a41a
services: mingetty: Support waiting on shepherd services.
For auto-login on systems with elogind, dbus-system needs to be started.  This
commit adds ability to express that ordering.

* gnu/services/base.scm (<mingetty-configuration>): Add shepherd-requirement
field.
(mingetty-shepherd-service): Use it.
* doc/guix.texi (Base Services)<mingetty-configuration>: Document it.

Change-Id: Iedbdc4375180740379d561aa193d7c63350d2e7b
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-12-15 00:19:41 +09:00
Tomas Volf
a64a3a14e8
services: mingetty: Rename misnamed accessors.
Rename the accessors to ensure all start with `mingetty-configuration-'
prefix.  Some were named just `mingetty-$FIELD', instead of
`mingetty-configuration-$FIELD'.

The renaming *is* backwards compatible, since in the define-module's #:export
argument the correct (`mingetty-configuration-$FIELD') were used already and
thus the accessors were not accessible.

* gnu/services/base.scm (<mingetty-configuration>): Rename accessors for
auto-login, login-program, login-pause?, clear-on-logout?.

Change-Id: I4557a82498805ade0b341feda9d33eccc305690f
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-12-15 00:19:41 +09:00
Tomas Volf
7068f6f7a5
services: mingetty: Add additional configuration options.
Not all aspects of mingetty were configurable, so this commit adds the
additional configuration fields to support that.

* gnu/services/base.scm (<mingetty-configuration>): Add delay, print-issue,
print-hostname, nice, working-directory, root-directory fields.
(mingetty-shepherd-service): Use the new fields.
(define-module)<#:export>: Export the new accessors.
* doc/guix.texi (Base Services)<mingetty-configuration>: Document the
additional field.

Change-Id: I4557a82498805ade0b341feda9d33eccc305690f
2024-12-15 00:19:41 +09:00
Zheng Junjie
b8d72efbb1
gnu: python-argparse-manpage: Fix build.
* gnu/packages/python-xyz.scm (python-argparse-manpage)[native-inputs]: Add
python-pip, python-setuptools and python-wheel.

Change-Id: Ibb2ceb41f74d6a39df7a423b55a9ee91aae9948e
2024-12-14 22:15:45 +08:00
Danny Milosavljevic
65d1edf54c
gnu: autopep8: Update to 2.0.4.
* gnu/packages/python-xyz.scm (autopep8): Update to 2.0.4.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Replace python-toml by python-tomli.
[native-inputs]: Add python-setuptools, python-wheel.
[arguments]<#:phases>[prepare-check]: Add phase.

Change-Id: I3b92521e5cfe5d527f7836deb653909197b25145
2024-12-14 15:06:30 +01:00
Josep Bigorra
51263dc34d
gnu: Add qt6ct.
* gnu/packages/qt.scm (qt6ct): New variable.

Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Change-Id: Icc6807229a56d1638627bce3f1e60949f74a446c
2024-12-14 21:09:43 +08:00