Commit graph

115342 commits

Author SHA1 Message Date
zamfofex
b718e42c96
gnu: Add oneDNN.
* gnu/packages/machine-learning.scm (oneapi-dnnl): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-11 22:19:08 +08:00
zamfofex
af6ed2fc14
gnu: Add ISPC.
* gnu/packages/c.scm (ispc): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-11 22:19:08 +08:00
Ricardo Wurmus
4557c83a7d
gnu: python-distributed: Update to 2023.4.1.
* gnu/packages/python-science.scm (python-distributed): Update to 2023.4.1.
[source]: Remove snippet.
[arguments]: Update build phase 'versioneer; restore 'sanity-check phase;
simplify custom 'check phase; add 'fix-pytest-config phase; use #:test-flags.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-importlib-metadata.
2023-05-11 15:59:22 +02:00
Ricardo Wurmus
aa17958ca9
gnu: python-zict: Update to 3.0.0.
* gnu/packages/python-xyz.scm (python-zict): Update to 3.0.0.
[build-system]: Use pyproject-build-system.
[arguments]: Ignore optional lmdb test.
[native-inputs]: Add python-pytest-asyncio, python-pytest-repeat, and
python-pytest-timeout.
2023-05-11 15:59:22 +02:00
Ricardo Wurmus
ab91da5004
gnu: python-dask: Update to 2023.4.1.
* gnu/packages/python-xyz.scm (python-dask): Update to 2023.4.1.
[source]: Remove snippet.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; update 'versioneer phase; add
'fix-pytest-config and 'pre-check phases; set #:test-flags.
[native-inputs]: Add python-click and python-importlib-metadata.
2023-05-11 15:59:22 +02:00
Ricardo Wurmus
e1c3adb27d
gnu: python-fsspec: Update to 2023.5.0.
* gnu/packages/python-xyz.scm (python-fsspec): Update to 2023.5.0.
[native-inputs]: Add python-pytest, python-pytest-mock, and python-numpy.
[propagated-inputs]: Add python-aiohttp, python-libarchive-c, python-requests,
and python-tqdm.
[arguments]: Add phase to embed the correct version string; disable tests that
need internet access.
[build-system]: Use pyproject-build-system.
[source]: Ftech sources with git to include tests.
2023-05-11 15:59:22 +02:00
Maxim Cournoyer
125f52c443
teams: Fix script to produce a single X-Debbugs-Cc header.
Fixes <https://issues.guix.gnu.org/63378>.

* etc/teams.scm.in (cc): Adjust format pattern.
(sort-members, member->string): New procedures.
(list-members): Refactor in terms of the above procedures.
(main): Adjust the output of the 'cc-members-header-cmd' and
'cc-mentors-header-cmd' actions.

Reviewed-by: Arun Isaac <arunisaac@systemreboot.net>
2023-05-11 09:15:48 -04:00
Ludovic Courtès
3186a52e11
download: Refer to the 'guile-gnutls' package and not 'gnutls'.
This reinstates c625e5b64d, which was
reverted due to a circular dependency:

  https://issues.guix.gnu.org/63331

This is a followup to 305794762c, which
removed Guile bindings from 'gnutls'.

* guix/android-repo-download.scm (android-repo-fetch): Refer to
'guile-gnutls instead of 'gnutls.
* guix/cvs-download.scm (cvs-fetch): Likewise.
* guix/git-download.scm (git-fetch): Likewise.
* guix/hg-download.scm (hg-fetch): Likewise.
2023-05-11 13:23:08 +02:00
Ludovic Courtès
468b5d9548
gnu: guile-gnutls: Fix cross-compilation.
The patch was inadvertently removed in
5e1e674421.

* gnu/packages/tls.scm (guile-gnutls)[source]: Re-add 'gnutls-cross.patch'.
2023-05-11 13:21:45 +02:00
Josselin Poiret
c970edad23
services: elogind: Add elogind as a shepherd PAM requirement.
* gnu/services/desktop.scm (pam-extension-procedure): Add the elogind shepherd
requirement to the PAM extension.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 13:21:45 +02:00
Josselin Poiret
2df5d4fd18
system: pam: Let PAM extensions add shepherd requirements.
* gnu/system/pam.scm (<pam-extension>): New record type.
(pam-shepherd-service): Add Shepherd synchronization point.

* gnu/services/mail.scm (dovecot-shepherd-service)
* gnu/services/lightdm.scm (lightdm-shepherd-service)
* gnu/services/mail.scm (opensmtpd-shepherd-service)
* gnu/services/sddm.scm (sddm-shepherd-service)
* gnu/services/ssh.scm (lsh-shepherd-service, openssh-shepherd-service)
* gnu/services/xorg.scm (slim-shepherd-service, gdm-shepherd-service)
* gnu/services/base.scm (greetd-shepherd-services): Add PAM requirement.

* gnu/system/pam.scm (/etc-entry, extend-configuration,
pam-root-service-type, pam-root-service)
* gnu/services/authentication.scm (pam-ldap-pam-service)
* gnu/services/base.scm (pam-limits-service-type)
(greetd-pam-service)
* gnu/services/desktop.scm (pam-gnome-keyring)
* gnu/services/kerberos.scm (pam-krb5-pam-service)
* gnu/services/pam-mount.scm (pam-mount-pam-service): Adapt to use
pam-extension.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 13:21:45 +02:00
Ludovic Courtès
b2a65b4c8c
tests: openvswitch: Wait for 'openvswitch-configuration' to be up.
Checking for "br0" should only be done once the
'openvswitch-configuration' service is up because it's the one that sets
it up.

* gnu/tests/networking.scm (run-openvswitch-test)["openvswitch-configuration
is running"]: New test.
2023-05-11 13:21:45 +02:00
Ludovic Courtès
695042ff10
services: syslog: Do not call 'umask' in PID 1.
Fixes a race condition when starting services in parallel with shepherd
0.10.x whereby a service might create files and directories with umask #o137.

An example is the bitlbee service with its least-authority wrapper: the
wrapper would create a tree with directories set to #o640, thereby
making the whole directory tree inaccessible.

* gnu/services/base.scm (syslog-shepherd-service): Pass #:file-creation-mask
to 'make-forkexec-constructor' instead of calling 'umask' in PID 1.
2023-05-11 13:21:45 +02:00
Ludovic Courtès
3a00aba9e9
services: dicod, bitlbee: Pass 'make-inetd-constructor' a list of endpoints.
'make-inetd-constructor' accepts a list of endpoints since version 0.9.1
of the Shepherd (released in May 2022).

* gnu/services/dict.scm (dicod-shepherd-service): Pass
'make-inetd-constructor' a list of endpoints.
* gnu/services/messaging.scm (bitlbee-shepherd-service): Likewise.
2023-05-11 13:21:45 +02:00
Zhu Zihao
4c7b5207cb
gnu: supercollider: Update to 3.13.0.
* gnu/packages/audio.scm (supercollider): Update to 3.13.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-11 18:46:04 +08:00
Zhu Zihao
3972d5f03c
gnu: supercollider: Use G-expressions.
* gnu/packages/audio.scm (supercollider)[source]: Use G-expression in snippet.
[arguments]: Use G-expressions.
<#:phases>: Replace `(assoc-ref outputs ...)` with `#$output`.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-11 18:29:57 +08:00
Lu Hui
c2cac2e985
gnu: ftxui: Update to 4.0.0.
* gnu/packages/cpp.scm (ftxui): Update to 4.0.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-11 18:15:25 +08:00
kiasoc5
f2a5a32618
gnu: mpv-mpris: Update to 1.0.
* gnu/packages/video.scm (mpv-mpris): Update to 1.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-05-11 12:27:03 +03:00
Lars-Dominik Braun
3d05d54918
gnu: python-pyopengl-accelerate: Update to 3.1.6.
Restores compatibility with Python 3.10.

* gnu/packages/python-xyz.scm (python-pyopengl-accelerate): Update
to 3.1.6.
2023-05-11 09:43:41 +02:00
Lars-Dominik Braun
a13b742fa7
gnu: python-pyopengl: Update to 3.1.6.
* gnu/packages/python-xyz.scm (python-pyopengl): Update to 3.1.6.
2023-05-11 09:43:39 +02:00
Janneke Nieuwenhuizen
705ddc6a4f
gnu: automake: Fix cross-build.
This is a follow-up to commit
    ea908c1c04
    gnu: automake: Remove input labels.

* gnu/packages/autotools.scm (automake)[arguments]: Use "#~" instead of "'".
2023-05-11 09:03:44 +02:00
Janneke Nieuwenhuizen
741a587958
gnu: autoconf: Fix cross-build.
This is a follow-up to commit
    8fa17cb6d5
    gnu: autoconf: Remove input labels.

* gnu/packages/autotools.scm (autoconf-2.69)[arguments]: Use "#~" instead of
"'".
2023-05-11 09:03:15 +02:00
Eric Bavier
b4e5844700
gnu: kodi: Fix build against latest mesa.
* gnu/packages/patches/kodi-mesa-eglchromium.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/kodi.scm (kodi)[source]: Use it.
2023-05-10 13:56:10 -05:00
Eric Bavier
7e15287055
gnu: kodi: Fix build with latest glibc.
* gnu/packages/kodi.scm (kodi)[inputs]: Use most recent 'fmt' and 'spdlog'
packages.
* gnu/packages/logging.scm (spdlog-for-kodi): Delete.
2023-05-10 13:56:04 -05:00
Ricardo Wurmus
b7534e4b5d
gnu: Add python-pytorch-lightning.
* gnu/packages/machine-learning.scm (python-pytorch-lightning): New variable.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus
ff59c49c44
gnu: Add python-jsonargparse.
* gnu/packages/python-xyz.scm (python-jsonargparse): New variable.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus
e171a8bd88
gnu: Add python-docstring-parser.
* gnu/packages/python-xyz.scm (python-docstring-parser): New variable.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus
2ebd5b9adf
gnu: Add python-starsessions-for-pytorch-lightning.
* gnu/packages/python-web.scm (python-starsessions-for-pytorch-lightning): New variable.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus
acb958938a
gnu: Add python-typeshed-client.
* gnu/packages/python-xyz.scm (python-typeshed-client): New variable.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus
7b9e90e40d
gnu: python-torchvision: Update to 0.15.2.
* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.15.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus
452fec7226
gnu: python-arrow: Update to 1.2.3.
* gnu/packages/time.scm (python-arrow): Update to 1.2.3.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus
4d673ba743
gnu: Add python-types-requests.
* gnu/packages/python-xyz.scm (python-types-requests): New variable.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus
26e2610673
gnu: Add python-types-urllib3.
* gnu/packages/python-xyz.scm (python-types-urllib3): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
cb37197a24
gnu: Add python-fastapi-for-pytorch-lightning.
* gnu/packages/python-web.scm (python-fastapi-for-pytorch-lightning): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
3f05f625ea
gnu: Add python-starlette-for-fastapi-0.88.
* gnu/packages/python-web.scm (python-starlette-for-fastapi-0.88): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
463a598585
gnu: Add python-inquirer.
* gnu/packages/machine-learning.scm (python-inquirer): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
9220dee755
gnu: Add python-readchar.
* gnu/packages/machine-learning.scm (python-readchar): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
96c51a9dbf
gnu: python-scikit-optimize: Fix build with newer numpy and sklearn.
* gnu/packages/patches/python-scikit-optimize-1148.patch,
gnu/packages/patches/python-scikit-optimize-1150.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/python-science.scm (python-scikit-optimize)[source]: Fetch with
git and apply patches.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
ff3c55bb98
gnu: Add python-dateutils.
* gnu/packages/time.scm (python-dateutils): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
d071bc5a82
gnu: python-pillow-simd: Update to 9.2.0.
* gnu/packages/python-xyz.scm (python-pillow-simd): Update to 9.2.0.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
9e1cbc62e5
gnu: python-blessed: Update to 1.20.0.
* gnu/packages/python-xyz.scm (python-blessed): Update to 1.20.0.
[source]: Simplify snippet.
[build-system]: Use pyproject-build-system.
[arguments]: Use test-flags to avoid pytest-coverage; remove custom 'check phase.
[propagated-inputs]: Remove python-jinxed python-six.
[native-inputs]: Remove python-mock.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
8f97d96ddf
gnu: Add python-torchmetrics.
* gnu/packages/machine-learning.scm (python-torchmetrics): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
1aa1a6a816
gnu: Add python-types-setuptools.
* gnu/packages/python-xyz.scm (python-types-setuptools): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
d32334eea2
gnu: Add python-mir-eval.
* gnu/packages/python-xyz.scm (python-mir-eval): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
e4480090e2
gnu: Add python-lightning-utilities.
* gnu/packages/machine-learning.scm (python-lightning-utilities): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
7afddfbfa0
gnu: Add python-lightning-cloud.
* gnu/packages/machine-learning.scm (python-lightning-cloud): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
b6b6e89419
gnu: python-pytorch-for-r-torch: Define as alias for python-pytorch.
* gnu/packages/machine-learning.scm (python-pytorch-for-r-torch): Remove
duplicate definition.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
b60ea1cd17
gnu: python-traitlets: Update to 5.9.0.
* gnu/packages/python-xyz.scm (python-traitlets): Update to 5.9.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-hatchling, python-pre-commit, and
python-pytest-mock.
[arguments]: Remove custom 'check phase.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
e43ceae59f
gnu: Add python-deepdiff.
* gnu/packages/python-xyz.scm (python-deepdiff): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus
e652b44725
gnu: python-pytorch: Update to 1.13.1.
* gnu/packages/machine-learning.scm (python-pytorch): Update to  1.13.1.
[source]: Update snippet.
2023-05-10 19:27:07 +02:00