Commit Graph

115360 Commits

Author SHA1 Message Date
Ricardo Wurmus
23a575f97c
gnu: Add python-omnipath.
* gnu/packages/python-web.scm (python-omnipath): New variable.
2023-05-11 17:12:54 +02:00
Ricardo Wurmus
6cac909c95
gnu: Add python-inflect.
* gnu/packages/python-xyz.scm (python-inflect): New variable.
2023-05-11 17:12:54 +02:00
Ricardo Wurmus
0616939641
gnu: Add python-docrep.
* gnu/packages/python-xyz.scm (python-docrep): New variable.
2023-05-11 17:12:54 +02:00
Ricardo Wurmus
0a8c46e89f
gnu: Add python-pytest-enabler.
* gnu/packages/python-check.scm (python-pytest-enabler): New variable.
2023-05-11 17:12:54 +02:00
Ricardo Wurmus
5e07608a30
gnu: Add python-adjusttext.
* gnu/packages/python-xyz.scm (python-adjusttext): New variable.
2023-05-11 17:12:54 +02:00
Bruno Victal
1e4c45b0dc
tests: Add vnstat tests.
* gnu/tests/vnstat.scm: New file.
* gnu/local.mk: Register it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:29 +02:00
Bruno Victal
ca52cdd647
services: inetd: Export accessors.
* gnu/services/networking.scm: Export inetd-configuration?,
inetd-configuration-program, inetd-configuration-entries, inetd-entry?,
inetd-entry-node, inetd-entry-name, inetd-entry-socket-type,
inetd-entry-protocol, inetd-entry-wait?, inetd-entry-user, inetd-entry-program
and inetd-entry-arguments.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:29 +02:00
Bruno Victal
0e3bb48d36
services: Add vnstat-service-type.
* gnu/services/monitoring.scm (vnstat-service-type): New variable.
* doc/guix.texi (Monitoring Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:29 +02:00
Nathaniel Nicandro
2ecf4a9ba3
doc: Update dicod-configuration example
* doc/guix.texi (Dictionary Service): Update dicod-configuration example to
fix outdated WordNet database configuration.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:29 +02:00
Simon Tournier
b8e912c35f
gnu: barrier: Include NULL compatibility.
Fixes <https://bugs.gnu.org/63244>.
Reported by <john@fremlin.org>

* gnu/packages/barrier.scm (barrier)[arguments]: Use G-exp, add phases
including NULL macro.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:28 +02:00
Greg Hogan
92a7817fcb
gnu: git: Update to 2.40.1 [security fixes].
Fixes CVE-2023-25652 and CVE-2023-29007.

* gnu/packages/version-control.scm (git): Update to 2.40.1.
(git-minimal)[arguments]: Rewrite to use gexps.  In
'remove-unusable-perl-commands' phase, make "git-add--interactive"
removal conditional.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:28 +02:00
Ivana Drazovic
b984ac16dc
gnu: laby: Add patch for being able to execute game code.
Reported upstream at https://github.com/sgimenez/laby/pull/68

* gnu/packages/patches/laby-use-tmpdir-from-runtime.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/games.scm (laby)[source]: Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:28 +02:00
Ivana Drazovic
8cb6fc32a6
gnu: laby: Make laby function in pure environments.
* gnu/packages/games.scm (laby)
[build-system]: Switch to 'glib-or-gtk-build-system'.
[inputs]: Add 'gdk-pixbuf' and 'librsvg-for-system'.
[arguments]: Wrap to use SVG-enabled pixbuf loaders.cache.

Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:28 +02:00
Ivana Drazovic
420b6a8555
gnu: laby: Use new package style.
* gnu/packages/games.scm (laby)[arguments]: Use gexps.
Use "this-package-input" to locate package input.

Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:28 +02:00
Gabriel Wicki
199218e372
doc: Clarify substitute* docstring with an example.
* doc/guix.texi (Build Utilities): Update the corresponding passage.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:28 +02:00
Sergey Trofimov
61031dd32f
services: dhcp-client-configuration: Add 'shepherd-requirement' field.
* gnu/services/networking.scm (<dhcp-client-configuration>)
[shepherd-requirement]: New field.
(dhcp-client-shepherd-service): Honor it.
(dhcp-client-configuration-shepherd-requirement): Export accessor.
* doc/guix.texi (Networking Setup): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:28 +02:00
Andrew Patterson
8d442e8a53
gnu: home: services: fontutils: Add support for SXML fragments.
* gnu/home/services/fontutils.scm (add-fontconfig-config-file): Add
support for adding arbitrary SXML configuration into fonts.conf;
* doc/guix.texi (Fonts Services): Update the documentation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:27 +02:00
Maxim Cournoyer
ef0aa7ff8b
.guix-authorizations: Authorize Simon Tournier.
* .guix-authorizations (zimoun): Add OpenPGP key fingerprint.
2023-05-11 10:35:16 -04:00
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