1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-11 10:04:04 +02:00

Compare commits

..

746 Commits

Author SHA1 Message Date
Vagrant Cascadian f0a4f6d214 gnu: linux-libre: Update default version to 7.0.
* gnu/packages/linux.scm (linux-libre-version, linux-libre-gnu-revision,
linux-libre-pristine-source, linux-libre-source, linux-libre,
linux-libre-arm64-mnt-reform): Update to 7.0.
2026-05-27 12:30:54 -07:00
luca da69abdca1 gnu: evince: Update to 48.4.
* gnu/packages/gnome.scm (evince): Update to 48.4.

Change-Id: I2638b0ce644f680a1361b2ff3e9e233eb8131fa3
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-05-27 20:27:45 +02:00
orahcio f4b0275610 gnu: sway: Update to 1.12.
* gnu/packages/wm.scm (sway): Update to 1.12.
[inputs]: Replace wlroots-0.19 with wlroots-0.20.

Change-Id: I66a9c7f4ddf6f84daf0ce239cbb44933ba9dfd3a
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-05-27 20:25:43 +02:00
Cayetano Santos 50454dab4a gnu: Add python-udapi.
* gnu/packages/python-xyz.scm (python-udapi): New variable.

Change-Id: I9e7679c0030ac1fb281f638b286182bb2736a242
2026-05-27 20:04:12 +02:00
Yappaholic 89747ea3ac gnu: mangowm: Update to 0.13.1.
* gnu/packages/wm.scm (mangowm): Update to 0.13.1.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-05-27 19:42:06 +02:00
Zhu Zihao 41111228d5 gnu: 7zip: Update to 26.01 [security-fixes].
Contains Fixes for:
CVE-2026-48095: 7-Zip Heap Buffer Overflow Can Lead to Code Execution

* gnu/packages/compression.scm (7zip): Update to 26.01.

Change-Id: I352bb1669438acd11d68a9cabc638c6c403b169b
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-05-27 18:39:26 +02:00
Reepca Russelstein f519ddf733 daemon: Allow ADDR_NO_RANDOMIZE to be omitted if `--allow-aslr'.
Docker's default seccomp filter prevents use of the ADDR_NO_RANDOMIZE flag
with the personality system call.  It causes personality to return EPERM.  In
general, we assume that any result other than the only documented one, EINVAL,
is caused by seccomp.  If we detect that ADDR_NO_RANDOMIZE is blocked, and the
--allow-aslr option was passed, we simply don't use it.

This allows guix-daemon to continue to work even in these containers, without
any implicit weakening of reproducibility.

Since it is presumably desirable to be able to build guix itself in such an
environment, also pass --allow-aslr to guix-daemon in test-env.

* nix/libstore/globals.hh (Settings::allowASLR): new field.
* nix/nix-daemon/guix-daemon.cc (options): add --allow-aslr option.
  (parse_opt): use it to set Settings::allowASLR.
* nix/libstore/build.cc (DerivationGoal::startBuilder): detect when
  ADDR_NO_RANDOMIZE is blocked and --allow-aslr is passed and don't use it in
  that case.
* doc/guix.texi: document --allow-aslr in "Invoking guix-daemon".
* build-aux/test-env.in: always pass --allow-aslr.

Fixes: guix/guix#3917
Change-Id: I51c5899a9559e161f9e107c2e6a36df395ab3134
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
Merges: #4616
2026-05-27 18:25:16 +02:00
Ludovic Courtès 4ac91ee39c gnu: gdb: Update to 17.2.
* gnu/packages/gdb.scm (gdb-17): Update to 17.2.

Change-Id: Ib3e905ab04a8562a5ca9ddf0a6959e6bc30c7b6a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8806
2026-05-27 18:25:16 +02:00
Ludovic Courtès 752d3c0a52 gnu: lout: Update to 3.43.4.
* gnu/packages/lout.scm (lout): Update to 3.43.4.

Change-Id: I3bf469b427411706ba5b3ef1cdb056174d94a0f0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8805
2026-05-27 18:25:16 +02:00
Ludovic Courtès de20eed853 gnu: man-pages: Update to 6.18.
* gnu/packages/man.scm (man-pages): Update to 6.18.

Change-Id: If778879c9faed3123400b43a2d48a593283ed789
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8808
2026-05-27 18:25:16 +02:00
Ludovic Courtès 9b755bfffd gnu: xdot: Update to 1.6.
* gnu/packages/graphviz.scm (xdot): Update to 1.6.

Change-Id: Id4eac906640421f8651b3a37e87daaf0ea7466c4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8807
2026-05-27 18:25:15 +02:00
Ludovic Courtès bcfe9dba35 ci: (Cross-)build the architecture-specific Linux-libre packages.
* gnu/ci.scm (core-packages): In ‘target-linux?’ case, add the
linux-libre-*-generic architecture-specific kernel packages.

Change-Id: Ie9579b5b77160e57e563542a03fdd6e563fcc193
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8776
2026-05-27 18:25:15 +02:00
André Batista fe11a2a2e9 gnu: mullvadbrowser: Update to 15.0.14.
Fixes CVEs: 2026-8388, 2026-8391, 2026-8401, 2026-8946, 2026-8947,
2026-8949, 2026-8950, 2026-8953, 2026-8954, 2026-8955, 2026-8956,
2026-8957, 2026-8958, 2026-8959, 2026-8961, 2026-8962, 2026-8968,
2026-8970, 2026-8974 and 2026-8975.

See:
<https://www.mozilla.org/en-US/security/advisories/mfsa2026-48/> for
details.

* gnu/packages/tor-browsers.scm (%mullvadbrowser-build-date): Update to
20260518170000.
(%mullvadbrowser-version): Update to 15.0.14.
(%mullvadbrowser-firefox-version): Update to 140.11.0esr-15.0-1-build2.
(mullvadbrowser-translation-base): Update to 6749f7ce29.

Change-Id: I854d2d3db669920c67abc18c624288bc9091e979
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-05-27 17:48:54 +02:00
André Batista 79f8ab94ab gnu: torbrowser: Update to 15.0.14.
Fixes CVEs: 2026-8388, 2026-8391, 2026-8401, 2026-8946, 2026-8947,
2026-8949, 2026-8950, 2026-8953, 2026-8954, 2026-8955, 2026-8956,
2026-8957, 2026-8958, 2026-8959, 2026-8961, 2026-8962, 2026-8968,
2026-8970, 2026-8974 and 2026-8975.

See:
<https://www.mozilla.org/en-US/security/advisories/mfsa2026-48/> for
details.

* gnu/packages/tor-browsers.scm (%torbrowser-build-date): Update to
20260518170000.
(%torbrowser-version): Update to 15.0.14.
(%torbrowser-firefox-version): Update to 140.11.0esr-15.0-1-build3.
(torbrowser-translation-base): Update to 6749f7ce29.
(torbrowser-translation-specific): Update to a2e92e2c255.

Change-Id: I4737675dabde352c2f9602efe9c82d43aaf7c66c
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-05-27 17:48:34 +02:00
Andreas Enge b8d0488032 gnu: Remove packagekit-qt5.
* gnu/packages/qt.scm (packagekit-qt5): Delete variable.

Fixes: guix/guix#8056
Change-Id: I6adb8a34b6339d5be2b9e61d91865465b0e2378d
2026-05-27 17:41:34 +02:00
Andreas Enge 56d9e3e9ce gnu: packagekit-qt6: Disinherit from packagekit-qt5.
* gnu/packages/qt.scm (packagekit-qt6)[inherit]: Drop field.
(version, source, build-system, home-page, license): Copy-paste from
packagekit-qt5.
(arguments, inputs): Rewrite.

Change-Id: I89656a7a03df716d3035096675f2c689bca8b2d5
2026-05-27 17:41:29 +02:00
Andreas Enge 5a90fd6df0 gnu: Remove qcoro-qt5.
* gnu/packages/qt.scm (qcoro-qt5): Delete variable.

Change-Id: I8e35406e3291564ae85de7a87514857b0e0b0bef
2026-05-27 17:41:27 +02:00
Andreas Enge 233640eb06 gnu: qcoro-qt6: Disinherit from qcoro-qt5.
* gnu/packages/qt.scm (qcoro-qt6)[inherit]: Drop field.
[version, source, build-system, native-inputs, home-page, description,
license]: Copy-paste from qcoro-qt5.
[arguments, inputs]: Rewrite.

Change-Id: Ib2dd82f3c28600cfdbec1ff7c02f5e185c05a349
2026-05-27 17:41:24 +02:00
Andreas Enge c276bb2d89 gnu: Remove libqaccessibilityclient-qt5.
* gnu/packages/kde-frameworks.scm (libqaccessibilityclient-qt5): Delete variable.

Change-Id: I2bba01ac7b92b3381f9b37d3aa48b80f13ca5426
2026-05-27 17:41:23 +02:00
Andreas Enge c88cd7fcae gnu: Remove qxlsx-qt5.
* gnu/packages/qt.scm (qxlsx-qt5): Delete variable.

Change-Id: Id271d638c2e30bf374f801dc82e10ad6782c43ce
2026-05-27 17:41:21 +02:00
Andreas Enge d7b397aa91 gnu: Add guile-with-gmp.
This variant compiles with GMP instead of the built-in mini-gmp.

* gnu/packages/guile.scm (guile-with-gmp): New variable.

Change-Id: I82f7d52452fef3817566645cadb7df0f48465cdd
2026-05-27 17:36:52 +02:00
jgart 19da15f871 gnu: trealla: Update to 2.100.10.
* gnu/packages/prolog.scm (trealla): Update to 2.100.10.

Change-Id: I0fe95d759a16d00370d89dd2ae3b15dad97b7580
2026-05-27 09:04:10 -04:00
luca 8e871e15a5 gnu: kcachegrind: Update to 26.04.1.
* gnu/packages/kde-sdk.scm (kcachegrind): Update to 26.04.1.

Change-Id: I4cfde19a7d03d50e20231d5263d2cc7373cf7845
2026-05-27 18:01:12 +05:30
Efraim Flashner bf3c923f6d gnu: openshadinglanguage: Don't use custom check phase.
* gnu/packages/graphics.scm (openshadinglanguage)[arguments]: Add
test-exclude keyword. Remove custom 'check phase.

Change-Id: Ie53ba6e148be22ce0fe75d0d86aa839427b5624b
2026-05-27 11:52:57 +03:00
Efraim Flashner 6c7c1a4b28 gnu: Remove rust-pipewire-0.8.0.fd3d8f7.
* gnu/packages/rust-sources.scm (rust-pipewire-0.8.0.fd3d8f7): Remove
variable.

Change-Id: I1154b5d6b530d5e78855925b89aac2e51a090b8e
2026-05-27 11:52:57 +03:00
Efraim Flashner 646ade357a gnu: keepassxc: Don't use custom check phase.
* gnu/packages/password-utils.scm (keepassxc)[arguments]: Add
test-exclude keyword. Remove custom 'check phase.

Change-Id: Id05c6ae14932c79e3df39ce926da57d0f62a0ca5
2026-05-27 11:52:53 +03:00
luca 91c5e436f6 gnu: ninja: Move to build-tools.
* gnu/packages/build-tools.scm (ninja, ninja/pinned, samurai)
  (samu-as-ninja-wrapper): Move to here...
* gnu/packages/ninja.scm (ninja, ninja/pinned, samurai)
  (samu-as-ninja-wrapper): ...from here.  New deprecated variables.
* guix/build-system/cmake.scm (default-ninja):
  Switch to loading from build-tools module.
* guix/build-system/meson.scm (default-ninja): Likewise.

Change-Id: Ia32fb258159cfcc9a0f1ef91c335c71c25a6d7ef
Closes: https://codeberg.org/guix/guix/issues/3595
Merges: https://codeberg.org/guix/guix/pulls/4329
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-27 16:55:34 +09:00
bdunahu 47deb7a819 gnu: Add font-medieval-sharp.
* gnu/packages/fonts.scm (font-medieval-sharp): New variable.

Change-Id: Icfd91104d0f5d66d8db4fa084463c76484bb3a7f
Merges: https://codeberg.org/guix/guix/pulls/7479
Reviewed-by: moksh <mysticmoksh@riseup.net>
Reviewed-by: kestrel <kestrel.w@proton.me>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-27 16:42:00 +09:00
bdunahu 3cb2f74b0d gnu: pantalaimon: Switch to python-dbus.
Since ef6d874c33 ("gnu: python-notify2: Switch to python-dbus."),
python-notify2 propagates python-dbus rather than python-dbus-1.2.
Because pantalaimon propagates python-notify2 as well as
python-dbus-1.2, we have a collision.

python-dbus-1.2 was specified as an input to pantalaimon
in commit 1f9e47518b ("gnu: python-dbus: Rename to python-dbus-1.2 "),
to adapt the reference, so there should be no compatibility reasons
to use the older version.

* gnu/packages/matrix.scm (pantalaimon)[propagated-inputs]:
  Replace python-dbus-1.2 with python-dbus.

Change-Id: I8da0bfab0d0eb25c00625ca3c1674d41a84caed9
Fixes: https://codeberg.org/guix/guix/issues/8839
Merges: https://codeberg.org/guix/guix/issues/8855
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-27 15:35:26 +09:00
Vagrant Cascadian c1b36b6524 gnu: linux-libre 5.10: Update to 5.10.257.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.257.
(linux-libre-5.10-pristine-source): Update hash.
2026-05-26 20:41:41 -07:00
Vagrant Cascadian e7c2bd4d49 gnu: linux-libre 5.15: Update to 5.15.208.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.208.
(linux-libre-5.15-pristine-source): Update hash.
2026-05-26 20:41:38 -07:00
Vagrant Cascadian 0345a20749 gnu: linux-libre 6.1: Update to 6.1.174.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.174.
(linux-libre-6.1-pristine-source): Update hash.
2026-05-26 20:41:36 -07:00
Vagrant Cascadian 573e9a2f4d gnu: linux-libre 6.6: Update to 6.6.141.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.141.
(linux-libre-6.6-pristine-source): Update hash.
2026-05-26 20:41:33 -07:00
Maxim Cournoyer 17960b2313 doc: Add missing menu entry for volunteer run mirrors.
* doc/guix.texi (Substitutes): Add missing menu entry.

Change-Id: Ia2e6e516ddff3f836b51c34fd8441350793c352d
2026-05-27 09:21:17 +09:00
Anderson Torres 2f6fb22400 gnu: os-prober: Update to 1.84.
* gnu/packages/bootloaders.scm (os-prober): Update to 1.84.
[source]: use git-fetch.

Change-Id: I3b994c8801616df00248858d9f7d8560be1aced6
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Co-Authored-by: Vagrant Cascadian <vagrant@debian.org>
2026-05-26 15:57:14 -07:00
Anderson Torres 63e7c1b4ed gnu: os-prober: Cleanup.
* gnu/packages/bootloaders.scm (os-prober): Cleanup.
[arguments]: Use gexps.
[home-page]: Fix redirect.

Change-Id: I81d0112b198f2176768be58fac220e87f8921310
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-05-26 15:56:32 -07:00
Ron Nazarov cf1c24736e gnu: Add ectool.
* gnu/packages/coreboot.scm (ectool): New variable.

Change-Id: I0fbde5f3c55fc7f43577a73462336859ab48b632
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-05-26 15:12:59 -07:00
Denis 'GNUtoo' Carikli 87ab0daf6b gnu: Add bucts.
* gnu/packages/coreboot.scm (bucts): New variable.

Co-authored-by: Ron Nazarov <ron@noisytoot.org>
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Change-Id: I5964f138c3947298f047afb16dd30b54c396018b
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-05-26 15:12:48 -07:00
Ricardo Wurmus bfc2d9c69b gnu: python-google-pasta: Fix tests.
* gnu/packages/python-xyz.scm (python-google-pasta)[arguments]: Add phase
'fix-tests to patch procedure name.

Change-Id: Id85b61cc827269b7c38dc1159b197d2de8dd37d9
2026-05-26 20:52:52 +02:00
Sören Tempel b433486c7d gnu: mtr: Remove dependency on libcap.
This is only needed so that mtr can call setcap(8) from its Makefile,
which we don't want it to do.

See https://codeberg.org/guix/guix/issues/8614

* gnu/packages/networking.scm (mtr)[inputs]: Remove libcap.

Change-Id: I0c532cc4772ed2336bf3251aa5dc4b857b47fe7e
2026-05-26 19:44:18 +02:00
Sören Tempel 9609336829 services: web: Add system tests for gunicorn.
* gnu/tests/web.scm (%gunicorn-os): New variable.
(run-gunicorn-test): New variable.
(%test-gunicorn): New variable.

Change-Id: I1ee3fd4c29c7c44aa9c271c6775f953790ca60c3
2026-05-26 18:43:22 +02:00
Sören Tempel 056de157b2 services: gunicorn: Allow configuration of control-socket.
Since gunicorn is run in its own Linux namespace, where $HOME is
read-only, creating that control-socket fails and prevents gunicorn
from starting by default.  Therefore, this patch disables it by
default but allows supplying a custom path via a newly added
configuration field.

* gnu/services/web.scm (gunicorn-app): Add gunicorn-app-control-socket.
(gunicorn-shepherd-services): Respect gunicorn-app-control-socket.
* doc/guix.texi (gunicorn-app): Document it.

Change-Id: I648079b630293a47801713425728a4d602c8088c
2026-05-26 18:43:22 +02:00
Sören Tempel 5b4c715e2a services: gunicorn: Fix usage with non-uri listening addresses.
If the provided unix-socket? parameter is not an URI uri->string returns
to be raised.  For example, on inputs such as "0.0.0.0:8080".  This is
fixed in this commit by first checking if the input parameter is a valid
URI, before calling uri-scheme.

* gnu/tests/web.scm (unix-socket?): Check URI before calling uri-scheme.

Change-Id: Icd9cb1e215a09b1f5dcbec4630e7df3256cde4aa
2026-05-26 18:43:16 +02:00
Nicolas Goaziou 04eaafe0dc gnu: texlive-neoschool: Update to 2026.1-79141.
* gnu/packages/tex.scm (texlive-neoschool): Update to 2026.1-79141.

Change-Id: Iaeb2ad32d983ad49ab2470bdbcfa88eac2dab5dd
2026-05-26 18:36:00 +02:00
jgart 72ad38a46f gnu: trealla: Update to 2.100.9.
* gnu/packages/prolog.scm (trealla): Update to 2.100.9.

Change-Id: Id312720718da7db981122662793384bae95091a6
2026-05-26 12:19:37 -04:00
Anderson Torres 3116440b9a gnu: Remove emacs-4clojure.
Since 2025-12-30 the repository is archived.  Further, the 4clojure site
itself is down for good.

* gnu/packages/emacs-xyz.scm (emacs-4clojure): Delete variable.

Closes guix/guix#7841
Fixes guix/guix!8583

Change-Id: Idd3c12f8a2bf328ff5a35cb63039176d80274fe5
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-05-26 18:15:05 +02:00
Nguyễn Gia Phong d12594eb54 Revert "gnu: qtile: Update to 0.36.0."
This reverts commit 8709675a51.
2026-05-27 00:09:10 +09:00
Cayetano Santos 47dffdc2f6 gnu: nvc: Update to 1.21.0.
* gnu/packages/electronics.scm (nvc): Update to 1.21.0.

Change-Id: I05d41216badd2369722be1ce3ba4b3d8e3138589
2026-05-26 15:13:22 +02:00
Roman Scherer 567d2bc7ea gnu: gtk: Disable svg suite on aarch64.
* gnu/packages/gtk.scm (gtk)[#:configure-flags]: If target-aarch64?,
add “--no-suite=svg”.

Change-Id: Ife603e82bcdacc7034e25e4831dc39a4ad793d3b
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-05-26 15:03:07 +02:00
bdunahu 3a264df1ee gnu: Add angband-sdl2.
* gnu/packages/games.scm (angband-sdl2): New variable.

Change-Id: I855fe78d1157dedf1aa80475f016eced0582883c
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-05-26 15:03:07 +02:00
bdunahu 895f880ac7 gnu: angband: Only delete nonfree assets from checkout.
These changes allow for future graphical versions of this package.

* gnu/packages/patches/angband-remove-nonfree-tile-options.patch: New file.
* gnu/local.mk: (dist_patch_DATA): Register it.
* gnu/packages/games.scm (angband)[source]: Apply it.  Selectively snip out nonfree tilesets.  Do not delete makefiles which enable graphics…
[#:phases]<disable-graphics-and-sounds>: …but do delete them here.
[#:configure-flags]: Add ‘--disable-x11’.

Change-Id: I5cdfcf63747b13ba7763e43fbbf56bfe126a440b
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-05-26 15:03:06 +02:00
Nguyễn Gia Phong 948bac0f46 guix: packages: origin-actual-file-name: Support Fossil.
This fixes the file-name false positive in guix lint.
If an origin-file-name is not specified, fossil-fetch computes one
from the repository's URI and check-in hash.

* guix/fossil-download.scm: Export <fossil-reference> record name.
* guix/packages.scm (origin-actual-file-name): Add support for Fossil.

Change-Id: I740af495c8e624caa947c667c6cbe379ddf033c8
2026-05-26 21:37:17 +09:00
Patrick Norton 8c95d6364a gnu: Add git-quick-stats.
* gnu/packages/version-control.scm (git-quick-stats): New variable.

Merges guix/guix!8748

Change-Id: Icfd4c133491a4faa4e234dd962571b5a4dde8f33
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-05-26 11:28:02 +02:00
Maxim Cournoyer 21898c0a1a Revert "gnu: openresolv: Update to 3.17.4."
This reverts commit 094e50ffc5.  It broke
NetworkManager's name resolution.

Fixes: #8813
2026-05-26 16:07:53 +09:00
Maxim Cournoyer dc4db2273a service: dnsmasq: Expose new options for authoritative operation.
* gnu/services/dns.scm (<dnsmasq-configuration>)
[authoritative-servers, authoritative-zones, host-records]: New fields.
(dnsmasq-shepherd-service): Use them.
* doc/guix.texi (DNS Services): Add a new example and document the new fields.

Change-Id: Ib26c3f59e90b2a9997ecdac03c5564ae02b6754e
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 16:07:53 +09:00
Maxim Cournoyer 7d9b4b7bb7 service: dnsmasq: Add 'locals' configuration option.
* gnu/services/dns.scm (<dnsmasq-configuration>)
[locals]: New field.
(dnsmasq-shepherd-service): Use it.
* doc/guix.texi (DNS Services): Document it.

Change-Id: I1c2bc86c1636aa82451d1a38959380c3791fd8d4
2026-05-26 16:07:53 +09:00
Maxim Cournoyer 185b9f4f19 service: dnsmasq: Add ipv4? and ipv6? configuration options.
* gnu/services/dns.scm (<dnsmasq-configuration>) [ipv4?, ipv6?]: New fields.
(dnsmasq-shepherd-service): Use them.
* doc/guix.texi (DNS Services): Document them.

Change-Id: I50a4e407cea9e55295c9cfff081b7678ab7e061c
2026-05-26 16:07:53 +09:00
Nguyễn Gia Phong 663293331b teams: Nguyễn Gia Phong: Add to the Lua team.
* etc/teams.scm ("Nguyễn Gia Phong"): Add lua to the team list.

Change-Id: I9fe8ce6ac20bb327228473f1217a86905104778a
Merges: https://codeberg.org/guix/guix/pulls/8819
Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
Reviewed-by: Carlo Zancanaro <carlo@zancanaro.id.au>
2026-05-26 16:02:18 +09:00
Nguyễn Gia Phong 9b8833ea6e gnu: libfossil: Remove explicit source file name.
* gnu/packages/version-control.scm (libfossil)[source]:
  Remove explicit file-name, which is the same as the default one.

Change-Id: I763d9c4553108e10aa0e4fad18cf5a22a6cbe3ea
2026-05-26 15:59:58 +09:00
luca 664f30f290 gnu: btop: Update to 1.4.7.
* gnu/packages/admin.scm (btop): Update to 1.4.7.

Change-Id: I836386740842fe2127db210b3a55d73d5e1eb2d5
Reviewed-by: Sughosha <sughosha@disroot.org>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 13:13:46 +09:00
Spencer King 3375afec60 gnu: Add python-islenska.
* gnu/packages/language.scm (arnastofnun-dim)
  (python-islenska-bootstrap, python-islenska): New variables.

Change-Id: I2ccb8cdfa02dc419dffbff4a5b1af81c6af107ce
Merges: https://codeberg.org/guix/guix/pulls/7237
Modified-by: Nguyễn Gia Phong <cnx@loang.net>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 11:42:50 +09:00
Vagrant Cascadian 74180388ea gnu: linux-libre 6.12: Update to 6.12.91.
* gnu/packages/linux.scm (linux-libre-6.12-version): Update to 6.12.91.
(linux-libre-6.12-pristine-source): Update hash.
2026-05-25 17:05:01 -07:00
Vagrant Cascadian d401b80857 gnu: linux-libre 6.18: Update to 6.18.33.
* gnu/packages/linux.scm (linux-libre-6.18-version): Update to 6.18.33.
(linux-libre-6.18-pristine-source): Update hash.
2026-05-25 17:04:45 -07:00
Vagrant Cascadian 1fb10e0469 gnu: linux-libre 7.0: Update to 7.0.10.
* gnu/packages/linux.scm (linux-libre-7.0-version): Update to 7.0.10.
(linux-libre-7.0-pristine-source): Update hash.
2026-05-25 17:04:42 -07:00
Sharlatan Hellseher d40667e9d9 gnu: packages/python-science: Sort python-[am] variables.
* gnu/packages/python-science.scm (9python-dvc-data, python-dvc-objects,
python-einops, python-fbpca): Sort variables alphabetically.

Change-Id: I19e296bfcc2360e81ceaa81fd44688645113c1a4
2026-05-25 23:57:00 +01:00
Spencer King 5b5ed99030 gnu: Add python-autoray.
* gnu/packages/python-science.scm (python-autoray): New variable.

Merges: guix/guix!8810
Change-Id: I1393870b5e3881cb1e28154361b8c7f7853514eb
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:47:07 +01:00
Sharlatan Hellseher 18a2f2a0ab gnu: go-github-com-sigstore-rekor: Enable more tests.
* gnu/packages/golang-web.scm (go-github-com-sigstore-rekor):
[arguments] <embed-files>: Embed JSON files.
<test-subdirs>: Activate more.
[propagated-inputs]: Add go-github-com-google-rpmpack.

Change-Id: Iaa9b1a367b516af9b37b52f3888ee9b4873cfbbd
2026-05-25 23:37:19 +01:00
Sharlatan Hellseher 5331378604 gnu: Add nfpm.
* gnu/packages/golang-xyz.scm (nfpm): New variable.

Change-Id: I30d402d707048fbb560fa92737940c344331e19e
2026-05-25 23:37:19 +01:00
Sharlatan Hellseher 2126ca5961 gnu: Add chglog.
* gnu/packages/golang-xyz.scm (chglog): New variable.

Change-Id: Ifec35d44fff2eaab6b845fb6e5323db1060480f8
2026-05-25 23:37:14 +01:00
Sharlatan Hellseher 7afcbac09f gnu: Add kubernetes-crd-ref-docs.
* gnu/packages/kubernetes.scm (kubernetes-crd-ref-docs): New variable.

Change-Id: I6fe2b3330fd17a028d855eb78655cdacacc02c38
2026-05-25 23:37:14 +01:00
Sharlatan Hellseher 565f4e8743 gnu: Add kubernetes-controller-tools.
* gnu/packages/kubernetes.scm (kubernetes-controller-tools): New variable.

Change-Id: I91a40a9d0cfed25ecfb262a96739e6b18a5bc77b
2026-05-25 23:37:14 +01:00
Patrick Norton f3e194d6eb gnu: Add go-github-com-goreleaser-nfpm-v2.
* gnu/packages/golang-xyz.scm (go-github-com-goreleaser-nfpm-v2): New
variable.

Change-Id: Ic286a05ce6f67f48e826210d8717ca203706b899
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Modified-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>

Change-Id: If2f29158facd446048c5ebb8b808da901d33bfdc
2026-05-25 23:36:57 +01:00
Arthur Rodrigues 2cdc7e23c1 gnu: Add go-github-com-sassoftware-go-rpmutils.
* gnu/packages/golang-compression.scm (go-github-com-sassoftware-go-rpmutils): New variable.

Change-Id: I2ea6bf9f1a288dff3bdaa0749e914d172e3eda06
Relates-to: guix/guix!5417
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:11:16 +01:00
Arthur Rodrigues d21ee40ae8 gnu: Add go-github-com-muesli-mango-cobra.
* gnu/packages/golang-xyz.scm (go-github-com-muesli-mango-cobra): New variable.

Change-Id: I540ab25006c6f798a4c593af7ac4d90293fc6df0
Relates-to: #5417
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:29 +01:00
Arthur Rodrigues de8efe86b3 gnu: Add go-github-com-muesli-mango-pflag.
* gnu/packages/golang-xyz.scm (go-github-com-muesli-mango-pflag): New variable.

Change-Id: I450410eb6a38e9659672a7cd7258f317f372c702
Relates-to: guix/guix!5417
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:29 +01:00
Arthur Rodrigues a30abf4690 gnu: Add go-github-com-muesli-mango.
* gnu/packages/golang-xyz.scm (go-github-com-muesli-mango): New variable.

Change-Id: I76a4cf2583ef083b7cc83c498cd4cb7307ea7cf8
Relates-to: guix/guix!5417
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:29 +01:00
Arthur Rodrigues b7e563cffe gnu: Add go-github-com-muesli-roff.
* gnu/packages/golang-xyz.scm (go-github-com-muesli-roff): New variable.

Change-Id: Id1be530cc9bbcf0422aa6330fd625297c841e489
Relates-to: guix/guix!5417
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:29 +01:00
Arthur Rodrigues 1dfc621cde gnu: Add go-github-com-caarlos0-go-version.
* gnu/packages/golang-xyz.scm (go-github-com-caarlos0-go-version): New variable.

Change-Id: I2ff3528e6ee2d23f093996c25d00c3b5d2b6fee8
Relates-to: guix/guix!5417
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:29 +01:00
Arthur Rodrigues a9db71dae5 gnu: Add go-github-com-invopop-jsonschema.
* gnu/packages/golang-web.scm (go-github-com-invopop-jsonschema): New variable.

Change-Id: Ie1f596c1f9e7e82518cd3697b947306942571d4b
Relates-to: guix/guix!5417
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:28 +01:00
Arthur Rodrigues f8c27ee084 gnu: Add go-github-com-pb33f-ordered-map-v2.
* gnu/packages/golang-xyz.scm (go-github-com-pb33f-ordered-map-v2): New variable.

Change-Id: I1e1124f9b39a4159caad01e2cb2ddeb09dd16e51
Relates-to: guix/guix!5417
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:28 +01:00
Patrick Norton c95418302e gnu: Add go-github-com-goreleaser-chglog.
* gnu/packages/golang-xyz.scm (go-github-com-goreleaser-chglog): New
variable.

Change-Id: Iba81e76b9897fcf90c3ef2434f14034a5db461f8
Relates-to: #5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>

Change-Id: Ib3f02cfa70c89c4763c867405385c11e2706678c
2026-05-25 23:08:28 +01:00
Patrick Norton 79243efc4a gnu: Add go-gitlab-com-digitalxero-go-conventional-commit.
* gnu/packages/golang-vcs.scm
(go-gitlab-com-digitalxero-go-conventional-commit): New variable.

Change-Id: Ia366ebed43a75ee741f2355106f4e7555e3f9375
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:28 +01:00
Patrick Norton 2908ff30dd gnu: Add go-github-com-google-rpmpack.
* gnu/packages/golang-compression.scm (go-github-com-google-rpmpack): New
variable.

Change-Id: I2a7ebd61aaa2e8384c5a9a64f7feefe75dddc57b
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:28 +01:00
Patrick Norton 5ae5ced182 gnu: Add go-github-com-cavaliergopher-cpio.
* gnu/packages/golang-compression.scm (go-github-com-cavaliergopher-cpio): New
variable.

Change-Id: I55faf4a19bd29ca16e73540517570518dc3bbf88
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:28 +01:00
Patrick Norton dc192b2c3c gnu: Add go-github-com-ccojocar-zxcvbn-go.
* gnu/packages/golang-xyz.scm (go-github-com-ccojocar-zxcvbn-go): New
variable.

Change-Id: I50f943a27db405b04eff54a4485f41b4cc0f5453
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:28 +01:00
Patrick Norton b5c159c14d gnu: Add go-github-com-blakesmith-ar.
* gnu/packages/golang-compression.scm (go-github-com-blakesmith-ar): New
variable.

Change-Id: I0ba5b6617100ae919687193c1ca4c9e97aeadfe5
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:28 +01:00
Patrick Norton b634112df9 gnu: Add go-github-com-aleksi-pointer.
* gnu/packages/golang-xyz.scm (go-github-com-aleksi-pointer): New
variable.

Change-Id: I05e3fdbade711af55fd51ae9f37c8180ba14f44e
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:28 +01:00
Patrick Norton eaafc8f38d gnu: Add go-github-com-elastic-crd-ref-docs.
* gnu/packages/kubernetes.scm (go-github-com-elastic-crd-ref-docs): New variable.

Change-Id: I1d1caae7803946550d0009bb1e207dcb73ee1090
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>

Change-Id: I7cc15ba804ac36fefd3e3f59a480e6e7cf33bc98
2026-05-25 23:08:27 +01:00
Patrick Norton 01cbcb4ee4 gnu: Add go-github-com-tcnksm-go-httpstat.
* gnu/packages/golang-web.scm (go-github-com-tcnksm-go-httpstat): New
variable.

Change-Id: I408ca9bd82cf5f525459108a563457d5f8417e2b
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:27 +01:00
Patrick Norton c61cab0077 gnu: Add go-github-com-toqueteos-webbrowser.
* gnu/packages/golang-web.scm (go-github-com-toqueteos-webbrowser): New variable.

Change-Id: I7a9ae128062dcb3015eed65ac4bdc3fb9e7b40c1
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:27 +01:00
Patrick Norton 4a28c0c638 gnu: Add go-sigs-k8s-io-controller-tools.
* gnu/packages/kubernetes.scm (go-sigs-k8s-io-controller-tools): New
variable.

Change-Id: Iea8c614f484076374a7cf6b9a730bb494d303c03
Relates-to: guix/guix!5417
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:27 +01:00
Arthur Rodrigues ba62c285a3 gnu: Add go-github-com-gobuffalo-flect.
* gnu/packages/golang-xyz.scm (go-github-com-gobuffalo-flect): New variable.

Change-Id: I80a9882d9441e758fd9793c08a27965b88935ddc
Relates-to: guix/guix!5417
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 23:08:24 +01:00
Sharlatan Hellseher d1b4f8e8ad gnu: go-jsonnet: Update to 0.22.0.
* gnu/packages/golang-apps.scm (go-jsonnet): Update to 0.22.0.

Change-Id: Ic7bf26e20846644ddd653e612541b3c631f338e1
2026-05-25 21:47:16 +01:00
Sharlatan Hellseher eccf44b2d1 gnu: go-fxlint: Update to 1.24.0.
* gnu/packages/golang-apps.scm (go-fxlint): Update to 1.24.0.

Change-Id: Ib5e1ffbad1de673e55edd7660e04ff7ebf7064ae
2026-05-25 21:46:35 +01:00
Sharlatan Hellseher 616ef76552 gnu: go-chroma: Update to 2.24.1.
* gnu/packages/golang-apps.scm (go-chroma): Update to 2.24.1.

Change-Id: Ic4cccd700c5241319ea931b3b76b7e3d9f3acede
2026-05-25 21:43:59 +01:00
Ankit Gadiya 8b0bee2a97 gnu: gopls: Update to 0.22.0.
* gnu/packages/golang-apps.scm (gopls): Update to 0.22.0.
[arguments]: Use go-1.26.
[native-inputs]: Remove go-golang-org-x-sys; add
go-github-com-fsnotify-fsnotify, go-github.com-google-jsonschema-go,
go-github-com-modelcontextprotocol-go-sdk.

Merges: guix/guix!8825
Change-Id: I28049d4faf92f54dc382abb64d2a2ff0570caccf
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 21:43:59 +01:00
Cayetano Santos 37592835c4 doc: Add agitjo under the ’perfect setup’ section.
This is a complement to the AGit workflow included in "Submitting
Patches".

* doc/guix.texi: Mention ‘emacs-agitjo’ in the ’Emacs’ subsection.

Merges guix/guix!8445

Change-Id: Ia49a0da71e8b08e252ff4dd996c414173920ecac
2026-05-25 19:57:33 +02:00
Hugo Buddelmeijer 6f6dc2286c gnu: valgrind/interactive: Fix shebangs by adding python as input.
* gnu/packages/valgrind.scm (valgrind/interactive): Fix shebangs.
  [inputs]: Add python.

Change-Id: Idc8590bfe5ed529046cb41f365de759c1c07effd
Merges: https://codeberg.org/guix/guix/pulls/8611
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:43:54 +09:00
Ashish SHUKLA b48412b52f gnu: got: Update to 0.125
* gnu/packages/version-control.scm (got): Update to 0.125.

Change-Id: I08867461d0c70cbceadcb82defc191fe1e45e7e7
Merges: https://codeberg.org/guix/guix/pulls/8677
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:38:12 +09:00
Foster Hangdaan 8709675a51 gnu: qtile: Update to 0.36.0.
* gnu/packages/wm.scm (qtile): Update to 0.36.0.

Change-Id: I6d91026ed7462a76f8c4fa87885ed591f6bdbac7
Merges: https://codeberg.org/guix/guix/pulls/8817
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:32:45 +09:00
Zhu Zihao 59e74d19f3 time-machine: Use accurate word for time travel in command help.
Time travel works in both directions, as mentioned in
info "(guix) Invoking guix time-machine".

* guix/scripts/time-machine.scm (show-help): Amend 'in an older version'
  with 'in a different version'.

Change-Id: I5da267e58e64381de86d6711dcd104592c30ef6c
Merges: https://codeberg.org/guix/guix/pulls/1163
Reviewed-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:23:01 +09:00
Nemin 31566995dc doc: Mention the volunteer run mirrors.
* doc/guix.texi (Volunteer Run Mirrors): New subsection.
* doc/guix.texi (Official Substitution Servers):
  Rephrase due to new subsection.

Change-Id: I6e0861b632a78b705ce7ed8615a423c6d370f4c9
Merges: https://codeberg.org/guix/guix/pulls/6272
Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:20:52 +09:00
Yappaholic 4d65795173 gnu: Add lua-5.5.
* gnu/packages/lua.scm (lua-5.5): New variable.

Merges: https://codeberg.org/guix/guix/pulls/8515
Reviewed-by: Carlo Zancanaro <carlo@zancanaro.id.au>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:13:16 +09:00
Phillip Davis 781c25ada9 tests: import: gem: Add test for mixed valid and gibberish licenses.
Verifies that when only one of multiple license strings is recognized,
the resulting list has the correct license followed by one instance
of the symbol 'unknown-license!

* tests/import/gem.scm (test-mixed-licenses-json): New fixture.
  ("gem->guix-package with mixed valid and gibberish licenses"):
  New test.

Change-Id: I33a003d50ba20d30360b52c448ae28ad9d37233b
Merges: https://codeberg.org/guix/guix/pulls/8276
Reviewed-by: Carlo Zancanaro <carlo@zancanaro.id.au>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:09:55 +09:00
Phillip Davis 514b17c58a tests: import: gem: Add test for unrecognized license identifiers.
Exercises the map in 4f78d33f0 where every license
string is unrecognized, so the resulting package should have
(license (list unknown-license! unknown-license!)).

* tests/import/gem.scm (test-gibberish-licenses-json): New fixture.
  ("gem->guix-package with gibberish license identifiers"): New test.

Change-Id: I85cbb0574f9393749a84f4cf5818d4c1083a8476
Reviewed-by: Carlo Zancanaro <carlo@zancanaro.id.au>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:09:43 +09:00
Phillip Davis 3df17cb25a import: gem: Use spdx-string->license for license lookup.
Similar to what was done for the crate importer in 263a267b75.

* guix/import/gem.scm (string->license): Try spdx-string->license first,
  returning symbols instead of license objects.  Fall back
  to the existing hardcoded table for non-SPDX strings.
  (make-gem-sexp): Remove license->symbol calls;
  licenses are now symbols directly.
* tests/import/gem.scm (test-spdx-json): New fixture.
  ("gem->guix-package with SPDX license identifiers"): New test.

Change-Id: I5fa0ebdfd3a3393eab5ef0554ed09887a89bc107
Reviewed-by: Carlo Zancanaro <carlo@zancanaro.id.au>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:09:12 +09:00
Phillip Davis abbf03a2ef import: gem: Fix null at home-page.
The RubyGems API returns "homepage_uri": null for gems with no homepage.
guile-json parses JSON null as the Guile symbol 'null', which passes
through into the generated package sexp as (home-page null)—an unbound
variable error at evaluation time.

* tests/import/gem.scm (test-no-homepage-json): New fixture.
  ("gem->guix-package, bald homepage_uri"): New test.
* guix/import/gem.scm (non-empty-string-or-false): New procedure.
  (<gem>)[home-page]: Use it.
* guix/import/utils.scm (non-empty-string-or-false):
  New exported procedure, moved to here...
* guix/import/gem.scm (non-empty-string-or-false): ...from here...
* guix/import/pypi.scm (non-empty-string-or-false): ...and here.

Change-Id: If8f2ca32834d762c753797067ef87937503ff9f9
Reviewed-by: Carlo Zancanaro <carlo@zancanaro.id.au>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:08:11 +09:00
Roman Scherer 5bad9d084c gnu: inkscape: Disable geom-pathstroke-test on non-x68.
* gnu/packages/inkscape.scm (inkscape)[arguments]<#:phases>:
  Add disable-geom-pathstroke-test on non-x68.

Change-Id: Ifbd4429d55fd3a66796b7f0219c1b4f1bb00be14
Merges: https://codeberg.org/guix/guix/pulls/8812
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:04:28 +09:00
Roman Scherer a066241c22 gnu: lib2geom: Disable failing polynomial-test on non-x68.
* gnu/packages/graphics.scm (lib2geom)[arguments]<#:phases>:
  Add disable-polynomial-test on non-x86.

Change-Id: If8fea8381d9ad4e31719463aa6a78efc8ef24efb
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-26 00:04:28 +09:00
Nguyễn Gia Phong a12284aeba teams: Nguyễn Gia Phong: Remove from the Python team.
* etc/teams.scm ("Nguyễn Gia Phong"): Remove python from the team list.

Change-Id: Ia0b43321b756ec45c8d8b215da57c824c5670dc8
Merges: https://codeberg.org/guix/guix/pulls/8792
2026-05-25 23:40:29 +09:00
Sughosha 1ebc547b5a gnu: Add skcms.
* gnu/packages/graphics.scm (skcms): New variable.

Change-Id: I9aba6db9a09f22d91f9b45ef3ac9913c701c6ff5
Merges: https://codeberg.org/guix/guix/pulls/8719
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-25 22:54:42 +09:00
Sughosha 192806899f gnu: Add sjpeg.
* gnu/packages/image.scm (sjpeg): New variable.

Change-Id: I4eaba610e73848116ab0f5f106dc92e126b0209e
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-25 22:54:42 +09:00
Sughosha 7c23908791 gnu: Add openjph.
* gnu/packages/image.scm (openjph): New variable.

Change-Id: Id1f082e887672e854d23191efd3cfe47630d0c49
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-25 22:54:42 +09:00
Andreas Enge ac43d7ed18 gnu: Remove go-github-com-bradfitz-iter.
* gnu/packages/golang-xyz.scm (go-github-com-bradfitz-iter):
Delete variable.

Fixes: guix/guix#8118
Change-Id: I52709935f01d6ba43f883028a9556f66ae15b50f
2026-05-25 12:26:51 +02:00
Andreas Enge b485b1f548 gnu: Remove xfstests.
* gnu/packages/file-systems.scm (xfstests): Delete variable.

Fixes: guix/guix#7960
Change-Id: Ic7b3f1fe18dba83e2e51671c7adb1ee0dffb7c5b
2026-05-25 12:23:19 +02:00
Sharlatan Hellseher f6816c5f0b gnu: python-toolshed: Update to 0.4.8.
* gnu/packages/python-xyz.scm (python-toolshed): Update to 0.4.8.
[source]: Switch to git-fetch.
[arguments] <tests?>: Enable them.
[native-inputs]: Add python-pytest.

Change-Id: Ia87fc047d4f4da358a998ff0dcf85c9dabf57987
2026-05-25 11:05:24 +01:00
Cayetano Santos c03aa2be92 gnu: python-toolz: Update to 1.1.0.
* gnu/packages/python-xyz.scm (python-toolz): Update to 1.1.0.
[source]: Switch to git-fetch.
[phases]{set-version}: New phase.
[arguments]: Set #:#:test-flags.
[native-inputs]: Remove python-wheel; add python-setuptools-scm.

Merges: guix/guix!7375
Change-Id: Ie6344ad86b632311f059c0ae913b50ab2f4bb7f9
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 11:05:24 +01:00
Yelninei 6b102c6a3a gnu: python@3.12: Fix tests on the Hurd.
* gnu/packages/python.scm (python-3.12)[#:make-flags]: Copy test flags from
python 3.11.

Merges: guix/guix!8793
Change-Id: Id45244f241e259d9a461d51963ef26d0354a8149
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-25 11:05:16 +01:00
Efraim Flashner fc96dc4faa gnu: gnome-authenticator: Update rust dependencies.
Addresses rust security advisories.

* gnu/packages/rust-crates.scm (lookup-cargo-inputs)
[gnome-authenticator]: Update entry.

Change-Id: Ida8cec1bd2a259ba411712b82e6a9b6da22ca4d6
2026-05-25 12:53:20 +03:00
Christopher Baines 4fb8763179 gnu: bffe: Update to 0-20.fc725c5.
* gnu/packages/package-management.scm (bffe): Update to 0-20.fc725c5.

Change-Id: I4a8e58eae34c96b83bd038761767e1765498fb58
2026-05-25 11:29:57 +02:00
Christopher Baines a38d8dacc0 gnu: nar-herder: Update to 0-55.1b64c18.
* gnu/packages/package-management.scm (nar-herder): Update to 0-55.1b64c18.

Change-Id: I287a2f186ddf2c06c74c33ea55a7abd21db0173b
2026-05-25 11:29:57 +02:00
Christopher Baines 2df04524f6 gnu: guile-safsaf: Update to 0.2-1.2be5348.
* gnu/packages/web.scm (guile-safsaf): Update to 0.2-1.2be5348.

Change-Id: I1d53cb5d9bdb19e88e518e92910c31aaadcce96d
2026-05-25 11:29:57 +02:00
Christopher Baines f1eaf1bd0a gnu: guile-knots: Update to 0.1-36.d1cecc0.
* gnu/packages/guile-xyz.scm (guile-knots): Update to 0.1-36.d1cecc0.

Change-Id: I5b28c2936f9ca886935324869f36ac0d53a011b4
2026-05-25 11:29:56 +02:00
Efraim Flashner 9e75e743c3 gnu: zola: Update to 0.22.1.
* gnu/packages/rust-apps.scm (zola): Update to 0.22.1.
* gnu/packages/rust-sources.scm (rust-syntect-5.2): Remove variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs): Update entry for
zola, remove entry for rust-syntect-5.2.

Change-Id: Ib4802546304f8350f527a8465d43f00c28a35a83
2026-05-25 12:08:55 +03:00
Simen Endsjø 4b53f7eb61 gnu: sbcl: Update to 2.6.4.
* gnu/packages/lisp.scm (sbcl): Update to 2.6.4.
[patches]: Remove sbcl-fix-arm64-shared-lib.patch.
* gnu/packages/patches/sbcl-fix-arm64-shared-lib.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister file.

Change-Id: I777321d896bb5e0683d17916be2c8603a0571fde
2026-05-25 10:38:41 +02:00
Ada Avery ccbb88e9a9 build-system: asdf: Move config files from etc/ to etc/xdg/
The old path caused lisp compilers to set XDG_CONFIG_DIRS to a different value
compared to the rest of the Guix package ecosystem, and that caused things to
get confused.  E.g. logging into a gnome session was impossible if the user
profile included a lisp compiler!  See https://issues.guix.gnu.org/45360.
Although that report is about a foreign distro, I have found that the exact
same issue reproduces on Guix System.

Change-Id: Id1ce5c21df8a769be1d1ba8883cafccc277ab191
2026-05-25 10:38:33 +02:00
Efraim Flashner a7996fee16 gnu: Remove unreferenced rust crates.
* gnu/packages/rust-sources.scm (rust-codex-0.120.0,
rust-pipewire-0.8.0.93138d0, rust-pubgrub-0.3.0.b70cf70,
rust-smithay-0.6.0.ede2707): Remove variables.
* gnu/packages/rust-crates.scm: Remove some unused rust crates.
(lookup-cargo-inputs): Update accordingly.
* gnu/packages/patches/codex-0.98.0-remove-patch-sections.patch,
gnu/packages/patches/rust-codex-0.117.0-remove-patch-sections.patch,
gnu/packages/patches/rust-codex-0.120.0-connectors-cache-test-race.patch,
gnu/packages/patches/rust-codex-0.120.0-core-remove-self-dep.patch,
gnu/packages/patches/rust-codex-0.98.0-core-remove-self-dep.patch,
gnu/packages/patches/rust-codex-0.98.0-test-timeout.patch,
gnu/packages/patches/rust-codex-0.98.0-windows-sandbox-protocol-version.patch:
Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.

Change-Id: I34d0aa3f5f06cea77d80b484fe7205fd3ae68d4a
2026-05-25 10:06:59 +03:00
Sughosha ae10a358e3 gnu: Add python-pillow-jxl-plugin.
* gnu/packages/python-xyz.scm (python-pillow-jxl-plugin): New variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs): Add entry for
python-pillow-jxl-plugin.

Change-Id: I72dbe99ee7239709383f958bcb15d2043b48949c
2026-05-25 08:55:50 +03:00
Sughosha 9b674758dd gnu: Add python-pillow-avif-plugin.
* gnu/packages/python-xyz.scm (python-pillow-avif-plugin): New variable.

Change-Id: Ied0b9623d8111d165ecd1b1d0cf1945e130e5193
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2026-05-25 08:55:28 +03:00
Efraim Flashner c76496f37c gnu: rust-crates.scm: Remove duplicate crates.
* gnu/packages/rust-crates.scm (rust-minijinja-2.12.0,
rust-minijinja-2.13.0, rust-trycmd-0.15.11): Remove duplicate crates.

Change-Id: I83f7183c49ca82d061f0fb6f4a3d37ec1fa7b35a
2026-05-25 08:43:06 +03:00
Efraim Flashner 1204c1f71e gnu: python-3.12: Fix dangling if in package definition.
* gnu/packages/python.scm (python-3.12)[arguments]: Fix dangling if
statement in make-flags.

Change-Id: I12e7002f13ccb8bbd855f358bef72d9e36c4ac05
2026-05-25 08:35:35 +03:00
Efraim Flashner f43c3895cd gnu: python-3.12: Skip a test on powerpc-linux.
* gnu/packages/python.scm (python-3.12)[arguments]: Skip a test when
building for powerpc-linux.

Change-Id: I3141badb5c936b49bd49afeb489e501ba8d12571
2026-05-25 08:31:15 +03:00
Maxim Cournoyer 39d04c9f86 services: nginx: Add nginx to the system profile.
* gnu/services/web.scm (nginx-service-type): Extend the profile-service-type
with the nginx package.

Change-Id: I72b592c603a971bf9fbb64fe5ce02420010ac363
2026-05-25 13:58:07 +09:00
Maxim Cournoyer cb1c7ce47b services: nginx: Adjust indentation.
* gnu/services/web.scm (nginx-service-type): Adjust indentation.

Change-Id: I86696b13f7b6209bb3da7970ad4252e8de17305b
2026-05-25 13:58:07 +09:00
Maxim Cournoyer b936418bd6 gnu: nginx: Fix default configuration directory.
* gnu/packages/web.scm (nginx) [#:configure-flags]: Set valid defaults for
--conf-path, --error-log-path, --http-log-path and --pid-path.
[#:phases] {fix-root-dirs}: Rename to...
{move-html-doc}: ... this, and simplify thanks to the above.

Fixes: <https://issues.guix.gnu.org/36388>
Change-Id: I9f9277e3be156e8ff755789d62c031d010956dba
2026-05-25 13:58:07 +09:00
Maxim Cournoyer f65cf7f5d7 gnu: nginx-documentation: Modernize.
* gnu/packages/web.scm (nginx-documentation)
[#:phases]: Remove trailing #t and use gexps.

Change-Id: Icda61364300bbb021fdea7c4760bb9e3de2d9c70
2026-05-25 13:54:41 +09:00
Maxim Cournoyer 07c3d09dbe gnu: nginx-documentation: Update to 1.31.1-0.857ceb3.
* gnu/packages/web.scm (nginx-documentation): Update to 1.31.1-0.857ceb3.

Change-Id: I5c319f0814e9a008d60e47bc2c18383c1e412dcc
2026-05-25 13:54:41 +09:00
Maxim Cournoyer 07f064c3f1 gnu: nginx: Update to 1.31.1.
* gnu/packages/web.scm (nginx): Update to 1.31.1.

Change-Id: I19a46ebbada20bd30dadac31583ddcef61971351
2026-05-25 13:54:41 +09:00
Ashish SHUKLA 8e6f34a4c5 gnu: btrfs-progs: Update to 7.0
* gnu/packages/linux.scm (btrfs-progs): Update to 7.0.

Change-Id: I1ffa4f2b2564c64a802ef38c9a180312a3d1ee6a
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-05-24 20:57:53 -07:00
moksh 0e7f87432b gnu: librewolf: Update to 151.0.1-2 [security-fixes].
* gnu/packages/librewolf.scm (librewolf): Update to 151.0.1-2.

Contains Fixes for:
Firefox 151.0 contains fixes for:
CVE-2026-8945: Sandbox escape in Firefox and Firefox Focus for Android
CVE-2026-8946: Incorrect boundary conditions in the Audio/Video: Web
               Codecs component
CVE-2026-8947: Use-after-free in the DOM: Bindings (WebIDL) component
CVE-2026-8948: Same-origin policy bypass in the DOM: Networking
               component
CVE-2026-8949: Integer overflow in the Widget: Win32 component
CVE-2026-8950: Same-origin policy bypass in the Networking: HTTP
               component
CVE-2026-8951: Spoofing issue in the Toolbar component in Firefox for
               Android
CVE-2026-8952: Privilege escalation in the Application Update
               component
CVE-2026-8953: Sandbox escape due to use-after-free in the Disability
               Access APIs component
CVE-2026-8954: Incorrect boundary conditions, integer overflow in the
               Audio/Video component
CVE-2026-8955: Privilege escalation in the DOM: Workers component
CVE-2026-8956: Integer overflow in the Networking: JAR component
CVE-2026-8957: Privilege escalation in the Enterprise Policies
               component
CVE-2026-8958: Information disclosure, sandbox escape in the Security:
               Process Sandboxing component
CVE-2026-8959: Sandbox escape due to incorrect boundary conditions in
               the Widget: Win32 component
CVE-2026-8960: Spoofing issue in WebExtensions
CVE-2026-8961: Spoofing issue in the Form Autofill component
CVE-2026-8962: Mitigation bypass in the DOM: Security component
CVE-2026-8963: Spoofing issue in the Web Speech component
CVE-2026-8964: Spoofing issue in the Popup Blocker component
CVE-2026-8965: Information disclosure in the DOM: Security component
CVE-2026-8966: Information disclosure in the IP Protection component
CVE-2026-8967: Information disclosure in the Graphics: WebGPU
               component
CVE-2026-8968: Denial-of-service due to invalid pointer in the
               Audio/Video: Web Codecs component
CVE-2026-8969: Mitigation bypass in the DOM: Security component
CVE-2026-8970: Privilege escalation in the Security component
CVE-2026-8971: Same-origin policy bypass in the Networking: JAR
               component
CVE-2026-8972: Privilege escalation in the WebRTC: Audio/Video
               component
CVE-2026-8973: Memory safety bugs fixed in Firefox 151
CVE-2026-8974: Memory safety bugs fixed in Firefox ESR 140.11 and
               Firefox 151
CVE-2026-8975: Memory safety bugs fixed in Firefox ESR 115.36, Firefox
               ESR 140.11 and Firefox 151

Change-Id: I7a73e001546ddfa5f2f48ad569f1c60ac807a10a
2026-05-24 19:45:21 -07:00
moksh 6e339966e7 gnu: firefox-l10n: Update to a8799feda04a221a2c552576501975662c5350bb.
* gnu/packages/librewolf.scm (firefox-l10n): Update to a8799feda04a221a2c552576501975662c5350bb.

Change-Id: I8f079c2eb5ccaf9933b47f5ed53de7e578777e44
2026-05-24 19:45:20 -07:00
moksh 67e789f8a3 gnu: nss-rapid: Update to 3.124.
* gnu/packages/nss.scm (nss-rapid): Update to 3.124.

Change-Id: I93feb723fb683b32346c049514af335542d286c3
2026-05-24 19:45:19 -07:00
Yelninei c78ab8151a gnu: strace: Update to 7.0.
* gnu/packages/linux.scm (strace): Update to 7.0.

Change-Id: I1a087f36cee1d6e3603c503634c268ac39027325
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-05-24 17:05:39 -07:00
Denis 'GNUtoo' Carikli f71cf7b0df system: images: rock-4c-plus: remove duplicated serial port service.
Without this change, the rock-4c-plus boots fine and we can see the serial
port output is fine, but only part of what is typed through the serial port
reaches the console. This makes it very difficult to type commands.

And with this change, the serial port is already activated automatically and
in that case we can interact well with the console.

* gnu/system/images/rock-4c-plus.scm (rock-4c-plus-barebones-os):
  remove serial port service.

Change-Id: Ieb87f2ed6054b529ffa4399fcf4ec997e3e454a6
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-05-24 16:14:16 -07:00
Sharlatan Hellseher 55e438ecbc gnu: gallia: Update to 2.1.1.
* gnu/packages/cybersecurity.scm (gallia): Update to 2.1.1.
[inputs]: Remove python-aiofiles, python-can, python-construct,
python-exitcode, python-httpx, python-more-itertools, python-msgspec,
python-psutil, and python-pygit2; add python-wcwidth.
[native-inputs]: Remove python-pygit2.

Change-Id: I7ccda9cacea13bf62a8eabc7de6fb6854634c226
2026-05-24 23:56:25 +01:00
Hugo Buddelmeijer 8a693d11c6 gnu: mcy: Fix pyproject build.
* gnu/packages/electronics.scm (mcy): Fix pyproject build.
[arguments]<#:phases>: Fix python:wrap phase.

Merges: guix/guix!8799
Change-Id: I75579c9388cb2e834d458b1b838d416d76ec6388
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 23:46:39 +01:00
Hugo Buddelmeijer 65a59ca40a gnu: eqy: Fix pyproject build.
* gnu/packages/electronics.scm (eqy): Fix pyproject build.
[arguments]<#:phases>: Fix python:wrap phase.

Relates-to: guix/guix!8799
Change-Id: Ie0a6821ed4669c0178376836dbb06d3fb998132d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 23:46:36 +01:00
Hugo Buddelmeijer 895c17b787 gnu: fenics: Fix Python 3.12 build.
* gnu/packages/simulation.scm (fenics): Fix Python 3.12 build.
[arguments]<#:test-flags>: Ignore failing test.

Fixes: guix/guix#8602
Merges: guix/guix!8801
Change-Id: I022ff73170fa0b451d3a44e9bab981f180e74ac3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 23:43:31 +01:00
Hugo Buddelmeijer 9bf52e4cbf gnu: golly: Fix style.
* gnu/packages/games.scm (golly): Fix style.
[arguments]: Use gexps.

Merges: guix/guix!8803
Change-Id: Ic2b6c083a3542584ce28b0718605c6795cfac8df
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 23:40:24 +01:00
Hugo Buddelmeijer d1bb7911f4 gnu: golly: Update to 5.0.
* gnu/packages/games.scm (golly): Update to 5.0.

Relates-to: guix/guix!8803
Change-Id: Id51cffda75db9c78ebc87998b7d611062acb4279
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 23:40:21 +01:00
Hugo Buddelmeijer 17756ef0d3 gnu: golly: Fix Python 3.12 build.
* gnu/packages/games.scm (golly): Fix Python 3.12 build.
[native-inputs]: Add python-setuptools.

Relates-to: guix/guix!8803
Change-Id: I89bb3bc4f7c13e6cd2ffffc2a5a01bb99f75eea6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 23:40:14 +01:00
Hugo Buddelmeijer ecfe54e6cf gnu: python-3.10: Fix build.
* gnu/packages/python.scm (python-3.10): Fix build.
[arguments]<#:test-target>: Set to "test".

Merges: guix/guix!8804
Change-Id: I65cdf2111da684652a5ba6252cb23a5b15e1d6a7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 23:37:29 +01:00
Sharlatan Hellseher 68ae975687 gnu: packages/python-xyz: Sort python-s[op] variables.
gnu/packages/python-xyz.scm (python-socksipy-branch,
python-socksipychain, python-sortedcollections, python-sortedcontainers,
python-soupsieve, python-spectra, python-speedy-antlr-tool, python-speg,
python-spinners): Sort variables alphabetically.

Change-Id: I8092027ab7765b1e7abcec2a859528a051efa047
2026-05-24 23:30:58 +01:00
Hilton Chain 93635a2bff file-systems: file-system-needed-for-boot?: Include more mount points.
This is useful when separating rootfs into many mount points, especially for
mounting tmpfs as /.  Mount points in this change are found and tested by
booting from a clean rootfs with such setup.

* gnu/system/file-systems.scm (file-system-needed-for-boot?): Mark /etc,
/var/lib and /var/log as needed for boot.

Merges: #8345
2026-05-24 23:05:34 +08:00
Hilton Chain 4c824e25c4 Revert "home: gnupg: Remove extraneous lambda wrapper."
This reverts commit 6989890f65.

The wrapper was added in f0079d20ae by intention.

Merges: #8661
2026-05-24 23:05:33 +08:00
luca dfdf3553a9 gnu: fzf: Update to 0.73.0.
* gnu/packages/terminals.scm (fzf): Update to 0.73.0.

Merges guix/guix!8785

Change-Id: I3a0f7f747977e54406d38659c7902106417ffe4e
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-05-24 16:21:02 +02:00
Nicolas Goaziou 5a67fd1914 gnu: emacs-notmuch: Fix build.
* gnu/packages/mail.scm (emacs-notmuch)[outputs]: Reset outputs inherited from
notmuch package.

Change-Id: I4d468b9e31a918dfb82637afa723d80e15c614b7
2026-05-24 15:42:16 +02:00
Maxim Cournoyer 094e50ffc5 gnu: openresolv: Update to 3.17.4.
* gnu/packages/dns.scm (openresolv): Update to 3.17.4.

Change-Id: I0347cb7c88423d189a1eac05ad8f9fad1b3e6138
2026-05-24 21:45:33 +09:00
Andreas Enge 68cc29defc gnu: Remove python-ansicolors.
* gnu/packages/python-xyz.scm (python-ansicolors): Delete variable.

Fixes: guix/guix#7519
Change-Id: Ie3e61b8017759bcb950d83ae0ca433f8608646e8
2026-05-24 13:25:42 +02:00
Andreas Enge 31182c8e81 gnu: Remove python-logutils.
* gnu/packages/python-xyz.scm (python-logutils): Delete variable.

Fixes: guix/guix#7512
Change-Id: I6c51a423d30ff520e189b13efcc7bb174065946a
2026-05-24 13:23:33 +02:00
Andreas Enge a353a5732e gnu: Remove python-helper.
* gnu/packages/python-xyz.scm (python-helper): Delete variable.

Change-Id: Ic0baae62d66672e46ac8c177918e796effd39044
2026-05-24 13:22:45 +02:00
Cayetano Santos 773277c256 gnu: Add stable-diffusion-cpp.
* gnu/packages/machine-learning.scm (stable-diffusion-cpp): New variable.

Merges guix/guix!8676

Change-Id: Id31d252ce45bb7fd99d43e7cd3a29bcdde11916f
2026-05-24 12:28:42 +02:00
Cayetano Santos 7682c6ae55 gnu: Add ggml-for-stable-diffusion.
* gnu/packages/machine-learning.scm (ggml-for-stable-diffusion): New
variable.

Merges guix/guix!8676

Change-Id: I6f39882e3a5751ed5bb69f5ac97a55685566c70a
2026-05-24 12:28:42 +02:00
Jan Wielkiewicz dfb6f229e5 gnu: blender: Update to 4.5.10.
* gnu/packages/graphics.scm (blender): Update to 4.5.10. Use
G-Expressions over all arguments entries.
[phases]{install-assets, link-python-binary}: New phases.
{wrap-bin}: Update phase.
[native-inputs]: Add pkg-config.
[inputs]: Add blender-assets, fftwf, shaderc, vulkan-headers, and
vulkan-loader.

Merges: guix/guix!8783
Fixes: guix/guix#8577
Closes: guix/guix!6746
Change-Id: I11098ad54d50c2b5217dc3d828a397478dfd5896
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:47 +01:00
Jan Wielkiewicz 1ceaf5f427 gnu: Add blender-assets.
* gnu/packages/graphics.scm (blender-assets): New variable.

Relates-to: guix/guix!8783
Change-Id: If789593a07a3cae33cb117a787a779d08dc3b900
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:47 +01:00
Jan Wielkiewicz 241e184724 gnu: glog: Fix build failure on non-Windows platforms.
* gnu/packages/logging.scm (glog)[source] <patches>: Add patch to fix
incorrect Windows.h inclusion.

* gnu/packages/patches/glog-windows-h-nonwindows.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Relates-to: guix/guix!8783
Change-Id: Ia6fde8932cc9a67370ffae76cfcf3b7b538d6889
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:47 +01:00
Hugo Buddelmeijer b8a8a34725 gnu: mantid: Fix Python 3.12+ compatibility.
* gnu/packages/physics.scm (mantid): Fix Python 3.12+ compatibility.
[arguments]<#:phases>: Replace hardcoded python3.11 path.

Merges: guix/guix!8784
Change-Id: Idad6af1823c308d9da4b59b756dfe937a257f972
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:47 +01:00
Hugo Buddelmeijer c9d8bf4ec7 gnu: cogserver: Fix Python 3.12+ compatibility.
* gnu/packages/opencog.scm (cogserver): Fix Python 3.12+ compatibility.
[arguments]<#:phases>: Replace hardcoded python3.11 path.

Relates-to: guix/guix!8784
Change-Id: I40795e14a0d39ee56f937d843f11a19e3c361a6d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:47 +01:00
Hugo Buddelmeijer 903dc62f3d gnu: atomspace: Fix Python 3.12+ compatibility.
* gnu/packages/opencog.scm (atomspace): Fix Python 3.12+ compatibility.
[arguments]<#:phases>: Replace hardcoded python3.11 path.

Relates-to: guix/guix!8784
Change-Id: Id5f7c494042f1499ba87d500a0edf5d97569fc73
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:47 +01:00
Hugo Buddelmeijer ac00d80cfb gnu: mercurial: Fix Python 3.12 compatibility.
* gnu/packages/version-control.scm (mercurial): Fix Python 3.12 compatibility.
[arguments]<#:phases>: Replace hardcoded python3.11 string.

Relates-to: guix/guix!8784
Change-Id: I23a6c8d54f64edb2928acb2f8e3691d9d0bb501c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:46 +01:00
Hugo Buddelmeijer 4b36e31362 gnu: cartridges: Fix Python 3.12+ compatibility.
* gnu/packages/gnome-circle.scm (cartridges): Fix Python 3.12+ compatibility.
[arguments]<#:phases>: Replace hardcoded python3.11 path.

Relates-to: guix/guix!8784
Change-Id: Icc7edb115cfb0141ddbd5366329c52f852cda2c1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:46 +01:00
Hugo Buddelmeijer 9991d93aac gnu: cadabra2: Fix Python 3.12+ compatibility.
* gnu/packages/engineering.scm (cadabra2): Fix Python 3.12+ compatibility.
[arguments]<#:phases>: Replace hardcoded python3.11 path.

Relates-to: guix/guix!8784
Change-Id: I866b23d2d6e36d2e1d185da88066c37c339046dc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:46 +01:00
Hugo Buddelmeijer 22e20111f2 gnu: python-hdlconvertor: Fix build with Python 3.12+.
* gnu/packages/electronics.scm (python-hdlconvertor): Fix Python 3.12+ build.
[arguments]<#:phases>: Replace hardcoded python3.11 path.

Relates-to: guix/guix!8784
Change-Id: I5f70c48e3e705b4f26d849de81de16aae395696c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:46 +01:00
Hugo Buddelmeijer 495a81ada8 gnu: calibre: Fix Python 3.12 build.
* gnu/packages/ebook.scm (calibre): Fix Python 3.12 build.
[arguments]<#:phases>: Replace hardcoded python3.11 path.

Relates-to: guix/guix!8784
Change-Id: I293de5bf628d164a64cebc2a9bdfc90b5f527162
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:46 +01:00
Hugo Buddelmeijer 935cb890d4 gnu: python-hatch-regex-commit: Fix pyproject-build-system build.
* gnu/packages/python-xyz.scm (python-hatch-regex-commit): Fix build.
[arguments]<#:tests?>: Disable, there are no tests.

Merges: guix/guix!8787
Change-Id: I813ecf05f3316a6725f5f3347d4c075b2e4fc5a6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:46 +01:00
Nicolas Graves ceadb503d5 gnu: dico: Update to 2.12-0.05da4bc to fix build with Python@3.12.
Fetching from upstream source maybe unreliable and requires forking to
some reachable VCS services, this change includes fixes made after
collaboration with project author Sergey Poznyakoff <gray@gnu.org>.

* gnu/packages/dictionaries.scm (dico): Update to 2.12-0.05da4bc.
[source]: Switch to git-fetch.
[arguments]<#:phases>: Replace the 'boostrap phase by the custom
bootstrap in GNU Dico.  Extend a bit the phase 'set-shell-file-name
and rename it 'post-configure.
[native-inputs]: Add autoconf-2.71, automake, bison, flex,
gettext-minimal, libtool, perl, texinfo.

Merges: guix/guix!8514
Change-Id: Ibc2951150507b8f0d3c4f447bceb2c51e445c2d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:46 +01:00
Hugo Buddelmeijer df134dcc5f gnu: python-py7zr: Update to 1.0.0.
* gnu/packages/python-compression.scm (python-py7zr): Update to 1.0.0.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Disable brotli tests.
[propagated-inputs]: Add python-backports-zstd.
[native-inputs]: Remove python-pypa-build, and python-py-cpuinfo.

Merges: guix/guix!8749
Change-Id: I8a192507bee2c36ab02d2a2514fe38dd58fce353
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:46 +01:00
Hugo Buddelmeijer bf571505d5 gnu: python-pyppmd: Proper disable benchmarks.
* gnu/packages/python-compression.scm (python-pyppmd):
[arguments] <test-flags>: Proper disable benchmarks.
[native-inputs]: Add python-hypothesis and python-pytest-timeout.

Relates-to: guix/guix!8749
Change-Id: I0fa5dc54bde98a85a0942fc8ebd0b065a37ecb34
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:45 +01:00
Hugo Buddelmeijer bcea11ed48 gnu: python-inflate64: Update to 1.0.4.
* gnu/packages/python-compression.scm (python-inflate64): Update to 1.0.4.

Relates-to: guix/guix!8749
Change-Id: I425677cd0c3a456709162a5d027a1873293b1c74
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:45 +01:00
Hugo Buddelmeijer 10c943fe11 gnu: python-pybcj: Update to 1.0.7.
* gnu/packages/python-compression.scm (python-pybcj): Update to 1.0.7.
[source]: Switch to git-fetch.
[home-page]: Change to github; development happens there as seen in
<https://pypi.org/project/pybcj/>.
[native-inputs]: Add python-hypothesis.

Relates-to: guix/guix!8749
Change-Id: I582a7d158a347a1ef1a2a5d4574081cc7ebd39d2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:45 +01:00
Hugo Buddelmeijer 9abfa7c62f gnu: openshot: Fix build with Python 3.12.
* gnu/packages/video.scm (openshot): Fix build with Python 3.12.
[arguments]<#:phases>: Put build phase back.

Merges: guix/guix!8736
Change-Id: I87b94e13cbc7a0d6daea06457906ff04217c9f96
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:45 +01:00
Sharlatan Hellseher 0e07988281 gnu: debops: Return ansible to inputs.
* gnu/packages/admin.scm (debops):
[inputs]: Add ansible.

Change-Id: I5537423c9d7bf34dfd83ca5bee70ad24d55ddd80
2026-05-24 10:19:45 +01:00
Sharlatan Hellseher d07ca7dea2 gnu: ansible: Fix site packages path on Python@3.12.
* gnu/packages/admin.scm (ansible):
[native-search-paths]: Update site-packages path for Python 3.12
version.

Change-Id: Ic1fc8af7e8b72dfd8576f0ce8107d19a1b996dfc
2026-05-24 10:19:45 +01:00
Sharlatan Hellseher e1dc810ede gnu: python-scm-sr-ht: Remove set-version phase.
* gnu/packages/sourcehut.scm (python-scm-sr-ht):
[phases]{set-version}: Remove phase.
[native-inputs]: Add python-setuptools-scm.

Change-Id: I2b1ac766fcace10bf463371f255e589f464b1567
2026-05-24 10:19:45 +01:00
Sharlatan Hellseher 931548d248 gnu: python-core-sr-ht: Remove set-version phase.
* gnu/packages/sourcehut.scm (python-core-sr-ht):
[phases]{set-version}: Remove phase.
[native-inputs]: Add python-setuptools-scm.

Change-Id: Ia5c9e35bbc52e3bd82550c18b31f397dc1d172ea
2026-05-24 10:19:45 +01:00
Sharlatan Hellseher c07997263a gnu: python-celery: Update to 5.6.3.
* gnu/packages/python-xyz.scm (python-celery): Update to 5.6.3.
[propagated-inputs]: Remove python-click-8.1; add python-click.

Change-Id: I460c6af1428ec16a59f09069b50e2fe0445e22d2
2026-05-24 10:19:45 +01:00
Sharlatan Hellseher 4439e5faf7 gnu: python-click-repl: Update to 0.3.0-1.b84191a.
* gnu/packages/python-xyz.scm (python-click-repl): Update to
b84191aec21b407b3cb3374ff1ab000887d38f29 commit.
[propagated-inputs]: Remove python-click-8.1; add python-click.

Change-Id: Ia8079ece2255446111a7ea818b703d1aaf030133
2026-05-24 10:19:44 +01:00
Sharlatan Hellseher e7c55d275f gnu: python-rbfly: Update to 0.11.0.
* gnu/packages/python-xyz.scm (python-rbfly): Update to 0.11.0.
[arguments] <test-flags>: Keep options, skip one test on 32bit
systems.
[phases]{remove-local-source}: New phase.
[native-inputs]: Remove python-wheel.

Change-Id: I38584474a8e2f952c66c77d1c3b751bed00e124a
2026-05-24 10:19:44 +01:00
Sharlatan Hellseher 9052cc623a gnu: python-pandas: Skip one test on 32bit systems.
* gnu/packages/python-science.scm (python-pandas):
[arguments] <test-flags>: Skip one test on 32bit systems.

Change-Id: Ib7c46e4573358fa3088bdc4100b9ce112381d988
2026-05-24 10:19:44 +01:00
Sharlatan Hellseher fe6227a47f gnu: python-marshmallow: Skip one test on 32bit systems.
* gnu/packages/python-xyz.scm (python-marshmallow):
[arguments] <test-flags>: Skip 1 test on 32bit systems.
[phases]{set-check-environment}: Remove phase.

Change-Id: I3debc5e48d638b86eebce8682b8fc0a2e0510393
2026-05-24 10:19:44 +01:00
Sharlatan Hellseher 11b7eebe4b gnu: python-loguru: Skip 2 tests on 32bit systems.
* gnu/packages/python-xyz.scm (python-loguru):
[arguments] <test-flags>: Skip 2 tests on 32bit systems.

Change-Id: I9496453aa0c19302498a3eee76f185837fd4636b
2026-05-24 10:19:44 +01:00
Sharlatan Hellseher 81c4285031 gnu: rayforge: Update to 1.7.7.
* gnu/packages/engineering.scm (rayforge): Update to 1.7.7.
[arguments] <test-flags>: Run some portion of test suit.
[phases]{write-version-file, fix-test}: Remove phases.
{relax-requirements, set-home, remove-local-source}: New phases.
[inputs]: Remove python-pyserial-asyncio; add  python-gitpython,
python-pluggy, python-pymupdf, python-pyserial, and python-trimesh.
[home-page]: Update URL.

Change-Id: I5c0201c3d4678ed6c4b522c7e2479d850efae64b
2026-05-24 10:19:44 +01:00
Andreas Enge 954f20d024 gnu: calibre: Refresh input.
* gnu/packages/ebook.scm (calibre)[inputs]: Replace
python-dnspython-1.16 by python-dnspython.

Relates-to: guix/guix!8563
Change-Id: I84a48f446a3e0994251d75c76bdf6df447c1e12d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:44 +01:00
Sharlatan Hellseher b72a20aa83 gnu: komikku: Update to 50.4.0.
* gnu/packages/gnome-circle.scm (komikku): Update to 50.4.0.
[inputs]: Remove python-cloudscraper, python-pillow-heif-0.22,
python-pure-protobuf, and python-pycairo.

Change-Id: I20eae3281add1bc5979463356dc65c40ea0f0207
2026-05-24 10:19:44 +01:00
Sharlatan Hellseher 9678b8cfdc gnu: python-pydub: Fix tests.
* gnu/packages/python-xyz.scm (python-pydub):
[source] <patches>: Apply upstream patch to fix tests.

Change-Id: I771d0b59a61304bf35e54ce64dbd54ee76861b33
2026-05-24 10:19:43 +01:00
Sharlatan Hellseher b1a31f1bc5 gnu: librelane: Relax required python-click version.
* gnu/packages/electronics.scm (librelane):
[phases]{relax-requirements}: New phase.

Change-Id: I17745a1a81af1142c532a5a8b04710f793861953
2026-05-24 10:19:43 +01:00
Sharlatan Hellseher 177646a987 gnu: python-scprep: Skip more tests.
* gnu/packages/bioinformatics.scm (python-scprep):
[arguments] <test-flags>: Skip 7 more tests.

Change-Id: I70ef7eb97d638c37d31ce4ea00cb59bd0a1da440
2026-05-24 10:19:43 +01:00
Sharlatan Hellseher 8226c1e043 gnu: python-yamlcore: Fix tests.
* gnu/packages/python-xyz.scm (python-yamlcore):
[phases]{fix-test-file-names}: New phase.
[native-inputs]: Add python-pytest.

Change-Id: I0da9eae7fb7d78d4cd99cd9aef4a7f73a208ad08
2026-05-24 10:19:43 +01:00
Sharlatan Hellseher 69c1ed747f gnu: python-qtconsole: Fix tests.
* gnu/packages/jupyter.scm (python-qtconsole):
[arguments] <test-flags>: Rework skipped/ignored tests.

Change-Id: Ia37113d53a85214f4f984b3af847081ac7f87c06
2026-05-24 10:19:43 +01:00
Sharlatan Hellseher 8127a13bbc gnu: python-loguru: Update to 0.7.3-0.75b9201.
* gnu/packages/python-xyz.scm (python-loguru): Update to
75b920160d0655c1631a2739b4470fc12317a155 commit.
[arguments]: Drop all.
[native-inputs]: Remove python-pytest-mypy-plugins and
python-pytest-xdist; add python-mypy-for-tests and tzdata-for-tests.

Change-Id: I28efa4bfc2c97eb6544e910b4b2826acf3707db4
2026-05-24 10:19:43 +01:00
Sharlatan Hellseher 87118845d8 gnu: python-param: Update to 2.3.3.
* gnu/packages/python-xyz.scm (python-param): Update to 2.3.3.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-ipython and python-pytest-xdist; add
python-ipython-minimal.

Change-Id: I4af32ce74056aa1654053ef699e115a91e8ae52a
2026-05-24 10:19:43 +01:00
Sharlatan Hellseher 2d7294999b gnu: python-numpy-documentation: Fix build on Python@3.12.
* gnu/packages/python-xyz.scm (python-numpy-documentation):
[native-inputs]: Add python-setuptools.

Change-Id: I4ed1ac1baeaeb463c2d0612e231e6e57aa55ea86
2026-05-24 10:19:43 +01:00
Sharlatan Hellseher 350a400004 gnu: python-librosa: Fix tests.
* gnu/packages/audio.scm (python-librosa): Use G-expressions.
[native-inputs]: Remove python-wheel; add python-pytest-mpl.

Change-Id: I182b8326a01081a43fa1c57c9a54d0ba01ea10ec
2026-05-24 10:19:42 +01:00
Sharlatan Hellseher 05bd2bd98b gnu: python-yewtube: Update to 2.13.1.
* gnu/packages/video.scm (python-yewtube): Update to 2.13.1.
[phases]{relax-requirements}: Substitute specific httpx constrain.
{configure-tests}: Remove phase.
{set-home}: New phase.
[propagated-inputs]: Remove python-youtube-search; add
python-yewtube-search.
[native-inputs]: Remove python-dbus-1.2; add python-dbus.

Change-Id: I8d1f9d8d310fcbec740630fcb8b8e7aa45be4a08
2026-05-24 10:19:42 +01:00
Sharlatan Hellseher d601cb63fc gnu: Add python-yewtube-search.
* gnu/packages/python-web.scm (python-yewtube-search): New variable.

Change-Id: I2581467d618b71ae4865cf2d987cda3165b252be
2026-05-24 10:19:42 +01:00
Sharlatan Hellseher fcac1bd64e gnu: silkaj: Update to 0.12.1-0.dabe484.
* gnu/packages/finance.scm (silkaj): Update to
dabe484ba1871030be33a1473ee473004e102763 commit.

Change-Id: Ie5d25c3495d0b331cded979340d716304ef77653
2026-05-24 10:19:42 +01:00
Efraim Flashner 818e6fd162 gnu: python-hypothesis: Skip a test on riscv64-linux.
* gnu/packages/check.scm (python-hypothesis)[arguments]: Add a test to
the test-flags to skip when building for riscv64-linux.

Change-Id: Ic6c9ff752212d11a20d4821be30e90912e7fc696
2026-05-24 10:19:42 +01:00
Hugo Buddelmeijer 994fe883bd gnu: python-omegaconf: Update to 2.3.0-1.71e0264.
* gnu/packages/python-xyz.scm (python-omegaconf): Update to
71e02647d93bb8bd467502008940317920ec7e5b commit.

Merges: guix/guix!8709
Change-Id: I6884d09fd68792fe488f4be7612be0ab0b928337
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:42 +01:00
Sharlatan Hellseher fd73238737 gnu: python-esptool: Update to 5.2.0.
* gnu/packages/engineering.scm (python-esptool): Update to 5.2.0.

Change-Id: I32ec233f70e2630d88506bfd3b1df9cf8cdc77f3
2026-05-24 10:19:42 +01:00
Sharlatan Hellseher ffd54b8a2f gnu: mopidy: Skip 3 tests.
* gnu/packages/music.scm (mopidy):
[arguments] <test-flags>: Skip 3 more tests.
[native-inputs]: Add python-setuptools-scm.

Change-Id: I7c0ac828cfb7897da37ec8d998938354c55d439c
2026-05-24 10:19:42 +01:00
Sharlatan Hellseher 6629fee7c1 gnu: Add python-cyclopts.
* gnu/packages/python-xyz.scm (python-cyclopts): New variable.

Change-Id: Ie2f939ac524f5dc00d9f3b9d460838bd6f3e0a87
2026-05-24 10:19:41 +01:00
Sharlatan Hellseher d101ef7fd6 gnu: Add python-rich-rst.
* gnu/packages/python-xyz.scm (python-rich-rst): New variable.

Change-Id: Iebfdbc7b3659b09a0038d661b007f54aaf81a217
2026-05-24 10:19:41 +01:00
Sharlatan Hellseher cf75a76ada gnu: python-psutil: Skip 2 tests on 32bit systems.
* gnu/packages/python-xyz.scm (python-psutil):
[arguments] <test-flags>: Skip two tests on 32bit systesm.

Change-Id: I9caaa7687359b8dec25c03b6df49970892171a95
2026-05-24 10:19:41 +01:00
Sharlatan Hellseher 69b6373c36 gnu: python-psleak: Skip tests on 32bit systems.
If we change change the PYTHONMALLOC environment variable to default or
pymalloc then the tests pass on i686 but upstream specifically uses
malloc.
See: <https://codeberg.org/guix/guix/issues/8413#issuecomment-15183744>.

* gnu/packages/python-check.scm (python-psleak):
[arguments] <tests?>: Skip tests on 32bit system.

Change-Id: I1bfe65d40f9b7311035c21b16c81dfda528e8db1
2026-05-24 10:19:41 +01:00
Hugo Buddelmeijer 277e6b1184 gnu: ldc-bootstrap: Fix build with Python 3.12.
* gnu/packages/dlang.scm (ldc-bootstrap): Fix build.
[native-inputs]: Add python-setuptools.

Merges: guix/guix!8689
Change-Id: I83046ac8e8a0198248ca762a9d0df61edf93c87b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:41 +01:00
Nicolas Graves d43c5053fd gnu: python-mypy: Update to 1.18.2.
* gnu/packages/python-check.scm (python-mypy): Update to 1.18.2.

Change-Id: Ie868791669b01f401af7ff3ac655e9772d18eb26
Merges:: guix/guix!7207
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:41 +01:00
Nicolas Graves ce43795dec gnu: python-wrapt: Use python-mypy-for-tests.
* gnu/packages/python-xyz.scm (python-wrapt)[native-inputs]: Replace
python-mypy by python-mypy-for-tests.

Change-Id: I293b435e155dee4c635ede3933e987e4015017ff
Relates-to: guix/guix!7207
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:41 +01:00
Nicolas Graves a7e01f4e71 gnu: Add python-mypy-for-tests.
* gnu/packages/python-check.scm (python-mypy-for-tests): New variable.

Change-Id: I3a86b959ff5e55f8323600893d5eee7cf4bf5d99
Relates-to: guix/guix!7207
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:41 +01:00
Sharlatan Hellseher 0ddc9b1c5a gnu: you-get: Update to 0.4.1743.
* gnu/packages/video.scm (you-get): Update to 0.4.1743.
[inputs]: Add python-dukpy.

Change-Id: I8a820e97d07a8fd8c853fd2a92b989c56e7a1c6e
2026-05-24 10:19:40 +01:00
Sharlatan Hellseher 104073d831 gnu: Add python-dukpy.
* gnu/packages/python-web.scm (python-dukpy): New variable.

Change-Id: Ieb8ba9de5753321edda6bf73b0f032ec5f872d1b
2026-05-24 10:19:40 +01:00
Sharlatan Hellseher 0a57bdecf1 gnu: pigx-scrnaseq: Fix build on Python@3.12.
* gnu/packages/bioinformatics.scm (pigx-scrnaseq):
[native-inputs]: Add python-setuptools.

Change-Id: I80ed3e99e23e6d04f2e4a670283efce80fc43dfb
2026-05-24 10:19:40 +01:00
Sharlatan Hellseher 48f38de73e gnu: snakemake-5: Fix build and tests.
* gnu/packages/python-science.scm (snakemake-5):
[source] <snippet>: Delete versioneer.py script and relay on Guix's
custom package instead.
[arguments] <test-flags>: Skip the whole group of test_lint tests.
[native-inputs]: Remove python-wheel; add python-versioneer.

Change-Id: I4072fca930e2e148e1bc121f3ede5e2ad668fe14
2026-05-24 10:19:40 +01:00
Sharlatan Hellseher 8422da898d gnu: snakemake-6: Fix build and tests.
* gnu/packages/python-science.scm (snakemake-6):
[source] <snippet>: Delete versioneer.py script and relay on Guix's
custom package instead.
[arguments] <test-flags>: Skip the whole group of test_lint tests.
[native-inputs]: Remove python-wheel; add python-versioneer.

Change-Id: I7f9e9ec521f814ef7710c7b8036408fbf1eb2425
2026-05-24 10:19:40 +01:00
Hugo Buddelmeijer 2cf26002da gnu: caribou: Update to 0.4.21-0.9c900f0.
* gnu/packages/gnome.scm (caribou): Update to 0.4.21-0.9c900f0.
[source]: Switch to git-fetch.
[inputs]: Remove labels.
[native-inputs]: Add autoconf, automake, gnome-common, libtool, and
which. Remove labels.

Change-Id: I18ebc3588db5fe6138e6dec6937bbbace34fd36d
Merges: https://codeberg.org/guix/guix/pulls/8595
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:40 +01:00
Hugo Buddelmeijer 4099aa9be2 gnu: gnome-shell-extension-gsconnect: Update to 72.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect): Update to 72.
[inputs]: Remove caribou.

Change-Id: Ie8b271da0f877a3fea3d23c8aa5502a66aafee2d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:40 +01:00
Efraim Flashner 4bec804ff0 gnu: qtwebengine-5: Fix build with python@3.12.
* gnu/packages/qt.scm (qtwebengine-5)[source]: Add a patch to adjust
python-six.  Add to the snippet to work around 'imp' being removed from
python@3.12.
* gnu/packages/patches/qtwebengine5-python312-six-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Fixes: guix/guix#8576
Change-Id: Ib202d3eb50764ed46c57610e9abdbb4db118362a
2026-05-24 10:19:40 +01:00
Sharlatan Hellseher 43498cde15 gnu: fenics-dolfin: Fix build on Python@3.12.
* gnu/packages/simulation.scm (fenics-dolfin):
[native-inputs]: Add python-setuptools.

Change-Id: Id0cd4c11f192a7055839f482fc72575d306e4fa5
2026-05-24 10:19:39 +01:00
Sharlatan Hellseher 54b724eff5 gnu: debops: Update to 3.3.0.
* gnu/packages/admin.scm (debops): Update to 3.3.0.
[inputs]: Remove ansible for now, build fails with error
"ModuleNotFoundError: No module named 'setuptools'" when present.
[phases]{wrap-script}: Unwrap "/bin/ansible" for now.

Change-Id: I0e481cf4ca37f6a3576ff75b7348e9e3eaeb3868
2026-05-24 10:19:39 +01:00
Sharlatan Hellseher af81d8a74a gnu: python-pivy: Fix build.
* gnu/packages/python-graphics.scm (python-pivy):
[inputs]: Remove python-wrapper.
[native-inputs]: Add python-setuptools.

Change-Id: I4a36a5ab84dc9182bf8acfc8d951423022a8ff9c
2026-05-24 10:19:39 +01:00
Sharlatan Hellseher 4e134bcb3b gnu: python-pivy: Fix indentation.
* gnu/packages/python-graphics.scm (python-pivy): Fix indentation.

Change-Id: Ia85695da0d336afe62d8d6e6dd8f4c9b7662147c
2026-05-24 10:19:39 +01:00
Sharlatan Hellseher 60c5757eb7 gnu: ytcc: Update to 2.8.0.
* gnu/packages/video.scm (ytcc): Update to 2.8.0.
[arguments] <test-flags>: Rework skipped tests.
[phases]{pre-check}: New phase.
[inputs]: Remove python-urllib3, python-requests, python-pycryptodomex,
python-mutagen, and python-brotli; add mpv and python-defusedxml.
[native-inputs]: Remove python-setuptools and python-wheel; add
python-hatchling.

Change-Id: I8b486fd7bff2b34a696f2c14d957f197c311765b
2026-05-24 10:19:39 +01:00
Sharlatan Hellseher 1a01c04db8 gnu: trac: Fix build on Python@3.12.
* gnu/packages/version-control.scm (trac):
[propagated-inputs]: Add python-standard-smtpd.

Change-Id: I6aae7682e7c240c19214b15ea61144683ba051d5
2026-05-24 10:19:39 +01:00
Sharlatan Hellseher dcb1dab50b gnu: Add python-standard-smtpd.
* gnu/packages/python-xyz.scm (python-standard-smtpd): New variable.

Change-Id: I1f9818a1772f9aca67f43ae0d46ecdd898b6f2d7
2026-05-24 10:19:39 +01:00
Sharlatan Hellseher 73267a8423 gnu: Add python-standard-asynchat.
* gnu/packages/python-xyz.scm (python-standard-asynchat): New variable.

Change-Id: I680e9b61db82e1ec2af75dc84e673a5df84b687b
2026-05-24 10:19:39 +01:00
Sharlatan Hellseher 9810495af0 gnu: Add python-standard-asyncore.
* gnu/packages/python-xyz.scm (%python-standard-pep-594-version,
%python-standard-pep-594-source, python-standard-asyncore): New
variables.

Change-Id: Ia90cf7e8f2f5bfd91525c89b1d8294b480bd5480
2026-05-24 10:19:38 +01:00
Efraim Flashner 78a7e930cd gnu: aubio: Fix building with python-3.12.
* gnu/packages/audio.scm (aubio)[source]: Add patch.
* gnu/packages/patches/aubio-waflib-python312-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: Id7bbd06f8cd162ea6ed5ac7c73bbae74a3075cc7
Merges: https://codeberg.org/guix/guix/pulls/8534
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:38 +01:00
Sharlatan Hellseher 75ef10a944 gnu: python-matplotlib-documentation: Fix build on Python@3.12.
* gnu/packages/python-xyz.scm (python-matplotlib-documentation):
[native-inputs]: Add python-setuptools.

Change-Id: I747881482c5a6fc65b6e2914b2823f687986e31e
2026-05-24 10:19:38 +01:00
Sharlatan Hellseher 2cf215ec54 gnu: python-plotly: Fix version setup.
* gnu/packages/python-science.scm (python-plotly):
[source] <snippet>: Remove versioneer.py script to relay on Guix's
custom package.
[native-inputs]: Add python-versioneer.

Change-Id: I08e600e7708a8024d296b356296b471d5e7e4dd2
2026-05-24 10:19:38 +01:00
Sharlatan Hellseher e763c4fdc8 gnu: python-baltica: Build with snakemake@8.
* gnu/packages/bioinformatics.scm (python-baltica):
[propagated-inputs]: Remove snakemake-7; add snakemake.

Change-Id: Ic3a755d8218da2f71d411ddd2535af79bbe43f72
2026-05-24 10:19:38 +01:00
Hugo Buddelmeijer 5f09b5f494 gnu: qpageview: Update to 1.0.4.
* gnu/packages/image-viewers.scm (qpageview): Update to 1.0.4.
[arguments]<#:tests?>: Turn off.

Change-Id: I731aa55e8a718b340f89ce01eee26e7c9a4df34e
Merges: https://codeberg.org/guix/guix/pulls/8561
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:38 +01:00
Nicolas Graves 76ec2cd69b gnu: python-term-image: Update to 0.7.2-0.a40a12b.
* gnu/packages/python-xyz.scm (python-term-image): Update to 0.7.2-0.a40a12b.
[arguments]<#:phases>: Replace phase 'adjust-dependencies by phase
'bump-pillow-requirement.

Change-Id: Ic52f25517e9ae1b8b2a59b781a2d98cf7e4c3b0c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:38 +01:00
Nicolas Graves cab412e054 gnu: watson: Disable sanity-check temporarily.
* gnu/packages/task-management.scm (watson)
[arguments]<#:phases>: Disable sanity-check temporarily.

Change-Id: Ibc6611db2beef9d9f0d9450ce6685519b31023d7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:38 +01:00
Nicolas Graves ce3ecc3cb4 gnu: python-bed-reader: Fix build with Python@3.12.
* gnu/packages/bioinformatics.scm (python-bed-reader)
[native-inputs]: Add python-setuptools.

Change-Id: I9fd1e16e2149710a9644a58517876757d799211a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:37 +01:00
Nicolas Graves 5f500acfae gnu: ocrfeeder: Fix build on Python@3.12.
* gnu/packages/gnome.scm (ocrfeeder)
[source]: Switch to git-fetch.
[arguments]<#:phases>: Improve style.  Add phase
'fix-configure-on-python-3.12.
[native-inputs]: Drop input labels.  Add autoconf, automake,
gnome-common, which, yelp-tools.
[inputs]: Drop input labels.

Change-Id: I4b5e8ce484114af3f21a1053ad58033e8d7e34f4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:37 +01:00
Nicolas Graves 77699f18ae gnu: python-sphinx-theme-builder: Update to 0.3.2.
* gnu/packages/sphinx.scm (python-sphinx-theme-builder): Update to 0.3.2.
[propagated-inputs]: Add python-diagnostic.

Change-Id: Ia6d156bef074900549a57bcfce6d3732d8699f51
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:37 +01:00
Nicolas Graves d279ed8e82 gnu: Add python-diagnostic.
* gnu/packages/python-check.scm (python-diagnostic): New variable.

Change-Id: I207be2a99d05521d8de9723df061a8b8ab08ec03
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:37 +01:00
Nicolas Graves a35e80a168 gnu: tensile: Fix build with Python@3.12.
* gnu/packages/rocm-libs.scm (tensile)[native-inputs]: Add
python-setuptools.

Change-Id: I781fa78b2a4637a740e5dca9d40aec1f41751814
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:37 +01:00
Nicolas Graves 61b24bafd9 gnu: python-pybrowserid: Fix build with Python@3.12.
* gnu/packages/python-web.scm (python-pybrowserid)[arguments]
<#:phases>: Add phase python-3.12-compatibility.

Change-Id: I982edec65aa2fd5822bd45c7db7f9faef54ae31e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:37 +01:00
Nicolas Graves 9aede1154f gnu: python-sinfo: Update to 1.0.1.
* gnu/packages/python-xyz.scm (python-sinfo): Update to 1.0.1.
[source]: Switch to git-fetch.

Change-Id: If0f27fc579afec530184b2f473bd8bbbc5ca6296
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:37 +01:00
Nicolas Graves 04db1ae586 gnu: python-zbarlight: Update to 4.0.
* gnu/packages/aidc.scm (python-zbarlight): Update to 4.0.

Change-Id: I021c4aa75ad770b85294bb0b4c2d8f3ce36951e0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:37 +01:00
Nicolas Graves 14dd771933 gnu: python-pythonanywhere: Update to 0.19.0.
* gnu/packages/python-xyz.scm (python-pythonanywhere): Update to 0.19.0.
[arguments]<#:phases>: Add phase 'relax-requirements.

Change-Id: Id97fc1dac72f39c5c4797fb06dbd679c27befed4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:36 +01:00
Nicolas Graves 6c993b3d4c gnu: python-pythonanywhere-core: Update to 0.3.0.
* gnu/packages/python-xyz.scm (python-pythonanywhere-core): Update to 0.3.0.

Change-Id: I974af668d26a75887bfcb63323411069f55a7503
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:36 +01:00
Nicolas Graves b06385a6bb gnu: python-schema: Update to 0.7.8.
* gnu/packages/python-xyz.scm (python-schema): Update to 0.7.8.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-wheel.

Change-Id: Idbb469a7c5e2e30e18799976c26819b99e53f0b7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:36 +01:00
Nicolas Graves fdc2dfe844 gnu: python-ipyparallel: Fix tests with Python@3.12.
* gnu/packages/python-xyz.scm (python-ipyparallel)[arguments]
<#:test-flags>: Disable warnings to allow tests to pass.

Change-Id: I0d145747e6d1dbadc08850d260a6be8cabd7a793
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:36 +01:00
Nicolas Graves 8e53e923d3 gnu: python-dcor: Fix tests.
* gnu/packages/statistics.scm (python-dcor)[arguments]
<#:phases>: Add phase 'drop-custom-test-configuration.

Change-Id: I7afb7a7930682672565bdc69fe67e72243b32124
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:36 +01:00
Nicolas Graves d935ece3bd gnu: python-arboreto: Fix tests with Python@3.12.
* gnu/packages/bioinformatics.scm (python-arboreto)
[arguments]<#:phases>: Add phase 'python-3.12-compatibility.

Change-Id: I2f766ea064a9a5dc38543318dd5107d35a0db240
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:36 +01:00
Nicolas Graves 28a90e846b gnu: taxtastic: Fix tests.
* gnu/packages/bioinformatics.scm (taxtastic)
[arguments]<#:phases>: Drop 'check phase replacement.
[native-inputs]: Add python-pytest.  Remove python-wheel.

Change-Id: Idd4d13019ec3b02d659601d6bfffc9a01e770458
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:36 +01:00
Nicolas Graves 7e69a862fc gnu: todoman: Switch to test-flags.
* gnu/packages/test-management.scm (todoman)[arguments]
<#:phases>: Migrate them to <#:test-flags>.

Change-Id: I47b1f1aafb8f5fba183c7f95fa20227b14925d1c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:36 +01:00
Nicolas Graves a429dab309 gnu: distcc: Fix build with Python@3.12.
* gnu/packages/distributed.scm (distcc)[native-inputs]:
Add python-setuptools.

Change-Id: I300be0d8683cf76a78ee706f4f3b14611ccedffb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:35 +01:00
Nicolas Graves 51b2122a86 gnu: python-pdbfixer: Update to 1.12.
* gnu/packages/bioinformatics.scm (python-pdbfixer): Update to 1.12.
[arguments]<#:test-flags>: Refresh them.

Change-Id: I982c17921ae458a586f202cde93566938e4c09b5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:35 +01:00
Nicolas Graves 4335c22019 gnu: openmm: Fix output with Python@3.12.
* gnu/packages/machine-learning.scm (openmm)[native-inputs]:
Add python-setuptools.

Change-Id: If189c4ffab93866201a089da34f0c6c37c785605
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:35 +01:00
Nicolas Graves 4d320554c9 gnu: python-parabam: Add a fixing patch.
* gnu/packages/bioinformatics.scm (python-parabam)[source]:
Add a fixing patch.

Change-Id: I08073bd18a6b8cb715d844174186239ec8a5f958
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:35 +01:00
Nicolas Graves f7dc0eeb20 gnu: python-js2py: Update to 0.74-0.2e017b8.
* gnu/packages/python-web.scm (python-js2py): Update to 0.74-0.2e017b8.
[source]: Switch to git-fetch.
<patches>: Add Python 3.12 compatibility patch.

Change-Id: I276fcd2ab41e179bab866fafa7469d3910ed7e89
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:35 +01:00
Nicolas Graves c6978bb90b gnu: python-hdf5storage: Ignore failing test.
* gnu/packages/python-xyz.scm (python-hdf5storage):
[arguments]<#:test-flags>: Ignore failing test.

Change-Id: Ia09c3bcfced4d863ed72f1e29db570cb89fb7d50
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:35 +01:00
Nicolas Graves 7814112203 gnu: mailman: Switch to git origin.
* gnu/packages/mail.scm (mailman):
[source]: Switch to git-fetch.

Change-Id: I3941e1e3c7ad1e107063d8244a4ec19355efa3a5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:35 +01:00
Nicolas Graves d89233717d gnu: python-flufl-bounce: Update to 4.0-0.e7d37db.
* gnu/packages/python-xyz.scm (python-flufl-bounce): Update to 4.0-0.e7d37db.
[arguments]: Improve style.

Change-Id: Ib68d20ad506aedbc01fcee059e8b45575d331e61
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:35 +01:00
Sharlatan Hellseher ab3885e10c gnu: python-pynput: Disable tests.
* gnu/packages/python-xyz.scm (python-pynput):
[arguments] <tests?>: Disable, can't be found on Python@3.12.

Change-Id: I8643fc5ba5b138e28eed5e1a99f1e1c2e02591b5
2026-05-24 10:19:34 +01:00
Sharlatan Hellseher a31b07b540 gnu: python-rpy2: Update to 3.6.7.
* gnu/packages/statistics.scm (python-rpy2): Update to 3.6.7.
[arguments] <tests?>: Disable, the Python module was split into one meta
package with two subpackages, the former has no tests.
[inputs]: Remove icu4c, libdeflate, pcre, python-numpy, readline,
r-minimal, r-survival, r-ggplot2, r-rsqlite, r-dplyr, r-dbplyr, and
zlib.
[propagated-inputs]: Remove python-cffi, python-jinja2, python-numpy,
python-pandas, python-pytz, python-ipython, and python-tzlocal; add
python-rpy2-rinterface and python-rpy2-robjects.
[native-inputs]: Remove python-pytest-8.

Change-Id: I0002688e5b79c98d26b747b744b89101af4ccc65
2026-05-24 10:19:34 +01:00
Sharlatan Hellseher 6305923d0d gnu: Add python-rpy2-robjects.
* gnu/packages/statistics.scm (python-rpy2-robjects): New variable.

Change-Id: If0aa8aaf301ebaf9f76ae2c6bf934ab02c85e5f9
2026-05-24 10:19:34 +01:00
Sharlatan Hellseher 362f943efc gnu: Add python-rpy2-rinterface.
* gnu/packages/statistics.scm (python-rpy2-rinterface): New variable.

Change-Id: I6ac4a3f8469ff04b4052b08fbc7781454169e588
2026-05-24 10:19:34 +01:00
Sharlatan Hellseher 5deb42d4db gnu: python-trezor: Update to 0.20.0.
* gnu/packages/finance.scm (python-trezor): Update to 0.20.0.
[propagated-inputs]: Remove python-attrs, python-ecdsa, and python-hidapi; add
python-construct, python-cryptography, python-keyring,
python-noiseprotocol, python-platformdirs, python-shamir-mnemonic,
and python-slip10.
[native-inputs]: Remove protobuf, python-pillow, python-protobuf, python-pyqt, and
python-simple-rlp; add python-hatchling and python-setuptools.

Change-Id: I8f3e2ec7c3851ddf3148c726f2f844320ad9bd77
2026-05-24 10:19:34 +01:00
Sharlatan Hellseher d4e8fe5dde gnu: Add python-shamir-mnemonic.
* gnu/packages/python-crypto.scm (python-shamir-mnemonic): New variable.

Change-Id: I1bfa75fb1c4e4deeb19e10bbe1a38b55fcff9926
2026-05-24 10:19:34 +01:00
Sharlatan Hellseher 1b606f16bb gnu: Add python-bip32utils.
* gnu/packages/python-crypto.scm (python-bip32utils): New variable.

Change-Id: I5f81400f3d2e1f0134f76c7e43ffb923b33f0853
2026-05-24 10:19:34 +01:00
Sharlatan Hellseher c6f9913a56 gnu: python-keyring: Update to 25.7.0.
* gnu/packages/python-crypto.scm (python-keyring): Update to 25.7.0.
[source]: Switch to git-fetch.
[arguments]: Drop all.
[propagated-inputs]: Add python-jaraco-context, python-jaraco-functools,
and python-jeepney.
[native-inputs]: Remove python-toml and python-wheel; add
python-pyfakefs.

Change-Id: I1bea9fdf8ea8c2c1b7abef13c4b1814e0ea15496
2026-05-24 10:19:34 +01:00
Sharlatan Hellseher 03c46660ab gnu: python-cooler: Update to 0.10.4-0.6c2d65b.
* gnu/packages/bioinformatics.scm (python-cooler): Update to
6c2d65b1420a636193b7f05100a96410ea252147 commit.
[source]: Switch to git-source.
[arguments] <test-flags>: Rework skipped tests.

Change-Id: Ib7e3f1da0ab9c8ee3e333a9f3307a2f4a721e8d1
2026-05-24 10:19:33 +01:00
Sharlatan Hellseher 1ac4e1b680 gnu: porechop: Update to 0.2.3-2.109e437.
* gnu/packages/bioinformatics.scm (porechop): Update to
109e437280436d1ec27e5a5b7a34ffb752176390 commit.
[arguments] <test-flags>: Skip 6 tests.
[native-inputs]: Remove python-wheel.

Change-Id: Ia58a3f6785d9f0ff459fe9659634ef5783530529
2026-05-24 10:19:33 +01:00
Nicolas Graves 26be6e578b gnu: python-expiringdict: Disable failing test.
* gnu/packages/python-xyz.scm (python-expiringdict):
[arguments]<#:test-flags>: Disable failing test.

Change-Id: Iea331f6f3f8363fc51a6ed46b8d6c97fd0b173f9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:33 +01:00
Nicolas Graves 8cfb99aa70 gnu: python-bsddb3: Disable tests.
* gnu/packages/python-xyz.scm (python-bsddb3)
[arguments]<#:tests?>: Disable them.

Change-Id: Ic9dab55c455d1af680e21a24501ed4817d8e8c67
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:33 +01:00
Nicolas Graves 6202ecbfcd gnu: python-omero-py: Enable valid tests.
* gnu/packages/python-xyz.scm (python-omero-py):
[arguments]<#:test-flags>: Enable some tests that are now valid.

Change-Id: If19efeb6da887b6dccf86d106a0561bfbf174a1e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:33 +01:00
Nicolas Graves 2a91f1b31e gnu: python-aenum: Ignore failing test.
This package is tedious to update (missing tags, failing tests...).

* gnu/packages/python-xyz.scm (python-aenum):
[source]: Switch to git-fetch.
[arguments]<#:tests-flags>: Ignore additional failing test.
[native-inputs]: Remove python-wheel.

Change-Id: I5036d50ab77a27ec011f0a86e3166f731e2c2922
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:33 +01:00
Nicolas Graves 27c3c72525 gnu: python-polars: Disable tests temporarily.
Rationale: We could already do that, but polars is outdated, costly to
compile, python-team is already blocking the queue for more that a
week, and it'll be easier to write after delete-all-but has made it
into guix.  It seems more convenient to postpone that for a couple of
weeks than fix it now.

* gnu/packages/python-science.scm (python-polars)[arguments]
<#:tests?>: Disable them.

Change-Id: I3bb722021cb5f99f70515c598c84ce8de5afeb20
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:33 +01:00
Nicolas Graves 5e39e54600 gnu: python-opentelemetry-test-utils: Disable tests.
* gnu/packages/python-web.scm
(python-opentelemetry-test-utils)
[arguments]<#:tests?>: Disable them.
[propagated-inputs]: Improve style.
(python-opentelemetry-test-utils-bootstrap)
[arguments]<#:tests?>: Inherit them.
[propagated-inputs]: Improve style.

Change-Id: I63ae245debe84fff5cdb1f44a13477361187fd53
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:33 +01:00
Nicolas Graves 0861b18b94 gnu: fpm: Fix build with Python@3.12.
* gnu/packages/package-management.scm (fpm)
[native-inputs]: Add python-setuptools.

Change-Id: I7e7d4b44e19541f265735597377b5a31042d6c1b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:32 +01:00
Nicolas Graves 1d235b25dc gnu: emacs-jedi: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-jedi)
[arguments]<#:phases>: Wrap with pyproject-guile-json extension, add
pyproject phases 'build, 'create-entrypoint.
[native-inputs]: Add python-setuptools.

Change-Id: I14f98fe4f064512a76405c92005d577070ee020d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:32 +01:00
Nicolas Graves da3f6161ae gnu: python-cloudpathlib: Fix tests.
* gnu/packages/python-web.scm (python-cloudpathlib)
[native-inputs]: Add python-pytest-reportlog.

Change-Id: Idbed220d538b51eabc1e8860b9658603a7f0b758
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:32 +01:00
Nicolas Graves b6ff715c08 gnu: Add python-pytest-reportlog.
* gnu/packages/python-check.scm (python-pytest-reportlog): New variable.

Change-Id: I2b031d9d6e73b0721c142a7bfb10e631e15c11fc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:32 +01:00
Sharlatan Hellseher 4196b9da4e gnu: python-pycifrw: Update to 5.0.1.
* gnu/packages/physics.scm (python-pycifrw): Update to 5.0.1.
[arguments] <test-flags>: Implement test logic as seen in project's
GitHub Actions file, deselect 5 problematic tests.
<phases>: Add 'copy-dictionaries phase; 'generate-sources fix Make
options; move custom 'check phase to <test-flags> as seen in project's
GitHub Actions file.
[propagated-inputs]: Add python-prettytable.
[native-inputs]: Add cif-core and python-pytest.

Change-Id: Idc5c2abed7dee3088c2707f7122cc160b748e2d7
2026-05-24 10:19:32 +01:00
Sharlatan Hellseher fde86f85d3 gnu: Add cif-core.
* gnu/packages/physics.scm (cif-core): New variable.

Change-Id: I6cce24ca51ca1df8d37cd4c923210cb10d22847b
2026-05-24 10:19:32 +01:00
Sharlatan Hellseher b75876ca99 gnu: python-superqt: Update to 0.8.1.
* gnu/packages/qt.scm (python-superqt): Update to 0.8.1.
[source]: Switch to git-fetch.
[arguments] <tests?>: Disable as all of them failed with SEGFAULT.
[propagated-inputs]: Add python-pyqt-6 and python-pyconify.
[native-inputs]: Add python-pytest, python-numpy, and python-pytest-qt.

Change-Id: Id3f5524f0ba279f182e70bdfdb74357582a94522
2026-05-24 10:19:32 +01:00
Sharlatan Hellseher 71e6a9f2a6 gnu: Add python-pyconify.
* gnu/packages/python-xyz.scm (python-pyconify): New variable.

Change-Id: I06aa3fa6220eccd59bb809a5e268df3639668d94
2026-05-24 10:19:32 +01:00
Sharlatan Hellseher f7f4c9e70b gnu: Add python-sentry-sdk-minimal.
* gnu/packages/python-xyz.scm (python-sentry-sdk-minimal): New variable.

Change-Id: I63c40f26a60e6c0a531064efc6fb0d02ffb1e007
2026-05-24 10:19:31 +01:00
Sharlatan Hellseher 60642218b0 gnu: python-sentry-sdk: Update to 2.59.0.
* gnu/packages/python-xyz.scm (python-sentry-sdk): Update to 2.59.0.
[arguments] <test-flags>: Run tests in parallel and rework
ignored/skipped tests.
[propagated-inputs]: Add python-aiohttp, python-asttokens,
python-executing, and python-httpcore.
<phases>: Remove 'fix-test; add 'fix-pytest-config; use default 'check
phase.
[native-inputs]: Remove python-django, python-executing, python-gevent,
python-pyrsistent, python-pytest-django, python-werkzeug, and
python-wheel; add python-brotli, python-pysocks, python-pytest-aiohttp,
python-pytest-asyncio, python-pytest-timeout, python-pytest-xdist,
python-responses, and python-socksio.

Change-Id: I6f7ae1e753cb139e07e263ecac27b51d0942dfb5
2026-05-24 10:19:31 +01:00
Nicolas Graves 6ffaa9a68d gnu: ceph: Update to 21.0.0.
* gnu/packages/patches/ceph-fix-cmake.patch: Remove patch.
* gnu/local.mk: De-register patch.
* gnu/packages/storage.scm (ceph): Update to 21.0.0.
[arguments]{#:configure-flags}: Refresh them.
{#:phases}: Refresh phsae 'patch-source, 'post-install.
[native-inputs]: Add catch2-3.8, patchelf, pkg-config,
python-setuptools.
[inputs]: Replace boost-1.88 by boost.

Change-Id: I5de6bca25a36b9fe24d63cadc7c3229f5fadf063
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:31 +01:00
Nicolas Graves b70a5701e2 gnu: rocprofiler: Fix build with Python@3.12.
* gnu/packages/rocm.scm (rocprofiler)[native-inputs]: Add
python-setuptools.

Change-Id: I61fc0ba0fcdb81a7ff95b736f860caa71a667064
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:31 +01:00
Nicolas Graves e0d2ba79c3 gnu: python-upsetplot: Fix build with Python@3.12.
* gnu/packages/python-science.scm (python-upsetplot)[native-inputs]:
Add python-setuptools, remove python-wheel.

Change-Id: If86859969fd02c77cb5f0fe173c8c52ad6094a24
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:31 +01:00
Nicolas Graves cd8e16d864 gnu: python-sphinx-toml: Disable tests.
* gnu/packages/sphinx.scm (python-sphinx-toml):
[arguments]<#:tests?>: Disable them.

Change-Id: I334a8f62efd1d6b563f02f32ac5920b68d012b3e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:31 +01:00
Nicolas Graves 7839c3edd1 gnu: libsavitar: Fix build with Python@3.12.
* gnu/packages/engineering.scm (libsavitar)
[native-inputs]: Add python-setuptools.
[inputs]: Relocate field.

Change-Id: If17b485f99c9dceb46ee4768f169ef8947e6bd48
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:31 +01:00
Nicolas Graves e1f0babdac gnu: libarcus: Fix build with Python@3.12.
* gnu/packages/engineering.scm (libarcus)
[native-inputs]: Add python-setuptools.
[inputs]: Relocate field.

Change-Id: I559d1c7502c2441d42e646f42f1c2737b696bf6f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:31 +01:00
Nicolas Graves 048989a3ad gnu: python-orsopy: Fix tests-flags.
This is a follow-up to an overlook in commit
a15d374d5f.

* gnu/packages/python-science.scm (python-orsopy)[arguments]
<#:test-flags>: Fix them.

Change-Id: Ib22f61de8930fe99fc95ce51e894535d26084310
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:31 +01:00
Nicolas Graves 24ee843945 gnu: python-lsp-server: Fix tests on Python@3.12.
* gnu/packages/patches/python-lsp-server-python-3.13-compatibility.patch:
Add patch, taken from upstream pull request 692.
* gnu/local.mk: Record patch.
* gnu/packages/python-xyz.scm (python-lsp-server)[origin]<patches>:
Add patch.

Change-Id: Ia310b621afbf6a30666dcd4ab44365b987afcafa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:30 +01:00
Nicolas Graves 215520433d gnu: sssd: Update to 2.13.0.
* gnu/packages/sssd.scm (sssd): Update to 2.13.0.
[arguments]<#:phases>: Use search-input-file rather than
this-package-input when possible.  In phase 'disable-failing-tests,
add an additional test that requires root user access.
[inputs]: Add libcap.
[native-inputs]: Add python-setuptools.

* gnu/packages/patches/sssd-system-directories.patch: Refresh it.

Change-Id: I69ec820703e3c6681ed4676317071ccd07f565e0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:30 +01:00
Sharlatan Hellseher 1217978d6f gnu: python-pyglet-1: Fix tests on Python@3.12.
* gnu/packages/python-graphics.scm (python-pyglet-1):
[phases]{fix-python-3.12-incompatibility}: New phase.

Change-Id: I9f911c646fd22f864d89e985cd3f77d0390ba6eb
2026-05-24 10:19:30 +01:00
Sharlatan Hellseher bf301587df gnu: python-tox: Update to 4.27.0.
* gnu/packages/python-check.scm (python-tox): Update to 4.27.0.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Run tests in parallel; rework skipped tests.
[propagated-inputs]: Remove python-tomli and python-typing-extensions.
[native-inputs]: Remove python-wheel; add python-docutils.

Change-Id: I04f7ab23b9c14111c387294658cc62e6f71e8eb1
2026-05-24 10:19:30 +01:00
Sharlatan Hellseher ef979a65bd gnu: python-pyproject-api: Update to 1.10.0.
* gnu/packages/python-xyz.scm (python-pyproject-api): Update to 1.10.0.
[arguments]: Drop all.
[native-inputs]: Remove python-wheel.

Change-Id: I3af57a3e426436e8d9035a24fec65e6add9d6d46
2026-05-24 10:19:30 +01:00
Sharlatan Hellseher cec3114f43 gnu: instrain: Update to 1.10.0-1.f172367.
* gnu/packages/bioinformatics.scm (instrain): Update to
f172367e599851a6cb90048ae890d1bb6569063f commit.
[arguments] <tests?, test-flags>: Enable the most of the tests.
[phases]{relax-requirements}: Relax python-biopython lower constrain
version.
[propagated-inputs]: Remove python-biopython-1.73; add python-biopython.
[native-inputs]: Add python-boto3 and python-pytest.

Change-Id: I777bba3120d97d51dbeb5c380b6556a784a1f604
2026-05-24 10:19:30 +01:00
Sharlatan Hellseher a2d8eada7b gnu: python-libensemble: Update to 1.6.0.
* gnu/packages/maths.scm (python-libensemble): Update to 1.6.0.
[phases]{relax-psutil}: Remove phase.
{check}: Rework skipped removed tests; tests are run with Python script,
adjust steps accordingly.
[propagated-inputs]: Add python-gest-api.
[native-inputs]: Remove ncurses and python-wheel; add openmpi,
python-pytest-cov, and python-rich.

Change-Id: I38d5c74b4fd5efcd3ed6739854d92196bd8dbc35
2026-05-24 10:19:30 +01:00
Sharlatan Hellseher fc0852c43b gnu: Add python-gest-api.
* gnu/packages/python-xyz.scm (python-gest-api): New variable.

Change-Id: I43aef2dc51c3e7adbd8abb668a71ff87b1e17da2
2026-05-24 10:19:29 +01:00
Sharlatan Hellseher 9c0853d560 gnu: hatch: Update to 1.16.4.
* gnu/packages/package-management.scm (hatch): Update to 1.16.4.
[arguments] <test-flags>: Rework skipped tests.
[inputs]: Remove python-hatchling-for-hatch, python-virtualenv-for-hatch, and
python-zstandard; add python-backports-zstd, python-hatchling,
python-pyproject-hooks, python-virtualenv, and uv.
[native-inputs]: Remove git-minimal; add git-minimal/pinned, python-editables,
python-filelock, python-flit-core, and python-trustme.

* gnu/packages/python-build.scm (python-hatchling-for-hatch): Delete variable.
* gnu/packages/python-xyz.scm (python-virtualenv-for-hatch): Delete variable.

Change-Id: I48df4c5c5f3e6feb5e5cd02aed02ab368b68e349
2026-05-24 10:19:29 +01:00
Sharlatan Hellseher 9b53567854 gnu: python-cramjam: Skip 2 more tests.
* gnu/packages/python-compression.scm (python-cramjam):
[arguments] <test-flags>: Rework skipped tests and skip 2 more failing
ones.

Change-Id: I0ac57a7c305d203b91e96051bbb4f603977caeec
2026-05-24 10:19:29 +01:00
Sharlatan Hellseher 171d67b42c gnu: gramps: Improve package and build with berkeleydb.
* gnu/packages/genealogy.scm (gramps):
[arguments] <imported-modules>: Use %glib-or-gtk-build-system-modules.
<test-flags>: Skip some problematic tests.
[phases]{swap-bsddb3-with-berkeleydb}: New phase.
{prepare-tests}: Set GDK_BACKEND envar; remove test deletion procedure.
[inputs]: Remove python-bsddb3, python-jsonschema, and python-lxml; add
python-berkeleydb, python-imagesize, and python-pycountry.
[native-inputs]: Remove glibc-utf8-locales; add python-jsonschema,
python-mock, and python-pytest.

Change-Id: I6ba29c95e978baa77a4150021caa068628d900dc
2026-05-24 10:19:29 +01:00
Sharlatan Hellseher bd3747a373 gnu: brltty: Fix build on Python@3.12.
* gnu/packages/accessibility.scm (brltty):
[native-inputs]: Add python-setuptools.

Change-Id: I1ae23a62556bcfd10d519948cc8fb64c33dc9799
2026-05-24 10:19:29 +01:00
Sharlatan Hellseher a8ba617273 gnu: accountsservice: Fix tests on Python@3.12.
* gnu/packages/freedesktop.scm (accountsservice):
[phases]{fix-python-incompatibilities}: New phase.

Change-Id: If9824e5f72173143191658df992e37e034f34a18
2026-05-24 10:19:29 +01:00
Nicolas Graves 431565dd06 gnu: python-faiss: Fix build on Python@3.12.
* gnu/packages/graph.scm (python-faiss)[native-inputs]: Add
python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:29 +01:00
Nicolas Graves a7e7fa3f3a gnu: python-polars-runtime-32: Disable tests.
* gnu/packages/python-science.scm (python-polars-runtime-32)
[arguments]<#:tests?>: Disable them.  They were not running until now
anyway, and there are no python tests in this package.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:29 +01:00
Nicolas Graves a464449403 gnu: python-pynest2d: Fix build on Python@3.12.
* gnu/packages/engineering.scm (python-pynest2d)
[native-inputs]: Relocate field, add python-setuptools.
[inputs]: Relocate field.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:29 +01:00
Nicolas Graves 576ac5ae2b gnu: python-robotframework-sshlibrary: Fix tests on Python@3.12.
* gnu/packages/python-xyz.scm (python-robotframework-sshlibrary):
[arguments]<#:phases>: Add phase 'fix-python-incompatibilities.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:28 +01:00
Nicolas Graves b5e2b1a2a0 gnu: python-robotframework-pythonlibcore: Fix tests.
* gnu/packages/python-xyz.scm (python-robotframework-pythonlibcore):
[native-inputs]: Add python-pytest-cov and explain why.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:28 +01:00
Nicolas Graves 2144214000 gnu: python-wtforms: Update to 3.2.2.
* gnu/packages/python-web.scm (python-wtforms): Update to 3.2.2.
[native-inputs]: Add python-babel, python-email-validator (which are
only optional runtime dependencies, but needed for tests). Add
python-setuptools.
[propagated-inputs]: Remove python-babel, python-email-validator.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:28 +01:00
Nicolas Graves e94921bd7c gnu: python-rchitect: Update to 0.4.10.
* gnu/packages/statistics.scm (python-rchitect): Update to 0.4.10.
[propagated-inputs]: Drop python-six.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:28 +01:00
Nicolas Graves e519066d01 gnu: python-svgelements: Fix build on Python@3.12.
* gnu/packages/python-xyz.scm (python-svgelements)
[source]: Switch to git-fetch.
[arguments]: Add phase 'fix-python-incompatibilities.
[native-inputs]: Drop python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Nicolas Graves a2914f185f gnu: python-warcio: Update to 1.8.1.
* gnu/packages/python-web.scm (python-warcio): Update to 1.8.1.
[native-inputs]: Drop obvious comment, drop python-wheel, add
python-pytest.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Nicolas Graves 730ccf68a0 gnu: mod-wsgi: Update to 5.0.2.
* gnu/packages/web.scm (mod-wsgi): Update to 5.0.2.
[arguments, native-inputs, inputs]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Nicolas Graves d4e612d287 gnu: tuir: Fix build with Python@3.12.
* gnu/packages/patches/tuir-python-3.12-support.patch: Add patch.

* gnu/local.mk: Record patch.

* gnu/packages/syndication.scm (tuir)
[source]<origin>: Add patch.
[arguments, inputs]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Nicolas Graves 99ec187e21 gnu: rubber: Fix tests.
* gnu/packages/tex.scm (rubber)[arguments]<#:phases>: Replace 'check
phase to run tests properly.

Change-Id: I6516e03cd54eb2eceeefe291f552f9e812837b9e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Sharlatan Hellseher 544a687f6b gnu: borgmatic: Update to 2.1.5.
* gnu/packages/backup.scm (borgmatic): Update to 2.1.5.
[phases]{set-path}: Remove phase.
[native-inputs]: Remove python-wheel; add python-pytest-timeout.

Change-Id: Ia6aa2d2447db4f2fff6441c52298234396d7c057
2026-05-24 10:19:27 +01:00
Sharlatan Hellseher 7054c34e48 gnu: python-lenstronomy: Skip one test.
* gnu/packages/astronomy.scm (python-lenstronomy):
[arguments] <test-flags>: Skip one more test.

Change-Id: If2738b947f6d172ba8ac371b0ff1324b53a12f9c
2026-05-24 10:19:26 +01:00
Nicolas Graves 68761af76e gnu: python-zeroc-ice-3.6: Fix build on python@3.12.
* gnu/packages/patches/python-zeroc-ice-3.6.5-python-3.12-support.patch:
  Add patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-zeroc-ice-3.6): Use it.

Merges: https://codeberg.org/guix/guix/pulls/8389
Change-Id: I73d3b981414474d880a82413dcff2fc11ef04d53
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves 03c8bfc630 gnu: python-querystring-parser: Fix tests on Python@3.12.
* gnu/packages/python-web.scm
  (python-querystring-parser)[arguments]<#:phases>:
  Drop replacement of 'check.  Add 'fix-python-incompatibilities.
  <#:test-backend, #:test-flags>: Set them.

Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves 7971513884 gnu: python-show-in-file-manager: Update to 1.1.6.
* gnu/packages/python-xyz.scm (python-show-in-file-manager):
  Update to 1.1.6.  [source]: Switch to git-fetch.
  [arguments]<#:tests?>: Disable them.
  [native-inputs]: Replace python-setuptools by python-hatchling.
  Replace python-argparse-manpage by python-hatch-argparse-manpage.
  Add python-pytest.

Change-Id: I3f0c6ce0128358fa01aeeb82d3222fdbbb78af4f
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves 0edf5af5ad gnu: python-senf: Update to 1.5.1.
* gnu/packages/python-xyz.scm (python-senf): Update to 1.5.1.
  [source]: Switch to git-fetch.
  [arguments]<#:test-flags>: Add comment.
  [native-inputs]: Remove python-wheel.

Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves 81cb24829a gnu: notmuch: Update to 0.40.
* gnu/packages/mail.scm (notmuch): Update to 0.40.
  [outputs]: Add output python.
  [arguments]<#:imported-modules, #:modules>: Import pyproject modules.
  <#:phases>: Add phase 'build-and-install-python,
  improve style of phase 'prepare-test-environment.
  [native-inputs]: Add patchelf, python-cffi, python-pytest,
  python-setuptools.  Replace python by python-wrapper.
  Remove emacs-no-x, which is not used (--without-emacs is set).

Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves c137824069 gnu: python-pyvcd: Fix tests.
* gnu/packages/electronics.scm (python-pyvcd)[source]:
  Switch to git-fetch.  [native-inputs]: Add python-pytest.

Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Sharlatan Hellseher 830a130dc4 gnu: python-pyopengl: Update to 3.1.10.
* gnu/packages/python-graphics.scm (python-pyopengl): Update to 3.1.10.
[source]: Swap to git-fetch.
[arguments] <test-flags>: Rework skipped tests.
[phases]{fix-paths}: Switch to search-input-file, adjust regexp
patterns.
{pre-check}: New phase.
[native-inputs]: Remove python-pygame and python-wheel; add
python-psutil and python-pygame-ce.

Change-Id: I73cc20a0182b5d9aecb945fccf7740bd68afcfde
2026-05-24 10:19:26 +01:00
Sharlatan Hellseher 9b8fe6da45 gnu: python-pygame-ce: Update to 2.5.7.
* gnu/packages/game-development.scm (python-pygame-ce): Update to 2.5.7.
[source]: Swap to git-fetch.

Change-Id: Ie7a34494b1f8d1ee1a5e684a9146e6ecb4af631a
2026-05-24 10:19:26 +01:00
Nicolas Graves 72d9d1fcfa gnu: python-lfdfiles: Update to 2026.4.30.
* gnu/packages/python-xyz.scm (python-lfdfiles): Update to 2026.4.30.
[source]<snippet>: Delete ldfiles/conftest.py which prevents tests/ to
run and doesn't seem used at all.
[arguments]: Update test comment.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 81494d2031 gnu: python-linux-procfs: Fix tests.
* gnu/packages/file-systems.scm (python-linux-procfs)
[arguments]<#:test-backend, #:test-flags>: Set them.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 1fde50fe3f gnu: lirc: Fix build on Python@3.12.
* gnu/packages/lirc.scm (lirc)
[arguments]: Run guix style -S arguments.
[native-inputs]: Add python-setuptools.
[inputs]: Drop input labels.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 704ee963d1 gnu: lofreq: Fix build on Python@3.12.
* gnu/packages/bioinformatics.scm (lofreq)[native-inputs]: Add
python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 3f3927c800 gnu: libpst: Fix build on Python@3.12.
* gnu/packages/mail.scm (libpst)[native-inputs]: Add
python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves c2989a556a gnu: libnl-python-package: Fix build on Python@3.12.
* gnu/packages/linux.scm (libnl-python-package)
[inputs]: Improve style, drop input labels. For python@3, replace
python-3 by python-wrapper, and add python-setuptools.
[arguments]: Rewrite them in a modern style, don't change the logic.

Change-Id: Id87cfdcc2afdd299b46fc47f53c59bd0f75e7125
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 45ffe3d00b gnu: lensfun: Fix build on Python@3.12.
* gnu/packages/photo.scm (lensfun)[inputs]: Add python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 3958781f18 gnu: clang-runtime: Fix build on Python@3.12.
* gnu/packages/llvm.scm (clang-runtime-from-llvm)
[native-inputs]: Add python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves d21bd2ae79 gnu: c-vise: Update to 2.8.0.
* gnu/packages/debug.scm (c-vise): Update to 2.8.0.
[native-inputs]: Relocate field, add python-pytest-flake8.
[inputs]: Relocate field, improve style.
[arguments]<#:phases>: Run guix style -S arguments.
In phase 'wrap, filter out native-input paths.
In phase 'hardcode-paths, use explicit "all" and "blank".

Fixes: guix/guix#8233
Change-Id: I1d3bb7c07c648f1bff731b94acc4d51559935303
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:24 +01:00
Nicolas Graves f62495b5c2 gnu: bcc: Fix build on Python@3.12.
* gnu/packages/linux.scm (bcc)[native-inputs]: Add python-setuptools.

Change-Id: I964718ba33741b38ea2b71ed9eb026638f526eaa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:24 +01:00
Sharlatan Hellseher 9f52fc6d9b gnu: aacircuit: Fix tests on Python@3.12.
* gnu/packages/electronics.scm (aacircuit):
[phases]{fix-python-incompatibilities}: New phase.

Change-Id: Iaa5c02bb5f9c4753108f0fa31af60a36e4ac7e82
2026-05-24 10:19:24 +01:00
Sharlatan Hellseher 3ce7f2f1c1 gnu: volume-key: Fix build on Python@3.12.
* gnu/packages/disk.scm (volume-key): Use G-Expressions.
[source]: Switch to git-fetch.
[arguments] <configure-flags>: Provide option to build only with
Python3 support.
[phases]{patch-python.h-path}: Remove phase.
{set-python-paths}: Add phase.
[native-inputs]: Remove swig-4.0 and python-3; add autoconf, automake,
gettext-minimal, libtool, python, python-setuptools, and swig.

Fixes: guix/guix#8368
Change-Id: I123d3314c31a111fc72e3afa44d9cdf079bc076e
Reported-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
2026-05-24 10:19:24 +01:00
Nicolas Graves 5f21a890b1 gnu: guile-wisp: Update to 1.0.13.
* gnu/packages/guile-xyz.scm (guile-wisp): Update to 1.0.13.
  [arguments]<#:imported-modules>: Make more robust to module changes.
  [native-inputs]: Drop input labels.

Change-Id: Ib644e797c963aca2759eb7af263bc2ca7949d68e
Merges: https://codeberg.org/guix/guix/pulls/8371
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:24 +01:00
Nicolas Graves 60f6956aef gnu: nsis-*: Build with scons.
Rationale: This package is the last user of scons-3 in Guix,
which doesn't build on python-team and would most likely
be easier to remove than fix.

* gnu/packages/installers.scm (make-nsis)[arguments]:
  Improve style, use G-expressions, the logic is not affected.
  <#:scons>: Remove keyword, effectively defaulting to scons-3.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: I038dacf1b1725df32b9aec1bd1c2c431d455a642
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:24 +01:00
Nicolas Graves 05964f9c4e gnu: python-pysrt: Fix tests on Python@3.12.
* gnu/packages/python-xyz.scm (python-pysrt)[arguments]<#:phases>:
  Add phase 'fix-python-incompatibilities.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: I69fb37881e9f6e65ef9856ce7bdd4a848d0af744
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:24 +01:00
Nicolas Graves d7c8ba60bd gnu: python-straight-plugin: Fix compilation, disable tests.
* gnu/packages/python-xyz.scm
  (python-straight-plugin)[arguments]<#:tests?>: Disable them.
  <#:phases>: Add phase 'fix-python-3.12-incompatibility.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: If9b3a36c1eedf00147b84333cac976e51c773c2e
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:24 +01:00
Nicolas Graves a86e253c7d gnu: python-pyactiveresource: Disable tests.
* gnu/packages/python-web.scm
  (python-pyactiveresource)[arguments]<#:tests?>:
  Disable them, use a comment.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: If5eac389c9976f9257e159ee9236e90506a042b9
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:23 +01:00
Nicolas Graves 0dec0b3ceb gnu: python-py-ubjson: Fix failing test.
* gnu/packages/patches/python-ubjson-recursion-test.patch: New file.
* gnu/local.mk: Register it
* gnu/packages/web.scm (python-py-ubjson)[source]<patches>: Use it.
  [arguments]<#:phases>: Drop them.  <#:test-backend>: Set to unittest.
  [native-inputs]: Drop python-coverage, lcov.  Relocate field.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: I0090eb39caa431775f8606740d2795eebe5bbc3a
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:23 +01:00
Nicolas Graves aa2701e550 gnu: python-jupyter-server: Update to 2.17.0.
* gnu/packages/jupyter.scm (python-jupyter-server): Update to 2.17.0.
[native-inputs]: Add python-pytest-asyncio.
2026-05-24 10:19:23 +01:00
Nicolas Graves dae11eead9 gnu: python-openapi-core: Fix tests.
* gnu/packages/python-web.scm (python-openapi-core)[native-inputs]:
Add python-pytest-asyncio.
2026-05-24 10:19:23 +01:00
Nicolas Graves 70c8daebb7 gnu: python-sphinxcontrib-websupport: Fix build.
* gnu/packages/sphinx.scm (python-sphinxcontrib-websupport):
[propagated-inputs]: Add python-jinja2, python-sphinx.
2026-05-24 10:19:23 +01:00
Nicolas Graves 9f6e09a7d7 gnu: python-sphinxcontrib-jquery: Disable tests.
* gnu/packages/sphinx.scm (python-sphinxcontrib-jquery):
[arguments]<#:tests?>: Disable them.
2026-05-24 10:19:23 +01:00
Nicolas Graves ac09b67c2f gnu: python-bleak: Update to 2.1.1.
* gnu/packages/python-xyz.scm (python-bleak): Update to 2.1.1.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Disable integration tests.
[native-inputs]: Add python-coverage, python-packaging,
python-poetry-core, python-pytest, python-pytest-asyncio.
2026-05-24 10:19:23 +01:00
Nicolas Graves a584aaeb8e gnu: python-jupyterlite-core: Fix tests.
* gnu/packages/jupyter.scm (python-jupyterlite-core)[native-inputs]:
Add python-pytest.
2026-05-24 10:19:23 +01:00
Nicolas Graves 852107cc82 gnu: shorah: Update to 1.99.3.
* gnu/packages/bioinformatics.scm (shorah): Update to 1.99.3.
[native-inputs]: Add python-setuptools.
2026-05-24 10:19:22 +01:00
Nicolas Graves a28ba47d80 gnu: python-latexminted: Disable tests.
* gnu/packages/python-xyz.scm (python-latexminted)
[arguments]<#:tests?>: Disable them.
[native-inputs]: Drop python-wheel.
2026-05-24 10:19:22 +01:00
Nicolas Graves 0228c25072 gnu: python-pympler: Update to 1.1-0.6d595e0.
* gnu/packages/python-xyz.scm (python-pympler): Update to 1.1-0.6d595e0.
[arguments]<#:test-flags>: Ignore additional test.
[native-inputs]: Drop python-wheel.
2026-05-24 10:19:22 +01:00
Sharlatan Hellseher 8b9cd90288 gnu: pdf-tocgen: Remove unused phases and native-inputs.
* gnu/packages/pdf.scm (pdf-tocgen):
[phases]{patch-tests}: Remove phase.
[native-inputs]: Remove poetry, python-mamba, and python-pylint.

Relates-to: guix/guix#8361
Change-Id: I54ffb9668e6e1c3056b91df419ebe70a219cc463
2026-05-24 10:19:22 +01:00
Sharlatan Hellseher 6667a6d47b gnu: python-memory-profiler: Update to 0.61-0.025929f.
* gnu/packages/python-check.scm (python-memory-profiler): Update to
025929f8e4f4ea8c27ddb5ef72fc91f6bd703ea5 commit.
[phases]{disable-failing-tests}: Remove phase.
{check}: Use custom phase, run each test scenario manually as seen in
Makefile.
[native-inputs]: Remove python-pytest, python-pytest-fixture-config,
python-safety, and python-wheel.

Change-Id: Idc3770c0f01163845645da79b984ead326954314
2026-05-24 10:19:22 +01:00
Sharlatan Hellseher 3d6cc35ef2 gnu: python-jupyter-events: Adjust inputs.
* gnu/packages/jupyter.scm (python-jupyter-events):
[propagated-inputs]: Remove python-rich.
[native-inputs]: Add python-rich.

Change-Id: Icf52c8d0816c11fb2e0447556f66ef738c00e015
2026-05-24 10:19:22 +01:00
Nicolas Graves fc031dfe45 gnu: python-intersphinx-registry: Update to 0.2705.27.
* gnu/packages/sphinx.scm (python-intersphinx-registry): Update to 0.2705.27.
[source]<file-name>: Set it.
[arguments]<#:tests?>: Disable them.
[propagated-inputs]: Add python-requests.

Change-Id: I6fa10a6f19e01e872903f5a6ce7d314b82da3882
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:22 +01:00
Nicolas Graves 3a85bc86c5 gnu: python-icontract: Update to 2.7.3.
* gnu/packages/python-check.scm (python-icontract): Update to 2.7.3.

Change-Id: I6d748fde84b566abd7022780f3819af334f4f064
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:22 +01:00
Nicolas Graves 12c428af76 gnu: python-hdlmake: Fix tests.
* gnu/packages/electronics.scm (python-hdlmake)[native-inputs]: Add python-pytest.

Change-Id: I95462272c9f1944a06cc730075445f4c1413c43f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:21 +01:00
Nicolas Graves e9d61613a6 gnu: Remove python-dulwich-0.24.
* gnu/packages/python-xyz.scm (python-dulwich-0.24): Delete variable.

Fixes: guix/guix#6335
Change-Id: Ic910238001327177869b2282553dc4058c4fa29c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:21 +01:00
Nicolas Graves 99c5f2413b gnu: python-logutils: Update to 0.3.5-0.c032f72.
* gnu/packages/python-xyz.scm (python-logutils): Update to 0.3.5-0.c032f72.

Change-Id: Ic0f6e15b42c2eac3c6d7639a162cc1032bc432af
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:21 +01:00
Nicolas Graves f8a11df0ad gnu: poetry: Update to 2.3.4.
* gnu/packages/package-management.scm (poetry): Update to 2.3.4.
[native-inputs]: Remove python-httpretty, add python-responses.
[propagated-inputs]: Remove python-crashtest, python-entrypoints,
python-pexpect, python-pip, python-poetry-plugin-export.  Add
python-pendulum.  Replace python-dulwich-0.24 by python-dulwich.

Change-Id: I776326666c5b9d6bbd45e53f6d7abaf86e7587d7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:21 +01:00
Nicolas Graves 48badd68ec gnu: python-poetry-core: Update to 2.3.2.
* gnu/packages/python-build.scm (python-poetry-core): Update to 2.3.2.

Change-Id: Ia0103d9295544ec692e9fa6ca4325f8baadb25d1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:21 +01:00
Nicolas Graves f66b5844d2 gnu: python-poetry-plugin-export: Update to 1.10.0.
* gnu/packages/python-xyz.scm (python-poetry-plugin-export): Update to 1.10.0.
[propagated-inputs]: Add python-cachy, python-poetry-core,
python-tomlkit.

Change-Id: Iadc4c0c2b610d9513896fddac7e92e424161757c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:21 +01:00
Nicolas Graves 42da3f0308 gnu: python-mdit-py-plugins: Update to 0.5.0.
* gnu/packages/python-xyz.scm (python-mdit-py-plugins): Update to 0.5.0.

Change-Id: I2c2da11ecd93f2a167349299b50ce26c6073b944
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:21 +01:00
Nicolas Graves 2a9e90aa84 gnu: python-hatch-gettext: Disable tests.
* gnu/packages/python-xyz.scm (python-hatch-gettext)
[source]: Switch to git-fetch.
[arguments]<#:tests?>: Disable them.

Change-Id: I8ea2daab575aab0174b98477c9994d5822c0ed9e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:21 +01:00
Nicolas Graves 4cc1a78d57 gnu: python-hatch-argparse-manpage: Disable tests.
* gnu/packages/python-xyz.scm (python-hatch-argparse-manpage)
[source]: Switch to git-fetch.
[arguments]<#:tests?>: Disable them.

Change-Id: Ic763ffa62ccaebe7eca223e879f0addb07abd1e2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:20 +01:00
Nicolas Graves 24bc3fb935 gnu: breezy: Update to 3.3.21.
* gnu/packages/version-control.scm (breezy): Update to 3.3.21.
[source]: Switch to git-fetch.
[inputs]: Replace python-dulwich-0.24 by python-dulwich.
* gnu/packages/rust-crates.scm: Refresh them accordingly.

Change-Id: I2bb7b8488a7239017ee981f0bf4e75b445e846fb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:20 +01:00
Sharlatan Hellseher d1939ee8d2 gnu: python-jupyter-events: Update to 0.12.1.
* gnu/packages/jupyter.scm (python-jupyter-events): Update to 0.12.1.
[source]: Switch to git-fetch..
[home-page]: Switch to GitHub URL.

Change-Id: If7733756979453464052372011c6dbf58152d41a
2026-05-24 10:15:01 +01:00
Nicolas Graves 8a7fc90c47 gnu: python-json-logger: Update to 4.0.0.
* gnu/packages/python-xyz.scm (python-json-logger): Update to 4.0.0.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Drop them.
[native-inputs]: Add python-freezegun, python-mike, python-msgspec,
python-orjson, python-pypa-build, python-pytest, python-setuptools,
python-tzdata, python-validate-pyproject, python-typing-extensions.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:01 +01:00
Nicolas Graves f501709a3a gnu: python-gtts: Update to 2.5.4.
* gnu/packages/python-xyz.scm (python-gtts): Update to 2.5.4.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-click, python-requests, python-wheel.
[propagated-inputs]: Add python-click-8.1, python-requests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:01 +01:00
Nicolas Graves fce0f1ed55 gnu: python-flask-login: Update to 0.6.3-0.c8bba84.
* gnu/packages/python-web.scm (python-flask-login): Update to 0.6.3-0.c8bba84.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:01 +01:00
Nicolas Graves 23bcb26db1 gnu: python-cmcrameri: Fix tests on Python@3.12.
* gnu/packages/python-science.scm (python-cmcrameri):
[source]: Switch to git-fetch.
[native-inputs]: Add python-pytest.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:00 +01:00
Nicolas Graves 229d85d62b gnu: python-carbon: Update to 1.1.10-0.697bc3b.
* gnu/packages/monitoring.scm (python-carbon): Update to 1.1.10-0.697bc3b.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:00 +01:00
Nicolas Graves 128aac4cd3 gnu: python-tbb: Fix build on Python@3.12.
* gnu/packages/tbb.scm (python-tbb)[native-inputs]: Add
python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:00 +01:00
Nicolas Graves dfec51260a gnu: python-hawkauthlib: Fix tests on Python@3.12.
* gnu/packages/python-web.scm (python-hawkauthlib)
[arguments]<#:phases>: Add phase 'fix-python-incompatibilities.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:00 +01:00
Nicolas Graves f5639a39b5 gnu: python-onetbb: Fix build on Python@3.12.
* gnu/packages/oneapi.scm (python-onetbb)[native-inputs]: Add
python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:00 +01:00
Nicolas Graves b6171817b7 gnu: python-gyp: Move to (gnu packages package-management).
* gnu/packages/python-xyz.scm (python-gyp): Move from here…
* gnu/packages/package-management.scm (python-gyp): …to here.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:00 +01:00
Nicolas Graves 3fc6111ed5 gnu: python-gyp: Fix build on Python@3.12.
* gnu/packages/python-xyz.scm (python-gyp)[arguments]
<#:phases>: Add phase 'python-3.12-compatibility.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:00 +01:00
Nicolas Graves bea8610434 gnu: Remove python-fs.
* gnu/packages/python-xyz.scm (python-fs): Delete variable.

Fixes: guix/guix#7195
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:15:00 +01:00
Nicolas Graves d9d0ee801d gnu: python-freecell-solver: Fix tests.
* gnu/packages/python-xyz.scm (python-freecell-solver)
[arguments]: Drop them.
[native-inputs]: Drop python-wheel. Add python-pytest.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:59 +01:00
Nicolas Graves c68db104cd gnu: python-fenics-dijitso: Fix tests.
* gnu/packages/simulation.scm (python-fenics-dijitso)
[native-inputs]: Re-introduce python-pytest-cov.

Change-Id: I8ade39f8dbac62eea8f978c70d88310a00ad7581
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:59 +01:00
Sharlatan Hellseher 0e65827f23 gnu: julia-pyplot: Update to 2.11.6.
* gnu/packages/julia-xyz.scm (julia-pyplot): Update to 2.11.6.

Change-Id: I77120c75903d03dd71cd803b94fbcd1114e79153
2026-05-24 10:14:59 +01:00
Sharlatan Hellseher bc8c6a793a gnu: python-pyppmd: Switch to git-fetch.
* gnu/packages/python-compression.scm (python-pyppmd):
[source]: Switch to git-fetch.

Change-Id: I25df9755189dffbe1972d4ffb213a4c8c5368430
2026-05-24 10:14:59 +01:00
Sharlatan Hellseher f290478de6 gnu: python-yapsy: Update to 1.12.2-0.6b487b0.
* gnu/packages/python-xyz.scm (python-yapsy): Update to
6b487b04affb19ab40adbbc87827668bea0abcee commit.
[source]: Switch to git fetch.
[arguments]: Drop all.
[native-inputs]: Add python-pytest.

Change-Id: Id1ab855b1836765c2fea1bd9f65e353ab5fb6f3e
2026-05-24 10:14:59 +01:00
Sharlatan Hellseher d67a51d840 gnu: python-myst-parser: Update to 5.0.0.
* gnu/packages/sphinx.scm (python-myst-parser): Update to 5.0.0. Improve
package style.
[arguments] <test-flags>: Rework test to run only docutils tests.
[propagated-inputs]: Remove python-typing-extensions.
[native-inputs]: Remove python-beautifulsoup4,
python-pytest-regressions, and python-sphinx-pytest.

Change-Id: I633fcd5477722dc8fb6cc1b2cd2d786389208b87
2026-05-24 10:14:59 +01:00
Nicolas Graves 976cab3379 gnu: python-strenum: Fix tests on python@3.12.
* gnu/packages/python-xyz.scm (python-strenum)
[source]<snippet>: Drop versioneer.py.
[arguments]<#:test-flags>: Focus to tests/ only.
[native-inputs]: Add python-pytest-pylint, python-versioneer.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:59 +01:00
Nicolas Graves 4244e546ad gnu: python-unix-ar: Fix tests.
* gnu/packages/python-compression.scm (python-unix-ar)
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Refresh them.
<#:phases>: Drop them.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:59 +01:00
Nicolas Graves c491921719 gnu: offlineimap3: Update to 8.0.2.
* gnu/packages/mail.scm (offlineimap3): Update to 8.0.2.
[arguments]<#:phases>: Drop phase 'fix-issue-205.
[inputs]: Replace python-urllib3-1.25 by python-urllib3.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:58 +01:00
Nicolas Graves 918d8e7048 gnu: python-vosk: Fix build on Python@3.12.
* gnu/packages/machine-learning.scm (python-vosk)[arguments]
<#:phases>: Patch phase 'from-abi-to-api to work on python@3.12.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:58 +01:00
Nicolas Graves 3cc28286bf gnu: python-aws-sam-translator: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-aws-sam-translator)
[arguments]<#:phases>: Drop phase 'fix-pytest-config.
[native-inputs]: Add python-pytest-rerunfailures.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:58 +01:00
Nicolas Graves 99979824af gnu: julia-pycall: Fix imported-modules.
* gnu/packages/julia-xyz.scm (julia-pycall)[arguments]
<#:imported-modules>: Adapt them so that they are adapted to the
recent move to (guix build toml).

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:58 +01:00
Nicolas Graves 8a8de30ede gnu: python-inline-snapshot: Update to 0.32.6.
* gnu/packages/python-check.scm (python-inline-snapshot): Update to 0.32.6.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:58 +01:00
Nicolas Graves bc563c9a87 gnu: python-jupyter-server-terminals: Update to 0.5.4.
* gnu/packages/jupyter.scm (python-jupyter-server-terminals): Update to 0.5.4.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:58 +01:00
Nicolas Graves 91614f3b7a gnu: python-markdown-it-py: Update to 4.0.0.
* gnu/packages/python-xyz.scm (python-markdown-it-py): Update to 4.0.0.
[source]: Switch to git-fetch.
[arguments]<#:tests?>: Enable them.
<#:test-flags>: Disable benchmark-tests.
[native-inputs]: Add python-pytest, python-pytest-benchmark,
python-pytest-regressions, python-requests.
[propagated-inputs]: Remove python-psutils, marked as a benchmark
dependency in pyproject.toml.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:58 +01:00
Nicolas Graves 85108964bf gnu: python-pytest-benchmark: Update to 5.2.3.
* gnu/packages/python-check.scm (python-pytest-benchmark): Update to 5.2.3.
[source]: Switch to git-fetch.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:57 +01:00
Nicolas Graves dba5ae1a60 gnu: python-mkdocs: Ignore failing tests.
* gnu/packages/python-xyz.scm (python-mkdocs)[arguments]
<#:test-flags>: Refresh them according to pyproject.toml.
<#:phases>: Add phase 'delete-failing-tests.

Change-Id: I8c064722adc36fe16c57bfb3d6d925a701895639
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:57 +01:00
Sharlatan Hellseher 2de54f42ec gnu: behave: Update to 1.3.3-0.43d0a93.
* gnu/packages/check.scm (behave): Update to
43d0a93240c0b25b0cbf59bdc196b74fb8a2353e commit.
[native-inputs]: Remove python-assertpy and python-mock; add
python-freezegun, python-charset-normalizer, and python-pytest-html.

Change-Id: Icf3d91ccaa4392da7c381a889ddf2ef0d0474fe0
2026-05-24 10:14:57 +01:00
Sharlatan Hellseher 6ba797481c gnu: python-cucumber-tag-expressions: Update to 9.1.0.
* gnu/packages/python-check.scm (python-cucumber-tag-expressions): Update to 9.1.0.
[arguments] <build-backend>: Use setuptools.build_meta.

Change-Id: I2953c2c65fa6b5ce316e20760c9eea4d2b6cc66e
2026-05-24 10:14:57 +01:00
Sharlatan Hellseher eaea62aadb gnu: python-cucumber-expressions: Update to 19.0.0.
* gnu/packages/python-check.scm (python-cucumber-expressions): Update to 19.0.0.
[phases]{patch-pyproject}: New phase.
[native-inputs]: Remove python-poetry-core; add python-setuptools.

Change-Id: Ia41ef5b4f4289f69cfe69e7f86cc8ba195f15e35
2026-05-24 10:14:57 +01:00
Sharlatan Hellseher 98e6b3d1ca gnu: python-parse-type: Update to 0.6.6-0.5c4126a.
* gnu/packages/python-xyz.scm (python-parse-type): Update to
5c4126ae3973b5c0a4107cd8b29f2b74993be330 commit.
[source]: Switch to git-fetch.
[phases]{fix-pytest-config}: New phase.
[license]: Fix it as seen in pyproject.toml and LICENSE file, it was
changed in 1a387ec9fc12c09c69fb88c817c93104c5cf74df commit.

Change-Id: I7f3a7a12806282f2d90169c10153325fcf718b43
2026-05-24 10:14:57 +01:00
Sharlatan Hellseher 92cab9cefe gnu: python-gridmap: Add maintenance note.
* gnu/packages/python-xyz.scm (python-gridmap): Add maintenance note.

Change-Id: I717cce180df7f68bc6840db224ebd4fb2778c905
2026-05-24 10:14:57 +01:00
Nicolas Graves 83f38a3a8b gnu: python-autograd: Fix build on Python@3.12.
* gnu/packages/machine-learning.scm (python-autograd)[native-inputs]:
Add python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:57 +01:00
Nicolas Graves fd1f16d442 gnu: python-phpserialize: Fix tests.
* gnu/packages/python-xyz.scm (python-phpserialize)[arguments]
<#:phases>: Add phase 'patch-tests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:56 +01:00
Nicolas Graves 76482bfbeb gnu: python-cherrypy: Fix build.
* gnu/packages/python-web.scm (python-cherrypy)[arguments]
<#:phases>: Merge duplicate keywords.
<#:test-flags>: Drop tests that are not failing on Python@3.12.
[propagated-inputs]: Add python-filelock.
[native-inputs]: Remove python-filelock.

Fixes: guix/guix#8323
Change-Id: I91473aec0d206ef4a472413c44e4cc65d1301dff
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:56 +01:00
Nicolas Graves 8a775a3180 gnu: python-zconfig: Update to 4.3.
* gnu/packages/python-web.scm (python-zconfig): Update to 4.3.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:56 +01:00
Nicolas Graves 7555809047 gnu: python-rich-argparse: Update to 1.8.0.
* gnu/packages/python-xyz.scm (python-rich-argparse): Update to 1.8.0.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:56 +01:00
Nicolas Graves 5a28a901ac gnu: pre-commit: Update to 4.6.0.
* gnu/packages/version-control.scm (pre-commit): Update to 4.6.0.
[arguments]<#:test-flags>: Refresh them, improve comments.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:56 +01:00
Nicolas Graves 31d546523c gnu: python-arcp: Fix tests on Python@3.12.
* gnu/packages/python-xyz.scm (python-arcp)[arguments]: Add phase
'patch-tests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:56 +01:00
Nicolas Graves cedb04a48e gnu: python-parsley: Patch package with upstream patch.
* gnu/packages/python-xyz.scm (python-parsley)
[source]: Add a patch to support python@3.12.
[arguments]<#:test-flags>: Drop all outdated tests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:56 +01:00
Nicolas Graves 65e98b4503 gnu: python-ndeflib: Ignore additional failing test.
* gnu/packages/python-xyz.scm (python-ndeflib)[arguments]:
Ignore additional failing test.

Change-Id: I68f9982e1535c2a8fa9e8743627496f11392d072
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:56 +01:00
Nicolas Graves fa7763e0d1 gnu: python-cucumber-tag-expressions: Fix check phase.
* gnu/packages/python-check.scm (python-cucumber-tag-expressions)
[native-inputs]: Add python-pytest-metadata.

Change-Id: I693d5c0c85af91c88bffed99d63bb21b6d278cb5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:55 +01:00
Nicolas Graves 100d1478c5 gnu: soapysdr: Fix build for python@3.12.
* gnu/packages/radio.scm (soapysdr)[native-inputs]: Add
python-setuptools.

Change-Id: Iae09a65d32e5cb6feba2da99622bf788e8882ba8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:55 +01:00
Hugo Buddelmeijer 7c6b3305a8 gnu: rust-1.55: Fix build with Python 3.12.
* gnu/packages/rust.scm: (rust-1.55):
[native-inputs]: Add python-setuptools-bootstrap.

Merges: https://codeberg.org/guix/guix/pulls/8264
Change-Id: Id41ded106c442cc28ee3f66ab7e3cc1412daa5f4
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-05-24 10:14:55 +01:00
Sharlatan Hellseher 0d33f41770 gnu: pass-git-helper: Update to 4.3.0.
* gnu/packages/password-utils.scm (pass-git-helper): Update to 4.3.0.
[native-inputs]: Add python-pytest.

Change-Id: I69cc0de885617da875c0befda81d5c2a39a2fcd4
2026-05-24 10:14:55 +01:00
Sharlatan Hellseher 2a671f6ab4 gnu: fava-envelope-airmail: Disable missing tests.
* gnu/packages/finance.scm (fava-envelope-airmail):
[arguments] <tests?>: Disable tests which are not provided in PyPI
archive or Git.
[description]: Mention that the current package is a fork of the fork of
original project.

Change-Id: I1c231bca5fcca6d88024520c5051a0444876d9f8
2026-05-24 10:14:55 +01:00
Sharlatan Hellseher 4e23fcfb84 gnu: python-parsley: Skip 8 tests.
* gnu/packages/python-xyz.scm (python-parsley):
[arguments] <test-flags>: Skip 8 tests.
[native-inputs]: Remove python-wheel.

Change-Id: I702dce5a2352e472c4ef42e81f62b245377bcc17
2026-05-24 10:14:55 +01:00
Nguyễn Gia Phong 1720ba0bf2 gnu: python-sip-4: Fix build.
Its configure.py imports distutils.

* gnu/packages/qt.scm (python-sip-4)[native-inputs]: Add python-setuptools.

Change-Id: Id1a5b09b62498a68630cbf55b18ca2f58d267656
2026-05-24 10:14:55 +01:00
Nguyễn Gia Phong 3515ff78fd gnu: python-latexrestricted: Fix build.
* gnu/packages/python-xyz.scm (python-latexrestricted)[arguments]:
  Disable nonexistent tests.

Change-Id: I3060d9ff5461671f2863a95bcb74588065596135
2026-05-24 10:14:55 +01:00
Nguyễn Gia Phong b45ee5ab27 gnu: python-beangulp: Fix test.
* gnu/packages/patches/python-beangulp-click-8.2-compat.patch: New file.
* gnu/packages/finance.scm (python-beangulp)[source]<patches>: Use it.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I4f29e865f6df078b667dfd2129023b9e35c2f9b5
2026-05-24 10:14:54 +01:00
Nguyễn Gia Phong a04a084629 gnu: python-zipfile2: Fix compatibility with Python 3.12.
* gnu/packages/patches/python-zipfile2-python-3.12-support.patch:
  New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-compression.scm
  (python-zipfile2)[source]<patches>: Use it.

Change-Id: I0e85c198831a9c039889ddc3e4519dc304dc3d5e
2026-05-24 10:14:54 +01:00
Nguyễn Gia Phong adc94a2bdb gnu: python-pyinotify: Fix build.
* gnu/packages/python-xyz.scm (python-pyinotify)[propagated-inputs]:
  Add python-pyasyncore.

Change-Id: I76f6890966f7156b45ea01b1aaf018ab4b797def
2026-05-24 10:14:54 +01:00
Nguyễn Gia Phong 23180b4f68 gnu: python-hjson: Fix test.
* gnu/packages/python-xyz.scm (python-hjson)[source]<snippet>:
  Add substitution to fix a doctest on Python 3.12.

Change-Id: Iea482705d1763f2d4a47989e58267954315925ad
2026-05-24 10:14:54 +01:00
Hugo Buddelmeijer abf4241e0f gnu: python-stem: Update to 1.8.3 and fix Python 3.12 compatibility.
* gnu/packages/python-xyz.scm (python-stem): Update to 1.8.3.
[source]: Switch to git-fetch.
[arguments]<#:phases>: Add 'fix-python-312.
<#:test-backend, #:test-flags>: Use custom backend.
[phases]{check}: Use default phase.

Change-Id: I4dacef725994ed7c2f5e2e5f812088f4df098883
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:54 +01:00
Hugo Buddelmeijer 74cd8c84ba gnu: python-ijson: Update to 3.5.0.
* gnu/packages/python-xyz.scm (python-ijson): Update to 3.5.0.
[native-inputs]: Remove python-wheel.

Change-Id: I77922bd63d4da4be97d3436bb99913dfb1bc349b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:54 +01:00
Sharlatan Hellseher 104d96382e gnu: 389-ds-base: Fix build on python-3.12.
* gnu/packages/openldap.scm (389-ds-base):
[native-inputs]: Add python-setuptools.

Change-Id: If8c7c22acb095d6264fbb15fa70706af793fa3fd
2026-05-24 10:14:54 +01:00
Sharlatan Hellseher 088e94b440 gnu: python-ads: Skip one test.
* gnu/packages/astronomy.scm (python-ads):
[arguments] <test-flags>: Skip one problematic test.
[native-inputs]: Remove python-wheel.

Change-Id: Idada295af88f51e7e3adf0c4730c17378f175369
2026-05-24 10:14:54 +01:00
Cayetano Santos f28ceaa85e gnu: python-threadpoolctl: Update to 3.6.0.
* gnu/packages/machine-learning.scm (python-threadpoolctl): Update to 3.6.0.
[source]: Switch to git-fetch.

Merges: guix/guix!7295
Change-Id: I87ff452dc0ec7cc28582dda01d8ccd556093d09c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:53 +01:00
Sharlatan Hellseher 05d2f6f69a gnu: python-diskcache: Update to 5.6.3-0.ebfa37c.
* gnu/packages/python-xyz.scm (python-diskcache): Update to
ebfa37cd99d7ef716ec452ad8af4b4276a8e2233 commit.
[source]: Build from the latest commit.
[arguments] <test-flags>: Run all test in a single thread.
<phases>: Add 'fix-pytest-config.
[native-inputs]: Remove python-matplotlib and python-pytest-xdist.

Change-Id: I46d1dd6a9b47f4eec021e25b0fb3ff5b8ff91c32
2026-05-24 10:14:53 +01:00
Sharlatan Hellseher 11fe969f5a gnu: python-logical-unification: Update to 0.4.7.
* gnu/packages/python-xyz.scm (python-logical-unification): Update to 0.4.7.
[native-inputs]: Remove python-versioneer and python-wheel; add python-setuptools-scm.

Change-Id: I2ad95e0f70b07421c73d188c5a2d3fd3011b9e7e
2026-05-24 10:14:53 +01:00
Nicolas Graves e68fa6a0f9 gnu: python-ldaptor: Fix build on python@3.12.
* gnu/packages/python-web.scm (python-ldaptor)[arguments]<#:phases>:
Add phase python-3.12-patch.

Change-Id: I10157ab41a5a5f78c4166a5c0a76ab9028ffd54d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:53 +01:00
Nicolas Graves 0c8873ce42 gnu: babeltrace: Fix python@3.12 build.
* gnu/packages/instrumentation.scm (babeltrace)[native-inputs]: Add
python-setuptools.

Change-Id: I622b724fbc0abfb13599db051b03e5c970e92988
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:53 +01:00
Nicolas Graves 787f35d405 gnu: coda: Update to 2.25.6.
* gnu/packages/maths.scm (coda)
[source]: Switch to git-fetch.  Update to 2.25.6.
<patches>: Drop patch.
<snippet>: Improve style and patch with a substitute* instead, refresh
it for pcre2.
[native-inputs]: Drop input labels.  Add autoconf, automake, bison,
flex, libtool.
[inputs]: Replace pcre by pcre2.

* gnu/packages/patches/code-use-system-libs.patch: Drop patch.

* gnu/local.mk: Likewise.

Change-Id: If8c33f94b421c93724cabf8c45815a5cb19fb046
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:53 +01:00
Nicolas Graves 15a4296643 gnu: systemtap: Update to 5.4.
* gnu/packages/instrumentation.scm (systemtap): Update to 5.4.
[arguments]: Drop them.
[native-inputs]: Add boost, python-setuptools.

Change-Id: I37ecb5bd1f98cc19248b03420b69f818dc3af906
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:53 +01:00
Nicolas Graves 260384bbb2 gnu: xen: Update to 4.21.1.
* gnu/packages/virtualization.scm (xen): Update to 4.21.1.
[native-inputs]: Refresh mini-os, add python-setuptools.

Change-Id: I39bb20c2fc34f11657f2906dd16d7ae0ed7e19f8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:53 +01:00
Nicolas Graves e10db2eb03 gnu: recode: Update to 3.7.15.
* gnu/packages/textutils.scm (recode): Update to 3.7.15.
[native-inputs]: Add help2man and python-setuptools.

Change-Id: I319e285e721c72dbf01854aa8bec7d05acfdffc2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:52 +01:00
Nicolas Graves 7db86d5ade gnu: kismet: Update to 2025.09.R1.
* gnu/packages/networking.scm (kismet): Update to 2025.09.R1.
[arguments]<#:configure-flags>:  Add flag --disable-librtlsdr.
[native-inputs]: Remove python-2.
[inputs]: Replace boost@1.83 by boost.  Add lm-sensors:lib and
mosquitto.

Change-Id: If3478011c0ef9a3d8e1e748e815a3b09edf566e0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:52 +01:00
Nicolas Graves 46b37adf18 gnu: goocanvas: Update to 3.0.0.
* gnu/packages/gtk.scm (goocanvas): Update to 3.0.0.

Change-Id: I920e4f6e1af91eec040e7d7e9568e079182a53ae
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:52 +01:00
Nicolas Graves 0a4f9bca14 gnu: apparmor: Fix python@3.12 build.
* gnu/packages/apparmor.scm (apparmor)[native-inputs]: Add
python-setuptools.

Change-Id: I98fc5b8d34d588661edc93aa993bf803afebd5aa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:52 +01:00
Nicolas Graves 70debb63a7 gnu: python-pytest-split: Ignore failing test.
* gnu/packages/python-check.scm (python-pytest-split)
[arguments]<#:test-flags>: Ignore failing test.
<#:phases>: Drop phase 'fix-pytest-config.
[native-inputs]: Replace python-pytest-bootstrap by python-pytest-8.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:52 +01:00
Sharlatan Hellseher 75a3b10447 gnu: python-passlib: Skip some tests.
* gnu/packages/python-crypto.scm (python-passlib):
[arguments] <test-flags>: Skip 4 tests groups; run tests in parallel.
[native-inputs]: Remove python-wheel; add python-pytest-xdist.

Change-Id: I89d9e7f789137d22a1246d175e561c50965c8ae2
2026-05-24 10:14:52 +01:00
Sharlatan Hellseher 8b36bd856f gnu: python-psutil: Fix and improve tests.
* gnu/packages/python-xyz.scm (python-psutil): Run tests in parallel,
rework skipped tests.
[arguments] <test-flags>: Run tests for psleak; rework skipped test to
use long option --deselect.
[phases]{prepare-tests}: Rename to {pre-check}, add environment
variables setting up steps as seen in project's Makefile.
[native-inputs]: Add python-psleak, and  python-pyperf.

Change-Id: Id076891fa1f3945f3a6a21146214ef8805f62d85
2026-05-24 10:14:52 +01:00
Sharlatan Hellseher c52db0c0b6 gnu: python-pyperf: Update to 2.10.0.
* gnu/packages/python-xyz.scm (python-pyperf): Update to 2.10.0.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-psutil and python-wheel; add
python-psutil-bootstrap.

Change-Id: I7f39a9a26dca5a10cc1d51d0377d55187a0fff4e
2026-05-24 10:14:51 +01:00
Sharlatan Hellseher 9f1667f44f gnu: Add python-psleak.
* gnu/packages/python-check.scm (python-psleak): New variable.

Change-Id: Icd7bd533066dcb7bb7a238fa323a140627e1e878
2026-05-24 10:14:51 +01:00
Sharlatan Hellseher 529200e754 gnu: Add python-psutil-bootstrap.
* gnu/packages/python-xyz.scm (python-psutil-bootstrap): New variable.

Change-Id: I1eb2ea0e76fb2bb9c06fddefd33cbe7b1c976494
2026-05-24 10:14:51 +01:00
Sharlatan Hellseher f4589a3ce3 gnu: python-virtualenv: Update to 20.35.4.
* gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.35.4.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Rework skipped tests.

Change-Id: If627123d9213470b03f0535b90b1098cbde7c1ff
2026-05-24 10:14:51 +01:00
Sharlatan Hellseher 2f8ba94000 gnu: python-abjad-ext-rmakers: Disable tests.
* gnu/packages/music.scm (python-abjad-ext-rmakers):
[source] <url>: Fix redirection.
[arguments] <tests?>: Disable.
[native-inputs]: Remove python-pytest and python-wheel.

Change-Id: I2d1ff60f3e1ab4eff678a738c407e01b43391e13
2026-05-24 10:14:51 +01:00
Sharlatan Hellseher fc71a33ccb gnu: datasette: Update to 1.0a26.
* gnu/packages/databases.scm (datasette): Update to 1.0a26.
[arguments] <test-flags>: Limit parallel tests up to 8 threads; run all
tests.
[propagated-inputs]: Remove python-pint.
[native-inputs]: Remove python-pytest-asyncio-0.26; add
python-multipart-form-data-conformance and python-pytest-asyncio.

Change-Id: I1560278ccd9eb954dd9ceab3f8b122cead7cf7cf
2026-05-24 10:14:51 +01:00
Sharlatan Hellseher 488d63e4df gnu: cpplint: Fix tests.
* gnu/packages/cpp.scm (cpplint)[phases]{fix-pytest-config}: New phase.

Change-Id: I75ea1c39f57d79d42f376f00da83e0e4867bfd8b
2026-05-24 10:14:51 +01:00
Sharlatan Hellseher 1a65ed3df8 gnu: python-abjad-ext-nauert: Update to 3.31.
* gnu/packages/music.scm (python-abjad-ext-nauert): Update to 3.31.
[phases]{remove-local-source}: New phase.
[native-inputs]: Remove python-wheel.

Change-Id: Icac45d805e03a91cc3e5f3bdf1ab1ce41d626b67
2026-05-24 10:14:51 +01:00
Sharlatan Hellseher c52e7d38b5 gnu: python-opt-einsum: Update to 3.4.0.
* gnu/packages/python-science.scm (python-opt-einsum): Update to 3.4.0.
[source]: Switch to git-fetch.
[propagated-inputs]: Add python-dask and python-sparse.
[native-inputs]: Remove python-setuptools and python-wheel; add
python-hatch-fancy-pypi-readme, python-hatch-vcs, and
python-hatchling.

Change-Id: I9aea1e93908bc06374e0ea9577e3b46492b64e40
2026-05-24 10:14:50 +01:00
Sharlatan Hellseher 74110f0896 gnu: python-ndindex: Fix tests.
* gnu/packages/python-science.scm (python-ndindex):
[arguments] <test-flags>: Run tests in parallel, proper ignore and
deselect coverage markers warnings.
[native-inputs]: Add python-pytest-xdist.

Change-Id: Icf34370cfd0fa37cf34bf1f7efc08b8efb95f700
2026-05-24 10:14:50 +01:00
Sharlatan Hellseher 9211073c3d gnu: python-lief: Improve package.
* gnu/packages/python-xyz.scm (python-lief): Fix indentation and order
of fields.
[native-inputs]: Remove cmake-minimal; add python-tomli.

Change-Id: Iaf2abc5538f7adfa606bef8b2fd92d035a54b163
2026-05-24 10:14:50 +01:00
Sharlatan Hellseher 67e8b9b5ec gnu: Remove h3-3 and python-h3-3.
* gnu/packages/geo.scm (h3-3, python-h3-3): Delete variables.

Fixes: guix/guix#7433
Change-Id: Ie303de31cf5f8147cb602858aff87a122096d82c
2026-05-24 10:14:50 +01:00
Sharlatan Hellseher d230047fda gnu: python-scikit-build-core: Update to 0.12.2.
* gnu/packages/python-science.scm (python-scikit-build-core): Update to 0.12.2.
[source]: Switch to git-source.
[arguments] <tests?, test-flags>: Enable the most portion of tests.
[propagated-inputs]: Remove python-importlib-metadata,
python-importlib-resources, python-tomli, and python-typing-extensions;
add cmake-minimal.
[native-inputs]: Remove pybind11-2, python-fastjsonschema,
python-hatch-fancy-pypi-readme, python-numpy, python-pytest-subprocess,
python-rich, python-setuptools, python-setuptools-scm, and python-wheel.

Change-Id: Ib62523b96c069358838135923b39bf617797c2e0
2026-05-24 10:14:50 +01:00
Sharlatan Hellseher 36b5bbf8df gnu: python-sphinx-6: Skip 3 more tests.
* gnu/packages/sphinx.scm (python-sphinx-6)[arguments] <test-flags>:
Skip 3 more tests; limit parallel tests up to 8 threads.

Change-Id: I77688c6637e1e58669f51bcadb276aa3200df4e3
2026-05-24 10:14:50 +01:00
Sharlatan Hellseher 2f61565a6a gnu: python-peaks2utr: Update to 1.5.0.
* gnu/packages/bioinformatics.scm (python-peaks2utr): Update to
1.5.0. Use G-Expressions.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Run all tests.
[phases]{relax-requirements}: Relax upper constrain for NumPy.
[propagated-inputs]: Remove macs, and python-numpy-1; add macs-3, and
python-numpy.
[native-inputs]: Remove python-wheel; add python-pytest.

Change-Id: I7466e00eb99c7fa12263ed8aaedde614c2119d4b
2026-05-24 10:14:50 +01:00
Sharlatan Hellseher aa213dea2b gnu: macs-3: Update to 3.0.4.
* gnu/packages/bioinformatics.scm (macs-3): Update to 3.0.4.
[arguments] <test-flags>: Skip one test.

Change-Id: I7bb990fbaa25bdb3a1f4047cc65a581ffdcd59f7
2026-05-24 10:14:50 +01:00
Sharlatan Hellseher 5189f9fd7a gnu: python-hmmlearn: Modernize package.
* gnu/packages/machine-learning.scm (python-hmmlearn):
[source]: Switch to git-fetch.
[arguments]: Use G-expressions.
<test-flags>: Run all tests, provide option to test from installed module.
<phases>: Remove 'build-extensions.
[native-inputs]: Remove pybind11-2 and python-wheel; add pybind11.

Change-Id: Iadb85f813edea720a0a8f5f6e465ee80a530aef1
2026-05-24 10:14:49 +01:00
Hugo Buddelmeijer 86900bc4ac gnu: redshift: Fix build with Python 3.12 by updating to 1.12-0.490ba2a.
* gnu/packages/xdisorg.scm (redshift): Update to 1.12-0.490ba2a.
[source]: Switch to git-fetch.
[native-inputs]: Add autoconf, automake, and libtool.

Merges: https://codeberg.org/guix/guix/pulls/7554
Change-Id: I0663d5226b5b9ea4fe516f3d971dd20aefe30890
2026-05-24 10:14:49 +01:00
Hugo Buddelmeijer 38570f08fd gnu: python-cssselect2: Update to 0.9.0.
* gnu/packages/python-web.scm (python-cssselect2): Update to 0.9.0.
[origin]: Switch to git-fetch.
[native-inputs]: Replace python-flit with python-flit-core; add python-pytest.
[home-page]: Update.

Merges: https://codeberg.org/guix/guix/pulls/7555
Change-Id: I45160f0fa30ce364d47ec651c08235e0c8797609
Reviwed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:49 +01:00
Hugo Buddelmeijer cbc761dcb3 gnu: thefuck: Fix build by upgrading to 3.32-0.c7e7e1d.
* gnu/patches/thefuck-remove-broken-tests.patch: Remove patch.
* gnu/packages/admin.scm (thefuck): Upgrade to 3.32-0.c7e7e1d.
[source]: Don't use patch.
[arguments]<#:test-flags>: Ignore broken tests.
* gnu/local.mk (dist_patch_DATA): Unregister patch.

Merges: https://codeberg.org/guix/guix/pulls/7617
Change-Id: I0bd94d7072412f73d4733af62e4577a2500db3a0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:49 +01:00
Hugo Buddelmeijer 93cc9cddbf gnu: python-ulid: Make tests deterministic.
* gnu/packages/python-xyz.scm (python-ulid): Make tests deterministic.
[arguments]<#test-flags>: Disable flaky test.

Merges: https://codeberg.org/guix/guix/pulls/7520
Change-Id: I62878e0aa4f97dda743542c270539f568dc28fb7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:49 +01:00
Sharlatan Hellseher 6f76ee9701 gnu: borg: Update to 1.4.4.
* gnu/packages/backup.scm (borg): Update to 1.4.4.
[source]: Switch to git-fetch.
<snippet>: Remove it as Git source does not provide generated C files.
[arguments] <test-flags>: Limit parallel tests up to 8 threads for
stability in CI; skip 7 more tests.
[phases]{install-doc}: Remove phase.
{fix-testsuite-setuid-mode, build-and-install-docs}: New phases.
{install-shell-completions}: Introduce bash, zsh and fish variable in
'let*'.
[inputs]: Remove python-msgpack-for-borg; add python-msgpack and
python-packaging.
[native-inputs]: Remove python-dateutil and python-wheel; add
python-guzzle-sphinx-theme, python-pkgconfig, python-sphinx, and
python-sphinxcontrib-jquery.

* gnu/packages/python-xyz.scm (python-msgpack-for-borg): Delete variable.

Change-Id: Ib681a7cac63b50e7c276e7b765fb273ad2ddebf9
2026-05-24 10:14:49 +01:00
Sharlatan Hellseher 4a28129767 gnu: python-pyfuse3: Update to 3.4.2.
* gnu/packages/python-xyz.scm (python-pyfuse3): Update to 3.4.2.
[source]: Switch to git-fetch.

Change-Id: I7852e9938d457dfe24ec82a8adbf7e3f575059ef
2026-05-24 10:14:49 +01:00
Sharlatan Hellseher c00aafd230 gnu: python-papermill: Update to 2.7.0.
* gnu/packages/jupyter.scm (python-papermill): Update to 2.7.0.
[arguments] <test-flags>: Rework skipped tests.
[propagated-inputs]: Remove python-ansicolors.

Relates-to: https://codeberg.org/guix/guix/issues/7519
Change-Id: I4b076e7f65941882d857eae4b91964d197a5ec89
2026-05-24 10:14:48 +01:00
Sharlatan Hellseher 9ce5ed5aa7 gnu: python-notebook: Skip 2 more tests.
* gnu/packages/jupyter.scm (python-notebook)[arguments] <test-flags>:
Skip two more failing tests.

Change-Id: Ib9793b45dab870f5953b737dadb516894305209e
2026-05-24 10:14:48 +01:00
Hugo Buddelmeijer 0a0b0b1b18 gnu: libsoup-minimal: Make tests deterministic.
* gnu/packages/gnome.scm (libsoup-minimal): Make tests deterministic.
[arguments]<#:parallel-tests?>: Set to #f.
[home-page]: Update URL.

Fixes: guix/guix#7508.
Merges: https://codeberg.org/guix/guix/pulls/7511
Change-Id: Ia30f8594455f50b9df26988933622af313b3c0d8
Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:48 +01:00
Nicolas Graves eaa713dc46 gnu: packages: Drop python-pytest-runner native-inputs.
This commit was generated using https://codeberg.org/guix/guix/pulls/5862:

   guix style -S remove-native-inputs --parameter=python-pytest-runner

and adding back python-pytest if necessary.

* gnu/packages/geo.scm (python-pyshp)
* gnu/packages/backup.scm (vorta)
[native-inptus]: Remove python-pytest-runner, add python-pytest.

* gnu/packages/backup.scm (duplicity)
* gnu/packages/linux.scm (python-spython)
* gnu/packages/bioinformatics.scm (python-cwl-utils)
* gnu/packages/databases.scm (python-pyarrow, datasette)
* gnu/packages/fontutils.scm (python-cu2qu)
* gnu/packages/gnome.scm (terminator)
* gnu/packages/music.scm (stargate)
* gnu/packages/python-science.scm (python-upsetplot)
* gnu/packages/python-web.scm (python-falcon, python-cssselect2)
* gnu/packages/python-xyz.scm (python-docrep, python-cairocffi,
  python-entrypoint2)
* gnu/packages/task-management.scm (todoman)
* gnu/packages/video.scm (yle-dl)
* gnu/packages/vpn.scm (sshuttle)
[native-inptus]: Remove python-pytest-runner.

Relates-to: https://codeberg.org/guix/guix/issues/7474
Change-Id: Ia79595309ba8965c4374e7c24a1ef4c3e36fe1ea
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:48 +01:00
Nicolas Graves 288d5fb6a7 gnu: onnx: Drop python-pytest-runner native-input.
* gnu/packages/machine-learning.scm (onnx)[native-inputs]: Drop
python-pytest-runner.

Change-Id: I5ae6f0cb25215a9f616cd7f763127424b8d0a723
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:48 +01:00
Nicolas Graves ef764457d0 gnu: python-fontpens: Drop python-pytest-runner native-input.
* gnu/packages/fontutils.scm (python-fontpens)[native-inputs]: Drop
python-pytest-runner.

Change-Id: I61635be4a141631cb1e35c7560d3ce5c9ed536d8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:48 +01:00
Sharlatan Hellseher b5c6fa1116 gnu: python-rapidjson: Update to 1.23.
* gnu/packages/python-web.scm (python-rapidjson): Update to 1.23.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-wheel.

Change-Id: I003839deb5e2a3ef23fae03b6a7c5ab1e51a8f8b
2026-05-24 10:14:48 +01:00
Sharlatan Hellseher 299da13ecf gnu: python-cherrypy: Fix tests.
* gnu/packages/python-web.scm (python-cherrypy): Remove dependency on
pytest_cov.
[arguments] <test-flags>: Skip one more test.
[phases]{fix-pytest-config}: New phase.

Change-Id: I40c91689c1a47e1d66a599e2b3aa9462c9f53bb5
2026-05-24 10:14:47 +01:00
Sharlatan Hellseher 3417949730 gnu: python-debugpy: Add python-versioneer.
* gnu/packages/python-xyz.scm (python-debugpy)[native-inputs]: Add
python-versioneer.

Change-Id: I2e9906742caa4edcb44dfc3236e75b36656cabcd
2026-05-24 10:14:47 +01:00
Sharlatan Hellseher ea56967101 gnu: python-pecan: Update to 1.8.0.
* gnu/packages/python-web.scm (python-pecan): Update to 1.8.0.
[propagated-inputs]: Remove python-logutils, python-six, and python-webtest.
[native-inputs]: Remove python-sqlalchemy; add python-sqlalchemy-2 and
python-webtest.

Change-Id: Id1df430d81d3f573db3fd3ae572e2f2f26b3829e
2026-05-24 10:14:47 +01:00
Sharlatan Hellseher 9b4917cfb2 gnu: python-future: Skip more tests.
* gnu/packages/python-xyz.scm (python-future)[arguments] <test-flags>:
Skip more tests failing on Python 3.12.

Relates-to: https://codeberg.org/guix/guix/issues/6904
Change-Id: I36f62a53a81ed08e9982fe7fbcc0971c070dca60
2026-05-24 10:14:47 +01:00
Nicolas Graves 847c9e4c2e gnu: python-defusedxml: Fix dependents sanity-checks.
* gnu/packages/xml.scm (python-defusedxml)
[properties]: Add upstream-version and...
[version]: ...use it.
[arguments]<#:phases>: Add phase 'patch-version.

Change-Id: Ia837c8fbe54db68f261eb3085c48049ba313fceb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:47 +01:00
Nicolas Graves 6ff5be036e gnu: python-psutil: Update to 7.2.2.
* gnu/packages/python-xyz.scm (python-psutil): Update to 7.2.2.
[source]: Switch to git-fetch.
[arguments]<#:tests?>: Drop keyword.
<#:test-flags>: Ignore failing tests.
<#:phases>: Add phase 'prepare-tests.
[native-inputs]: Add procps, python-packaging, python-pytest,
python-pytest-instafail, python-pytest-xdist.

Change-Id: Ie2f094d1f8d039a9692de4075aa1a0f17745cd22
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:47 +01:00
Nicolas Graves 34f887fe88 gnu: reprotest: Drop phase adjust-importlib-resources-for-old-python.
* gnu/packages/diffoscope.scm (reprotest)[arguments]<#:phases>:
Drop phase 'adjust-importlib-resources-for-old-python.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:47 +01:00
Nicolas Graves bee80aa2bc gnu: python-uvicorn: Update to 0.40.0.
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.40.0.
[arguments] <test-flags>: Ignore resource warning.
[native-inputs]: Add python-pytest-xdist.  Replace
python-pytest-asyncio-0.26 by python-pytest-asyncio.

Change-Id: I0debd320aea58c775f60c4409420937031b2ae66
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:47 +01:00
Nicolas Graves 468e4bb09b gnu: python-aiohappyeyeballs: Update to 2.6.1-0-cc53cf8.
* gnu/packages/python-web.scm (python-aiohappyeyeballs): Update to 2.6.1-0-cc53cf8.
[source]: Switch to git-fetch.
[native-inputs]: Replace python-pytest-asyncio-0.26 by
python-pytest-asyncio.

Change-Id: Idc1d2005079c8bfa4fa34d3d5816715723a6e995
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:47 +01:00
Sharlatan Hellseher ecbf30052b gnu: python-pypdf: Update to 6.9.2.
* gnu/packages/pdf.scm (python-pypdf): Update to 6.9.2.
[arguments] <test-flags>: Run tests in a single thread, there are not
many of them; rework skipped tests.
[propagated-inputs]: Remove python-typing-extensions.
[native-inputs]: Remove python-flit, and python-pytest-xdist.

Fixes: guix/guix#7276
Change-Id: I6635b1f9583edf8caa271c292ea14e6db6ab0d6e
2026-05-24 10:14:46 +01:00
Sharlatan Hellseher 0b7f838bed gnu: packages/video: Remove (guix build-system python).
* gnu/packages/video.scm: Remove (guix build-system python) as no longer
required.

Change-Id: I860344f4784d857dc8c86b44ef78b1cb9f45f765
2026-05-24 10:14:46 +01:00
Sharlatan Hellseher 99b0bf3d5a gnu: python-pyzmq: Update to 27.1.0.
* gnu/packages/python-xyz.scm (python-pyzmq): Update to 27.1.0.
[source]: Switch to git-fetch.

Change-Id: I96e23eb0b01233213d8aebdc216ff5f473dae1b1
2026-05-24 10:14:46 +01:00
Sharlatan Hellseher 24e25b8487 gnu: python-pytest-celery: Update to 1.3.0.
* gnu/packages/python-check.scm (python-pytest-celery): Update to 1.3.0.

Change-Id: I218092baf981ecfaa53bf744ecd8ab40107c3c2d
2026-05-24 10:14:46 +01:00
Sharlatan Hellseher aad460208c gnu: python-celery: Adjust inputs.
* gnu/packages/python-xyz.scm (python-celery):
[propagated-inputs]: Remove python-click and python-click-plugins-1; add
python-click-8.1 and python-click-plugins.

Change-Id: I1654705099e03db4762d129377ff3fdf61f61ec2
2026-05-24 10:14:46 +01:00
Hugo Buddelmeijer 9335ea58af gnu: mypaint: Update to 2.0.1-0.35aa9d3.
* gnu/packages/image.scm (mypaint): Update to
35aa9d33cd3deba6cafea6d8fc901b5a1d161ceb commit.
Use G-expressions.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments] <imported-modules, modules>: Switch to pyproject-build-system.
<tests?>: Enable.
<phases>: Remove 'python3.11-compatibility; add 'move-assets-to-data.
[native-inputs]: Remove swig-4.0; add python-pytest, python-setuptools,
and swig.
[inputs]: Remove libmypain; add gdk-pixbuf, libmypaint-next, and libpng.
[home-page]: Use HTTPS.

Merges: https://codeberg.org/guix/guix/pulls/3878
Change-Id: Ic342c02467b3f75a796698c030ef4f937a91e25a
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:46 +01:00
Sharlatan Hellseher 9d13ce51c4 gnu: Add libmypaint-next.
* gnu/packages/gimp.scm (libmypaint-next): New variable.

Change-Id: I1a5c1090d5eea1630934f95cef452d1a4896db69
2026-05-24 10:14:46 +01:00
Sharlatan Hellseher 4dcd7a9b9e gnu: libmypaint: Build from git.
* gnu/packages/gimp.scm (libmypaint):
[source]: Switch to git-fetch.
[phases]{overwrite-automake-and-aclocal-versions}: New phase.
[native-inputs]: Add autoconf, automake, libtool, and python.

Change-Id: I78d3b245455a021bb64b8d7b8ffca085ec4dfc12
2026-05-24 10:14:46 +01:00
Sharlatan Hellseher 6fc7efb905 gnu: openmm: Update to 8.5.0.
* gnu/packages/machine-learning.scm (openmm): Update to 8.5.0.
[phases]{patch-python-build-system}: Rename to
{patch-wrappers-python-install}.
{remove-shaky-tests}: Place after {unpack} phase.
[native-inputs]: Remove swig-4.0; add swig.
[license]: List all mentioned licenses.

Change-Id: I89dc1b06917f20bf38e965077fb5f8b63cdf5cb9
2026-05-24 10:14:45 +01:00
Sharlatan Hellseher 0b27a83841 gnu: python-cheroot: Update to 11.1.2.
* gnu/packages/python-web.scm (python-cheroot): Update to 11.1.2.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Drop all.
<phases>: Use default 'check; add 'fix-pytest-config.
[native-inputs]: Remove python-jaraco-text and python-wheel; add
python-pytest.

Fixes: guix/guix#7476
Change-Id: Idffa902090f305ca6d8d4f4a7ad20c1c1c6b5ef9
2026-05-24 10:14:45 +01:00
Nicolas Graves 803e96bf55 guix: build-system: Set pypi-uri in pyproject, drop python module.
After this commit, when both modules are imported:

- if pyproject is imported before, the warning is 'pypi-uri' is
deprecated, use '(@ (guix build-system pyproject) pypi-uri)' instead

- if python is imported before, the warning is `pypi-uri' imported from
both (guix build-system python) and (guix build-system pyproject)

This seems convenient enough to warn for deprecation in the short term,
while avoiding any breaking changes.

* guix/build-system/pyproject.scm (pypi-uri): Move the procedure from
(guix build-system python) here.

* guix/build-system/python (pypi-uri): Drop definition, import it
from (guix build-system pyproject) and deprecate it.

* gnu/packages/openldap.scm: Reorder modules to get the right warning.

* gnu/packages/pypy.scm: Likewise.

* gnu/packages/*.scm : Drop module (guix build-system python).

* tests/import/pypi.scm: Likewise.

Merges: https://codeberg.org/guix/guix/pulls/7448
Change-Id: Ib42f53bc545052eb7918a25afe9db6d5fc2cb834
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:45 +01:00
Sharlatan Hellseher 8b91d18c5a gnu: packages: Remove python-build-system comments.
Rephrase or remove comments completely mentioning python-build-system to
prepare it for depreciation. It helps to search code for the rest
relevant entries of python-build-system.

Change-Id: I98ee81b4b0e0f826fd236fec20e77546e1567f80
2026-05-24 10:14:45 +01:00
Sharlatan Hellseher f61830339c gnu: python-pandas: Fix build.
* gnu/packages/python-science.scm (python-pandas):
[phases]{version-set-by-guix}: Remove phases.
{patch-generate-version}: New phase.

Change-Id: Iee36356021f5bab3656ee39f3600af8b9d297a05
2026-05-24 10:14:45 +01:00
Sharlatan Hellseher 3ce91e8332 gnu: python-pytest-pycodestyle: Update to 2.5.0.
* gnu/packages/python-check.scm (python-pytest-pycodestyle): Update to 2.5.0.
[source]: Switch to git-fetch.
[arguments] <tests?>: Enable.
[propagated-inputs]: Remove python-py and python-pytest.
[native-inputs]: Remove python-pytest-isort and python-wheel; add
python-pytest.

Relates-to: https://codeberg.org/guix/guix/issues/7475
Change-Id: I2a7b179d58d26f1486c199b24f5432aeba61089b
2026-05-24 10:14:44 +01:00
Sharlatan Hellseher 144123fd54 gnu: python-pytest-random-order: Move to python-check.
* gnu/packages/check.scm (python-pytest-random-order): Move from here ...
* gnu/packages/python-check.scm: ... to here.

Change-Id: I5c530546776f441fe6d652880aea854a21388bda
2026-05-24 10:14:44 +01:00
Sharlatan Hellseher d4d65668cc gnu: python-pytest-random-order: Update to 1.2.0.
* gnu/packages/check.scm (python-pytest-random-order): Update to 1.2.0.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Deselect tests requiring extra packages.
[propagated-inputs]: Remove python-pytest.
[native-inputs]: Remove python-pytest-xdist, python-py, and
python-wheel; add python-pytest.

Relates-to: https://codeberg.org/guix/guix/issues/7475
Change-Id: I18506aee5f4424fc4e680ac0e7a2f52eafd84695
2026-05-24 10:14:44 +01:00
Sharlatan Hellseher c8505258f5 gnu: python-pygments: Update to 2.19.2.
* gnu/packages/python-build.scm (python-pygments): Update to 2.19.2.

Change-Id: I494bc99b8c0af2316b7a0269fc320b417986d917
2026-05-24 10:14:44 +01:00
Sharlatan Hellseher 754eefca09 gnu: python-regex: Update to 2026.2.28.
* gnu/packages/python-xyz.scm (python-regex): Update to 2026.2.28.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Run tests from installed module.
<phases>: Add 'remove-local-source.
[home-page]: Fix it as seen on https://pypi.org/project/regex/.

Change-Id: Id304acc12704aff63a6230b882250c3c824a9fbe
2026-05-24 10:14:44 +01:00
Nguyễn Gia Phong 106361f06c gnu: python-antlr4-runtime: Fix compatibility with Python 3.12.
* gnu/packages/java.scm (python-antlr4-runtime)[arguments]<#:phases>:
  Add 'fix-python-3.12-compatibility.

Merges: https://codeberg.org/guix/guix/pulls/7451
Fixes: guix/guix#7436
Change-Id: Idd32199a39a4cf60f93670a9599ab53e3f978370
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:44 +01:00
Sharlatan Hellseher d6bef5a0a0 gnu: python-dbus-1.2: Fix build on python-3.12.
* gnu/packages/python-xyz.scm: (python-dbus-1.2)[native-inputs]: Add
python-setuptools.

Change-Id: Id93ac8629e22c66ddbeb67e5d0ff71ba1e54bae1
2026-05-24 10:14:44 +01:00
Hugo Buddelmeijer c68918cba7 gnu: python-scikit-image: Fix build with python-pillow 12.1.1.
Followup to 017903d435f987c50c085bf415a07a551684412b.

* gnu/packages/python-science.scm (python-scikit-image): Fix build.
[source]: Add patch.
* gnu/packages/patchen/python-scikit-image-fix-python-pillow.patch: Add.
* gnu/local.mk (dist_patch_DATA): Register patch.

Merges: https://codeberg.org/guix/guix/pulls/7261
Change-Id: I7eee2e1f397f1f1ce0757f588da921687296ad41
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:43 +01:00
Nicolas Graves 7c8083187c gnu: mutter: Drop uneeded imported modules.
* gnu/packages/gnome.scm (mutter)[arguments]
<#:imported-modules, #:modules>: Drop them.

Change-Id: I161914091d1f488cc29c55b1b7cbe0c98de96286
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:43 +01:00
Nicolas Graves 23ac958d41 gnu: python-pytorch-for-r-torch: Switch to pyproject.
* gnu/packages/machine-learning.scm (python-pytorch-for-r-torch):
[build-system]: Switch to pyproject-build-system.

Change-Id: I1d990b27034f81965a186cf536daaac47e93bf63
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:43 +01:00
Nicolas Graves 3debcfcf8f gnu: tensile: Switch to pyproject.
* gnu/packages/rocm-libs.scm (tensile):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Set them.
<#:phases>: Drop 'check phase replacement.

Change-Id: Ie80b85ae5d79098b964012a0daed65935ccd8337
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:43 +01:00
Nicolas Graves efc590e316 gnu: openshot: Switch to pyproject.
* gnu/packages/video.scm (openshot):
[arguments]: Relocate field.
<#:imported-modules, #:modules>: Switch to pyproject-build-system.

Change-Id: Ie2c8a3d0fc1358b9f1846f10ca9de28a962b27f8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:43 +01:00
Nicolas Graves 30b8a50880 gnu: python-orsopy: Switch to pyproject.
* gnu/packages/python-science.scm (python-orsopy):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Set them.
<#:phases>: Drop them accordingly.
[native-inputs]: Add python-setuptools.

Change-Id: Ic7116a6d6a23eea4b8e15c557b2967fd9d0d48af
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:43 +01:00
Nicolas Graves de7143c3cf gnu: python-quasielasticbayes: Switch to pyproject.
* gnu/packages/physics.scm (python-quasielasticbayes)[arguments]:
<#:imported-modules, #:modules>: Switch to pyproject-build-system.
<#:phases>: Extract phases more canonically.
<#:test-flags>: Use them.

Change-Id: I1b53b5b278f67d5a7a02a8b3a84e1297ab83284e
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:43 +01:00
Nicolas Graves aaded718f4 tests: pypi: Switch to pyproject-build-system.
* tests/import/pypi.scm ("package-latest-release"): Switch to
pyproject-build-system.

Change-Id: I8ba5cdd45e793cd2aae7b3025f7598245de6c87e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:43 +01:00
Nicolas Graves 1147610183 tests: packages: Switch to pyproject-build-system.
* tests/packages.scm ("package-input-rewriting, deep")
("package-input-rewriting/spec, no duplicates"):
Switch to pyproject-build-system.

Change-Id: I428af596a021e16ba6226e55910be24424e4a625
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:43 +01:00
Nicolas Graves 219b12a06a tests: builders: Switch to pyproject-build-system.
* guix/build/pyproject-build-system.scm (set-version): Ensure source
is not #f before using it.

* tests/builders.scm
(make-python-dummy)[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
(python-dummy-no-setuptools): Drop it.
(check-build-success, check-build-failure): Refresh tests.
(check-build-failure): Drop python-dummy-no-setuptools.

Change-Id: I892b45c34b506ff27634e2ef706009dc81e831ec
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:42 +01:00
Nicolas Graves 9fef6ccead gnu: python-brille: Switch to pyproject.
* gnu/packages/physics.scm (python-brille):
[arguments]<#:modules>: Switch to pyproject-build-system.
<#:phases>: Remove with-extensions wrapper.

Change-Id: I2f02c1a1b3ef5c5b5c92e6db5e4a075111b3a5b1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:42 +01:00
Sharlatan Hellseher 2953fa62dc gnu: python-timezonefinder: Update to 8.2.1.
* gnu/packages/time.scm (python-timezonefinder): Update to 8.2.1.
[arguments] <test-flags>: Rework skipped/ignored tests.
[propagated-inputs]: Remove python-h3-3, python-numba, python-numpy-1,
and python-pytz; add python-h3, python-flatbuffers, python-numpy, and
python-pydantic.
[native-inputs]: Remove python-poetry-core; add python-pytz.

Relates-to: https://codeberg.org/guix/guix/issues/7433
Change-Id: I6c9547f3ebf6d2078b75b2082d6345b8e61524ff
2026-05-24 10:14:42 +01:00
Sharlatan Hellseher eb21ba5638 gnu: python-strict-rfc3339: Switch to unittest.
* gnu/packages/time.scm (python-strict-rfc3339):
[arguments] <test-backend, test-flags>: Switch to unittest.
<phasers>: Use default 'check; add 'skip-bad-tests.
[native-inputs]: Remove python-pytest.

Change-Id: Ib224fc2a5ade9f9533421b93ffbbc5aab29af0ab
2026-05-24 10:14:42 +01:00
Sharlatan Hellseher 11077fa1cc gnu: python-h3: Update to 4.4.2.
* gnu/packages/geo.scm (python-h3): Update to 4.4.2.
[arguments] <test-flags>: Drop all.
[native-inputs]: Remove python-scikit-build, python-setuptools,
python-setuptools-scm, and python-wheel; add
python-scikit-build-core.

Change-Id: Iadc4df4a2d84ba2d470373d99d0807a509452069
2026-05-24 10:14:42 +01:00
Sharlatan Hellseher 2b18c6c41f gnu: h3: Update to 4.4.1.
* gnu/packages/geo.scm (h3): Update to 4.4.1.

Change-Id: I5b7149568a74aeced17fbc1f7befb639cc4a62fe
2026-05-24 10:14:42 +01:00
Sharlatan Hellseher 3010b09e95 gnu: flatbuffers: Refresh package style.
* gnu/packages/serialization.scm (flatbuffers): Use G-Expressions, and
list style. Adjust version commit to reflect required actions.

Change-Id: I908c9cb07fbe69d92fcc8b3f1f4aabd1eebbf481
2026-05-24 10:14:42 +01:00
Sharlatan Hellseher 5c8b61c2c5 gnu: flatbuffers: Update to 25.2.10.
* gnu/packages/serialization.scm (flatbuffers)
(go-github-com-google-flatbuffers, python-flatbuffers): Update to
25.2.10.

Change-Id: Iba22930fc4d7d32c4bf67f79d18a6b6366e4dcdb
2026-05-24 10:14:42 +01:00
Sharlatan Hellseher 60a8080ff2 gnu: python-pivy: Switch to pyproejct.
* gnu/packages/python-graphics.scm (python-pivy)[build-system]: Switch
to pyproject-build-system.

Fixes: guix/guix#4094
Change-Id: Ic177e9ad7029fe62cf22ad420e4a875ee4e9e859
2026-05-24 10:14:42 +01:00
Nicolas Graves 7e33980778 gnu: python-mysql-connector-python: Relocate and rename.
* gnu/packages/python-xyz.scm (python-mysql-connector-python): Move from here…
* gnu/packages/databases.scm (mysql-connector-python): …to here.
(python-mysql-connector-python): Deprecate package.

* gnu/packages/bioinformatics.scm (python-genomepy)[propagated-inputs]:
Replace python-mysql-connector-python by mysql-connector-python.

Change-Id: Ib48e3b998d3bf946d03d2c7aaf246a8251776402
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:41 +01:00
Nicolas Graves 72c02584e1 gnu: python-mysql-connector-python: Update to 8.3.0.
* gnu/packages/python-xyz.scm (python-mysql-connector-python): Update to 8.3.0.
[source]: Switch to git-fetch.
[arguments]<#:configure-flags>: Drop them.
<#:phases>: Add phase 'chdir and 'prepare-build.  Refresh phases
'compatibility and 'check.
[native-inputs]: Add python-setuptools.

Fixes: #3881
Change-Id: I75cfdfb880e3b4f8245ef24d8340440393245f33
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:41 +01:00
Nicolas Graves 953d65a41d build-system: pyproject: Fix 'install phase for purelib/platlib.
* guix/build/pyproject-build-system.scm (install):
[install-path, fix-scripts, distribution-name]: New helper procedures.
[expand-data-directory]: Refactor and build upon install-path to
handle purelib and platlib on top of just scripts and data.

Change-Id: I64f5453676e6881ae1cbce3170ed854f7035982a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:41 +01:00
Nicolas Graves 1f9f63bf34 gnu: boost: Avoid dependency on pyproject-build-system.
This very heavy package is quite annoying when developping on
python-team.  Alleviate some of that development cost using
G-expressions.

* gnu/packages/boost.scm (boost, boost-1.88, boost-1.83):
[arguments]<#:imported-modules, #:modules>: Drop them.
<#:configure-flags, #:phases>: Set python-version with a G-expression
instead of depending on the pyproject-build-system to get it at build
time.  Wrap those snippet in a force/delay, because evaluating the
G-expression is not possible if python is not present, and this is the
case for boost-for-mysql.  This lead to a minor rewrite of the phase
'provide-libboost_python, to stay under 80 characters wide, but the
logic is similar.

Merges: https://codeberg.org/guix/guix/pulls/7392
Change-Id: I40ad5dfe12253d72f3b91af66eae4d72e1050209
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:41 +01:00
Sharlatan Hellseher fa153c811c gnu: python-parfive: Update to 2.3.1.
* gnu/packages/python-web.scm (python-parfive): Update to 2.3.1.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Skip one more test.
[propagated-inputs]: Remove python-aiofiles.
[native-inputs]: Remove python-wheel; add python-aiofiles.

Change-Id: Ia32c1e070ebc19ed1a2f8d442b4bda656b845a8b
2026-05-24 10:14:41 +01:00
Sharlatan Hellseher f2ffd0aee0 gnu: python-aioftp: Fix tests.
* gnu/packages/python-web.scm (python-aioftp): Fix tests.
[source]: Switch to git-fetch.
[native-inputs]: Add python-pytest-mock.

Change-Id: I73a89803ad17148e590823a79c83ee8feade2371
2026-05-24 10:14:41 +01:00
Sharlatan Hellseher 4519ac56dd gnu: python-click-repl: Update to 0.3.0-0.9a05fe9.
* gnu/packages/python-xyz.scm (python-click-repl): Update to
9a05fe9e58f768ce446f2777d13b4162211131e0 commit.
[propagated-inputs]: Remove python-click; add python-click-8.1.
[native-inputs]: Remove python-wheel.

Change-Id: Ia9fccd250c8a6a4bd38fce87e1847bbd95f34adc
2026-05-24 10:14:41 +01:00
Sharlatan Hellseher 1b9fba40e7 gnu: Add python-click-8.1.
* gnu/packages/python-xyz.scm (python-click-8.1): New variable.

Change-Id: Ib574dc4b1ec0d4dc06bb1fd844afbdbea345fc17
2026-05-24 10:14:41 +01:00
Sharlatan Hellseher 0f4c978720 gnu: python-fiona: Update to 1.10.1.
* gnu/packages/geo.scm (python-fiona): Update to 1.10.1.
[arguments] <test-flags>: Rework skipped tests.
<phases>: Remove 'set-configure-flags, and 'remove-local-fiona; add
'remove-local-source.
[propagated-inputs]: Remove python-click-plugins-1; add
python-click-plugins.
[native-inputs]: Add python-fsspec and python-shapely.

Change-Id: I90fcfcd5cb4fc0956e0b0d28ce4b7a80ce66727f
2026-05-24 10:14:40 +01:00
Sharlatan Hellseher 047690daac gnu: python-click-plugins: Downgrade to 1.1.1.2.
* gnu/packages/python-xyz.scm (python-click-plugins): 1.1.1.2.
[arguments] <tests?>: Disable them.
<phases>: Remove 'mkdir-tests.
[native-inputs]: Remove python-pytest.
(python-click-plugins-1): Deprecate in favor of python-click-plugins.

Fixes: guix/guix#7404
Change-Id: I51783a9013f1ee06f9445519203147751da47ee3
2026-05-24 10:14:40 +01:00
Sharlatan Hellseher b1ce08e7d1 gnu: python-graphviz: Update to 0.21.
* gnu/packages/graphviz.scm (python-graphviz): Update to 0.21.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Ignore running tests from "tests/backend" in
the default 'check phase.
[phases] {check}: Use default phase.
{patch-pytest-options}: Re-point to pyproject.toml and exclude test
coverage checks.
{pre-check, test-backend}: New phases.
[native-inputs]: Remove unzip.

Change-Id: I0c8a146937edf81e086697ab048f8b15a85b4254
2026-05-24 10:14:40 +01:00
Maxim Cournoyer 82ae97ebca gnu: gtk: Make reproducible.
* gnu/packages/patches/gtk4-demo-reproducible.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gtk.scm (gtk) [source]: Apply it.

Change-Id: I03ef58f324a84151a681988a18aa1ab986aeba79
2026-05-24 10:14:40 +01:00
Maxim Cournoyer e3fa2b0a6d gnu: gtk: Update to 4.22.1.
* gnu/packages/gtk.scm (gtk): Update to 4.22.1.
[patches]: Add gtk-needs-udmabuf.patch.
[#:phases] {pre-check}: Adjust arguments of Xvfb.
[native-inputs]: Add glibc-utf8-locales.
* gnu/packages/patches/gtk-needs-udmabuf.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: If9043cb55a60f4ec703515b61796b38fb4959f0b
2026-05-24 10:14:40 +01:00
Nicolas Graves 30b8bc4b6b teams: Record python aux-files.
* CODEOWNERS, etc/teams.scm: Record python aux-files.

Change-Id: I74e40364f5bccdf2b3cfc24dc24b691d635a6dcb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:40 +01:00
Nicolas Graves d4db790a9e build-system: pyproject: Add arguments to pytest_guix plugin.
* guix/build/pyproject-build-system.scm
(keywords->alist, guile->python-keywords): Add procedures.
(check): Convert keyword alist before writing it.

* guix/build-system/pyproject.scm (%default-pytest-guix-options):
Add some python kwargs in a guile format.

* gnu/packages/aux-files/python/pytest_guix.py
(pytest_addoption): Handle python kwargs when some are provided.

Change-Id: Ie35e9b300acda830f35b6b754e8ccc07ad730faa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:40 +01:00
Nicolas Graves 77dc65e775 build-system: pyproject: Add pytest-guix-options.
* guix/build/pyproject-build-system.scm (check):
Pass pytest-guix-options to python through a hidden json file.
* guix/build-system/pyproject.scm
(%default-pytest-guix-options): Add variable.
(pyproject-build): Use it.
* gnu/packages/aux-files/python/pytest_guix.py:
Import pytest-guix-options from guile through a hidden json file.

Change-Id: Ice2ea72452c335b900bc354a04bd9657dc03d7d4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:40 +01:00
Nicolas Graves 471161c718 gnu: packages: Remove python-pytest-html native-input.
* gnu/packages/check.scm (behave)[native-inputs]: Remove
python-pytest-html.
* gnu/packages/python-check.scm (python-cucumber-tag-expressions):
Likewise.
* gnu/packages/python-xyz.scm (python-parse-type): Likewise.

Change-Id: Ic6369532bb9846d81718deeb3a63f35e2609f4ac
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:39 +01:00
Nicolas Graves c6b3e568e1 gnu: packages: Remove some comments.
The previous commit removed some packages without proper handling of
comments.  This commit correct those comments.

* gnu/packages/django.scm
(python-django-extensions, python-django-cleanup): Correct comments.
* gnu/packages/jupyter.scm (python-ipykernel-7): Likewise.
* gnu/packages/python-check.scm
(python-hypothesmith, python-pytest-celery): Likewise.
* gnu/packages/python-xyz.scm
(python-mir-eval, python-click-repl, python-nb-clean): Likewise.
* gnu/packages/statistics.scm (python-dcor): Likewise.

Change-Id: I1ee52361f627a71716c20ccff3a0cd1678a00b7d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:39 +01:00
Nicolas Graves fb51dc5c5c gnu: packages: Remove python-pytest-cov native-inputs.
Obtained with
./pre-inst-env guix style -S remove-native-inputs -t python-pytest-cov
on top of https://codeberg.org/guix/guix/pulls/5862

For this reason, I don't think it's relevant to generate a GNU Style
Changelog.

Change-Id: I58fe10452d7eaf2e8bb4dc88dfac5b4a5ee46165
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:39 +01:00
Nicolas Graves ed0249ab48 gnu: python-diskcache: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-diskcache)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.
<#:test-flags>: Keep ignoring addopts, as it also has other uneeded
flags.

Change-Id: I584128eed904c0d134e3a7292ffb65977b9f36b6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:39 +01:00
Nicolas Graves e0136f7353 gnu: python-cloudpathlib: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-cloudpathlib)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Ia02f72a3643ed4b04e7430a74b246b27378ea213
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:39 +01:00
Nicolas Graves 955545ca7b gnu: python-utils: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-utils)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I73f8a857d234b542a0ecf078cbb809403d5a9c7a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:39 +01:00
Nicolas Graves 092b469790 gnu: python-strenum: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-strenum)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I7b19876d98916098b90b9352f8c42c98fc7f708e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:39 +01:00
Nicolas Graves ac235756dc gnu: nikola: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (nikola)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: Ia18548523bf4cca435ab0a42d42e8f2a19961ac8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:39 +01:00
Nicolas Graves 5c32466128 gnu: python-async-timeout: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-async-timeout)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I06cafe55f35351110409ffdf5cd74e3c0e677139
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:38 +01:00
Nicolas Graves 693dd6dcf7 gnu: python-rich-click: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-rich-click)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I9c675aa0f90a45f336dc24e59cd631060e798d96
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:38 +01:00
Nicolas Graves f0f03985a0 gnu: python-codespell: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-codespell)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Ic2287d6aa5e1dab0da960e0912ef363a33f9c088
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:38 +01:00
Nicolas Graves e832150628 gnu: python-quantlaw: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-quantlaw)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: If109ea44922411a3a45b9bfd8a34e0265b550eb9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:38 +01:00
Nicolas Graves bed17516a1 gnu: python-diskcache: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-diskcache)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Idb05bb437377878cefb639e7f8537b4837e63fe9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:38 +01:00
Nicolas Graves ecf438bb01 gnu: python-pytokens: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-pytokens)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Iac4637403844c62d4bfd40dae2ca908469ef15a1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:38 +01:00
Nicolas Graves 5c88c3d370 gnu: python-conda-content-trust: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-conda-content-trust)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I1e613f9f52c2c004b7b64115d1288a75c051c03c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:38 +01:00
Nicolas Graves d965d6edd6 gnu: python-anaconda-cli-base: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-anaconda-cli-base)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.
[native-inputs]: Replace python-pytest-8 by python-pytest.  Add
python-types-requests.

Change-Id: Ie2f8c35497a0e17fd045166a34ea5a3269052e12
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:38 +01:00
Nicolas Graves 248e0d2161 gnu: python-pyramid-tm: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-pyramid-tm)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I44cca8be5ca12925df3b70d2265331b2c7337320
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:37 +01:00
Nicolas Graves 3707567bb1 gnu: python-pyramid-mako: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-pyramid-mako)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I341da9eecf6078a6aa175f3884b0d15fbfec7c96
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:37 +01:00
Nicolas Graves 7a8388f482 gnu: python-pyramid-jinja2: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-pyramid-jinja2)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I034863e3cfe613a5605d8eefa76e3f4c7575608e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:37 +01:00
Nicolas Graves ad5d580dad gnu: python-venusian: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-venusian)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I6f4b2ff1d387e302d0041da334e82c9d3f0ff717
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:37 +01:00
Nicolas Graves 81a7f0a07a gnu: python-httpx-sse: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-httpx-sse)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: I29167f13b75a56369e3ce886499b6589206ae9a7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:37 +01:00
Nicolas Graves d2c234911d gnu: python-elastic-transport: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-elastic-transport)
[arguments]<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I70ea2632e8b43fdd3d81a3985a09c2fd187e375a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:37 +01:00
Nicolas Graves aab86e7acf gnu: python-pingouin: Drop phase 'fix-pytest-config.
* gnu/packages/python-science.scm (python-pingouin)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Ieadcbabed58f87ae3e5a4d54e158bfa6d8b322a2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:37 +01:00
Nicolas Graves ebab4423a8 gnu: python-tspex: Drop phase 'fix-pytest-config.
* gnu/packages/python-science.scm (python-tspex)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I41624e1f8dd044e25408b445b28759d8d52d62e4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:37 +01:00
Nicolas Graves df4bccfb55 gnu: python-scikit-misc: Drop phase 'fix-pytest-config.
* gnu/packages/python-science.scm (python-scikit-misc)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Ic828d3d3d645b8e87c6ad50ed08008a9a6987372
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:36 +01:00
Nicolas Graves 3dec13b1e6 gnu: python-numdifftools: Drop phase 'fix-pytest-config.
* gnu/packages/python-science.scm (python-numdifftools)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Ib0cd60fd668cccab7cbb16d5e4b1bdb9fd7f96aa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:36 +01:00
Nicolas Graves b865247545 gnu: python-respx: Drop phase 'fix-pytest-config.
* gnu/packages/python-check.scm (python-respx)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: I31b5cb885d82f909aa4b3389fff9a8776af6cf4a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:36 +01:00
Nicolas Graves b1f14c7330 gnu: python-deal-solver: Drop phase 'fix-pytest-config.
* gnu/packages/python-check.scm (python-deal-solver)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Ie57206231cb72ab63523ed9482b92acaf9e6463d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:36 +01:00
Nicolas Graves a17498d2f3 gnu: python-deal: Drop phase 'fix-pytest-config.
* gnu/packages/python-check.scm (python-deal)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: If97a9af823185330a2717b08f2b51d8ada9008ed
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:36 +01:00
Nicolas Graves 912de52d80 gnu: conda-bootstrap: Drop phase 'fix-pytest-config.
* gnu/packages/package-management.scm (conda-bootstrap)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I6d0cc7c38313e97ff6224998b4554a133932651f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:36 +01:00
Nicolas Graves 88ce47e284 gnu: zulip-term: Drop phase 'fix-pytest-config.
* gnu/packages/messaging.scm (zulip-term)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: I7198151577706405858346cde4b6a0ad9373effe
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:36 +01:00
Nicolas Graves 6cdea44cc6 gnu: python-graphviz: Refresh phase 'fix-pytest-config.
* gnu/packages/bioinformatics.scm (python-graphviz)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Ifbe98cc5a16da38bfac388a37c0cb5c2e7ffb78d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:36 +01:00
Nicolas Graves 25fa45e096 gnu: cpplint: Drop phase 'fix-pytest-config.
* gnu/packages/cpp.scm (cpplint)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: I64bb7e3079947fadc76f9965480e4c4098ae9485
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:36 +01:00
Nicolas Graves 89e5fd5efe gnu: python-cooler: Drop phase 'fix-pytest-config.
* gnu/packages/bioinformatics.scm (python-cooler)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: Iddad5557655691c11ded0f0a20b1f23b7791b896
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:35 +01:00
Nicolas Graves 09bdd018ab gnu: gdc-client: Drop phase 'fix-pytest-config.
* gnu/packages/bioinformatics.scm (gdc-client)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: I12f5dd5306a4c6d562d03b48837bf4bc1ae8ddda
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:35 +01:00
Nicolas Graves 168f830b5a gnu: python-pandas-flavor: Improve python-pytest-cov removal.
* gnu/packages/python-science.scm (python-pandas-flavor)[arguments]:
Drop them.

Change-Id: I3c83750eeb95b755c6160fc10b0d34cb8fd9a465
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:35 +01:00
Nicolas Graves 690797b40a gnu: python-cdflib: Drop phase 'fix-pytest-config.
* gnu/packages/astronomy.scm (python-cdflib)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: Ife876d242ed3fe602203ee675d158bc4f174c735
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:35 +01:00
Nicolas Graves 8b272661f8 gnu: python-qtpy: Remove phases argument.
* gnu/packages/qt.scm (python-qtpy)[arguments]<#:phases>: Drop them.

Change-Id: Idc0c8e1064d596fda250fca6ea811597e6901034
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:35 +01:00
Nicolas Graves 6c462b3c5a gnu: python-distributed: Drop phase 'fix-pytest-config.
* gnu/packages/python-science.scm (python-distributed)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Id5312389fdca9f9a456163d649084ef69e1d6a33
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:35 +01:00
Nicolas Graves d0d1272e44 gnu: python-dask: Drop phase 'fix-pytest-config.
* gnu/packages/python-science.scm (python-dask)[arguments]<#:phases>:
 Drop phase 'fix-pytest-config.

Change-Id: I6eea2cf2b1685b0fdb61afb6c55cda2605056ff1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:35 +01:00
Nicolas Graves ee82e47a29 gnu: python-blurhash: Drop arguments.
* gnu/packages/python-crypto.scm (python-blurhash)[arguments]:
Drop them.

Change-Id: Ib46376553e09b0bdfaa4469f6df6bb0985760a42
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:35 +01:00
Nicolas Graves bacd611909 gnu: mbed-tools: Drop phases.
* gnu/packages/embedded.scm (mbed-tools)[arguments]<#:phases>: Drop
them, they are not required anymore.

Change-Id: I470d9ecae2e86defcb144f8c759fd7db819f44f0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:35 +01:00
Nicolas Graves 823ddbb07a gnu: python-mt-940: Drop arguments.
* gnu/packages/finance.scm (python-mt-940)[arguments]: Drop them.

Change-Id: Id379f1477727a30779f5c6d883c8b9636f839dd9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:34 +01:00
Nicolas Graves af0c391c2f gnu: python-libtmux: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-libtmux):
[arguments]<#:test-flags>: Use -o instead of -c flag.

Change-Id: Id61657fffe36561954660f561fdf08ca3bdd346b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:34 +01:00
Nicolas Graves 647fd0257f gnu: python-multidict: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-multidict):
[arguments] <#:phases>: Drop phase 'fix-pytest-config.
<#:test-flags>: Adapt accordingly.

Change-Id: Iff6ce80523e20dcec92eba70f7ede010d7199054
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:34 +01:00
Nicolas Graves e766dcea75 gnu: python-propcache: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-propcache):
[arguments] <#:phases>: Drop phase 'avoid-pytest-cov-preload.
<#:test-flags>: Adapt accordingly.

Change-Id: I55eadb85860b06bf0567d59d4474c6235741983d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:34 +01:00
Nicolas Graves 27af7fb2fe gnu: python-aiohttp: Improve python-pytest-cov removal.
* gnu/packages/python-web.scm (python-aiohttp):
[arguments] <#:phases>: Drop phase 'fix-pytest-config.
<#:test-flags>: Adapt accordingly.

Change-Id: I2f2710fd72b2d9c94da4716863c213a8906fe05e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:34 +01:00
Nicolas Graves 8f85f87f29 gnu: python-frozenlist: Improve python-pytest-cov removal.
* gnu/packages/python-web.scm (python-frozenlist):
[arguments]<#:test-flags>: Override the problematic option instead of
the whole file.

Change-Id: I06226a457d4a6ad562335141e20fd15cc39a47b4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:34 +01:00
Nicolas Graves 45ad7bd32e gnu: python-cftime: Cleanup python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-cftime):
[arguments]<#:phases>: Drop them.

Change-Id: I25c102e09412686ff26ffeae18128b5cce4cc251
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:34 +01:00
Nicolas Graves 44f380f607 gnu: python-vsg: Remove pytest plugin inputs.
* gnu/packages/electronics.scm (python-vsg)
[arguments]<#:phases>: Drop modifications.
[inputs]: Remove python-pytest-cov and python-pytest-html, add
python-pytest.

Change-Id: I9d8519112b301a1245634746ee678be0e835cf8a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:34 +01:00
Nicolas Graves 4f4ee46179 build-system/pyproject: Ignore selected pytest inputs.
This commit includes squashed changes from
https://codeberg.org/guix/guix/pulls/7220 and
https://codeberg.org/guix/guix/pulls/7338.

* gnu/packages/aux-files/python/pytest_guix.py: New file.
* Makefile.am: Record it.
* guix/build/pyproject-build-system.scm (check): Preload pytest_guix
plugin when available.
* guix/build-system/pyproject.scm (default-pytest-guix-plugin): New
package, generated from pytest_guix.py.
(lower): Add python-pytest-guix argument, and inject it if
python-pytest is in the native-inputs.

Change-Id: I13263b461e9962aad340347657b9c9685db63927
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:33 +01:00
Nicolas Graves 30b3cbc90f build-system/pyproject: Stop hiding options.
* gnu/packages/python-crypto.scm (python-keyring)
[arguments]<#:test-flags>: Remove arguments hiding coverage options.

* gnu/packages/python-web.scm (python-asgi-lifespan,
python-openapi-schema-validator, python-openapi-spec-validator,
python-openapi-core)[arguments]<#:test-flags>: Remove arguments hiding
coverage options.
(python-openapi-schema-validator, python-openapi-spec-validator)
[arguments]<#:phases>: Remove 'remove-coverage-pytest-options phase.
(python-cssselect2)[arguments]: Remove uneeded field.
(python-quart)[arguments]: Remove uneeded field.
(python-jsonpickle)[arguments]<#:test-flags>: Remove uneeded
test-flags.

* gnu/packages/python-xyz.scm (python-cattrs)
[arguments]<#:phases>: Remove arguments hiding coverage options.
(python-blessed)[arguments]: Remove uneeded field.

python-pytest-cov remove option

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:33 +01:00
Nicolas Graves ae37c28e86 build-system/pyproject: Remove python-pytest-mypy inputs.
* gnu/packages/check.scm (python-pytest-perf)[native-inputs]: Remove
python-pytest-mypy.

* gnu/packages/python-xyz.scm (python-portalocker)
[native-inputs]: Remove python-pytest-mypy.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:33 +01:00
Nicolas Graves 3a6d597655 build-system/pyproject: Remove python-pytest-flake8 native-input.
* gnu/packages/bioinformatics.scm (python-muon)
* gnu/packages/check.scm (python-pytest-perf)
* gnu/packages/dav.scm (radicale)
* gnu/packages/debug.scm (c-vise)
[native-inputs]: Remove python-pytest-flake8.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:33 +01:00
Nicolas Graves 03396f3f9f gnu: radicale: Remove python-pytest-isort native-input.
* gnu/packages/dav.scm (radicale)
[native-inputs]: Remove python-pytest-isort.

python-pytest-isort

Change-Id: I2d684c42d66183bd3e9e6f6281210cdcfd3b11b5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:33 +01:00
Nicolas Graves 684b10f1db build-system/pyproject: Remove python-pytest-cov native-input.
* gnu/packages/astronomy.scm (python-wiimatch)
* gnu/packages/audio.scm (python-resampy, python-librosa)
* gnu/packages/backup.scm (borgmatic)
* gnu/packages/bioinformatics.scm (python-bed-reader, python-pysnptool)
(python-pairtools):
* gnu/packages/check.scm (python-pytest-nunit, python-pytest-perf)
* gnu/packages/dav.scm (vdirsyncer, radicale)
* gnu/packages/django.scm (python-django-redis)
* gnu/packages/engineering.scm (python-scikit-rf)
* gnu/packages/fediverse.scm (python-mastodon-py)
* gnu/packages/fontutils.scm (psautohint)
* gnu/packages/geo.scm (python-pyogrio)
* gnu/packages/graphviz.scm (python-uqbar)
* gnu/packages/jupyter.scm (python-jupyterlab-server python-nbclient,
python-jupyterlite-core, python-ipydatawidgets)
* gnu/packages/machine-learning.scm
(python-pymanopt, python-tensorly, python-torchmetrics)
* gnu/packages/maths.scm (python-libensemble)
* gnu/packages/music.scm (stargate)
* gnu/packages/python-check.scm (python-atpublic, python-vcrpy)
* gnu/packages/python-compression.scm (python-zipstream-ng)
* gnu/packages/python-science.scm (python-plotnine,
python-pandaparallel, python-pyts, python-pingouin)
* gnu/packages/python-web.scm (python-devpi-process, python-cheroot,
python-jsonpickle, python-flask-babel, python-url-normalize,
python-elasticsearch, python-hupper, python-simple-websocket,
python-apiron, python-huggingface-hub, python-aiosignal, python-ovh,
python-cbor2, python-zeep, hypercorn, python-warcio, python-aioftp,
python-oauthlib, python-tinycss2, python-cssselect2, python-httpcore,
python-wsgiprox, python-venusian, gunicorn)
* gnu/packages/python-xyz.scm (python-janus, python-affine,
python-contourpy, python-echo, python-rasterio, python-rich-tables,
python-babel, python-pymarshal, python-portalocker, python-expandvars,
python-mizani, python-cligj, autokey,
python-robotframework-pythonlibcore, python-lsp-jsonrpc,
python-numpydoc, python-pillow, python-manimpango, python-cairocffi,
python-pubmed-parser, python-sentry-sdk, python-prettytable,
python-sniffio, python-ipywidgets, python-pyproject-api,
python-pymemcache, python-async-lru, python-numcodecs, python-mwclient,
python-cmd2, python-pyan3, python-platformdirs, python-multipart,
python-shtab, python-scooby)
* gnu/packages/rdf.scm (python-rdflib-6)
* gnu/packages/simulation.scm (python-fenics-dijitso)
* gnu/packages/sphinx.scm (python-sphinx-design)
* gnu/packages/statistics.scm (python-patsy, python-rchitect)
* gnu/packages/task-management.scm (todoman)
* gnu/packages/vpn.scm (sshuttle)
* gnu/packages/web.scm (anonip, python-tibanna)
[native-inputs]: Remove python-pytest-cov.

Change-Id: I32f027794e90333c27fdff5871180779f603846c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:33 +01:00
Nicolas Graves aca09ee3bc gnu: python-pytest-perf: Remove python-pytest-black native-input.
* gnu/packages/check.scm (python-pytest-perf)
[native-inputs]: Remove python-pytest-black.

Change-Id: I46a98d059577c366699c634514f1cb364437aca0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:33 +01:00
Nicolas Graves 2f0bb5b1b6 gnu: python-wcwidth: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-wcwidth)
[native-inputs]: Remove python-pytest-cov, python-wheel.
[description]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:32 +01:00
Nicolas Graves ea678c117d gnu: python-watchdog: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-watchdog)
[native-inputs]: Remove python-pytest-cov, python-pytest-timeout.
[description]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:32 +01:00
Nicolas Graves 7a446e8229 gnu: python-numcodecs: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-numcodecs)
[native-inputs]: Remove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:32 +01:00
Nicolas Graves 557d03cdc4 gnu: python-semver: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-semver)
[native-inputs]: Remove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:32 +01:00
Nicolas Graves f227faea4a gnu: python-numpydoc: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-numpydoc)
[native-inputs]: Remove python-pytest-cov and python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:32 +01:00
Nicolas Graves a08a4010ee gnu: python-anytree: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-anytree)[native-inputs]:
Remove python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:32 +01:00
Nicolas Graves 0fac4b2fa3 gnu: python-socksio: Remove python-pytest-cov input.
* gnu/packages/python-web.scm (python-socksio)[native-inputs]: Remove
python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:32 +01:00
Nicolas Graves e5f4944e80 gnu: python-waitress: Remove python-pytest-cov input.
* gnu/packages/python-web.scm (python-waitress)
[native-inputs]: Remove python-coverage, python-pytest-cov,
python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:32 +01:00
Nicolas Graves d3d2f9d7f7 gnu: python-cbor2: Remove python-pytest-cov input.
* gnu/packages/python-web.scm (python-cbor2)[native-inputs]:
Rmove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:31 +01:00
Nicolas Graves 2853ada885 gnu: python-test2ref: Remove python-pytest-cov input.
* gnu/packages/python-check.scm (python-test2ref
[native-inputs]: Remove python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:31 +01:00
Nicolas Graves 34f639c1e4 gnu: python-stdnum: Remove python-pytest-cov input.
* gnu/packages/finance.scm (python-stdnum)[native-inputs]:
Remove python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:31 +01:00
Nicolas Graves a37651b052 gnu: python-arrow: Remove python-pytest-cov requirement.
* gnu/packages/time.scm (python-arrow)[native-inputs]: Remove
python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:31 +01:00
Nicolas Graves 26c694b738 gnu: python-propcache: Remove python-pytest-cov requirement.
* gnu/packages/python-web.scm (python-propcache)[arguments]<#:phases>:
Add phase 'avoid-pytest-cov-preload.
[native-inputs]: Remove python-covdefaults, python-pytest-cov,
python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:31 +01:00
Nicolas Graves 4007855a98 gnu: python-yarl: Remove python-pytest-cov requirement.
* gnu/packages/python-web.scm (python-yarl)[arguments]<#:phases>: Add
phase 'avoid-pytest-cov-preload.
[native-inputs]: Remove python-covdefaults, python-pytest-cov,
python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:31 +01:00
Nicolas Graves 656b596d92 gnu: python-aiosignal: Remove python-pytest-cov requirement.
* gnu/packages/python-web.scm (python-aiosignal)
[arguments]<#:phases>: Add phase 'avoid-pytest-cov-preload.
[native-inputs]: Remove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:31 +01:00
Nicolas Graves 0d2b39532c gnu: python-aiohappyeyeballs: Remove python-pytest-cov input.
* gnu/packages/python-web.scm (python-aiohappyeyeballs)
[native-inputs]: Remove python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:31 +01:00
Nicolas Graves 9f4300186d gnu: python-pycountry: Remove coverage input.
* gnu/packages/iso-codes.scm (python-pycountry)
[arguments]<#:phases>: Refresh phase 'fix-pytest-config.

Change-Id: I0ac06cc2d7835ae747a69b71df60374225ab40bd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:30 +01:00
Nicolas Graves ec9b46b4ed gnu: python-docstring-to-markdown: Remove uneeded native-inputs.
* gnu/packages/python-xyz.scm (python-docstring-to-markdown)
[arguments]: Remove field.

Change-Id: I7790a8a12ab60f366b6a7af9a53aca6208e19eee
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:30 +01:00
Nguyễn Gia Phong a550ba8906 gnu: Remove phase done by set-version in pyproject-build-system.
* gnu/packages/astronomy.scm (python-kanon)[arguments]<#:phases>:
  Remove 'relax-requirements and 'set-version.
* gnu/packages/machine-learning.scm
  (python-botorch)[arguments]<#:phases>: Remove 'pretend-version.
* gnu/packages/openstack.scm
  (python-os-testr, python-requestsexceptions)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/package-management.scm
  (python-conda-libmamba-solver)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/patchutils.scm (pwclient)[arguments]<#:phases>:
  Remove 'set-PBR_VERSION.
* gnu/packages/python-check.scm
  (python-aioresponses)[arguments]<#:phases>: Remove 'set-pbr-version.
* gnu/packages/python-science.scm
  (python-modin, python-plotly, python-pytensor)[arguments]<#:phases>:
  Remove 'versioneer.
  (snakemake-5, snakemake-6, snakemake-7)[arguments]<#:phases>:
  Remove 'patch-version.
* gnu/packages/python-web.scm (python-alpaca-py)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/python-xyz.scm
  (python-logical-unification)[arguments]<#:phases>:
  Remove 'versioneer.
  (python-debugpy, python-strenum)[arguments]<#:phases>:
  Remove 'fix-version.
  (python-qstylizer)[arguments]<#:phases>: Remove 'set-pbr-version.
  (python-retry)[arguments]<#:phases>: Remove 'set-version.
* gnu/packages/statistics.scm (python-pymc)[arguments]<#:phases>:
  Remove 'versioneer.

Change-Id: I7b4557c576730e47575305f4f03bfe2523412c6c
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:30 +01:00
Nguyễn Gia Phong b27f30ffda build: pyproject: set-version: Support more backends.
hatch-vcs also uses the SETUPTOOLS_SCM_PRETEND_VERSION
environment variable, while poetry-dynamic-versioning uses
POETRY_DYNAMIC_VERSIONING_BYPASS.  versioneer, on the other hand,
read from the Python package's ._version.get_versions().

The version scheme for Python packaging is not the same as
(nor compatible with) that of semantic version,
hence stop mentioning the latter in the docstring and comments.

When no relevant Python build backend is detected, regardless
if the source has been obtained from a VCS checkout, it is confusing
to mention any of the backends as unnecessary as a native input.
Moreover, unlike the hatch-vcs, poetry-dynamic-versioning
and setuptools-scm that works transparently with the build backend,
pbr and versioneer are required for building.
The output of the set-version phase has been adjusted accordingly.

* guix/build/pyproject-build-system.scm (set-version):
  Add support for python-hatch-vcs.  Clarify docstring.
  Log the explicit reason for noop cases.

References: https://github.com/ofek/hatch-vcs#version-source-environment-variables
References: https://github.com/mtkennerly/poetry-dynamic-versioning#environment-variables
References: https://github.com/python-versioneer/python-versioneer
References: https://docs.openstack.org/pbr/latest/user/packagers.html#versioning
References: https://packaging.python.org/en/latest/specifications/version-specifiers

Change-Id: I8f499856cb6b026539c96fb828e450a40ba10b79
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:30 +01:00
Nguyễn Gia Phong 2d62c3f5f5 gnu: python-versioneer: Adjust patch.
* gnu/packages/patches/python-versioneer-guix-support.patch:
  Extract version from the environment variable
  instead of the parent directory name.

Change-Id: Ide050eeb8fbb82c29805fce74d891d62b7e707cb
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:30 +01:00
Sharlatan Hellseher 21555b5083 gnu: python-openstep-plist: Update to 0.5.2.
* gnu/packages/python-xyz.scm (python-openstep-plist): Update to 0.5.2.
[native-inputs]: Remove python-cython-0; add python-cython.

Change-Id: I8fa859a2ef0fd156c90773a5aced929b6335214c
2026-05-24 10:14:30 +01:00
Sharlatan Hellseher 1ec9861fe9 gnu: python-dnspython: Update to 2.8.0.
* gnu/packages/python-xyz.scm (python-dnspython): Update to 2.8.0.
[arguments] <test-flags>: Clean up redundant skip options.

Change-Id: Ieb1f10fb99f10ec9ab6ae8e169a351ef652b6bac
2026-05-24 10:14:30 +01:00
Sharlatan Hellseher eae5e67fff gnu: python-apsw: Update to 3.50.4.0.
* gnu/packages/databases.scm (python-apsw): Update to 3.50.4.0.
[source]: Switch to git-fetch.
[arguments] <test-backend, test-flags>: Use custom.
[phases]{build-extensions, build-test-helper}: Remove phases.
[native-inputs]: Remove unzip and python-wheel.

Change-Id: I2afcf969ddc1dccc87bd81c0d7b9f175d8e7f3af
2026-05-24 10:14:30 +01:00
Sharlatan Hellseher 6729321a51 gnu: python-clang: Add python-setuptools.
* gnu/packages/llvm.scm (python-clang)[native-inputs]: Add
python-setuptools.

Change-Id: I777aac2f15aaa99dd08719c8c7fbb515967bd214
2026-05-24 10:14:29 +01:00
Sharlatan Hellseher f759358e98 gnu: weasyprint: Update to 68.1.
* gnu/packages/pdf.scm (weasyprint): Update to 68.1.
[arguments] <test-flags>: Remove "-c" overwriting project pytest config.
Limit parallel tests count up to 8 threads. Skip some broken tests.
<phases>: Add 'set-home.
[propagated-inputs]: Remove python-cairocffi, python-cairosvg, and
python-html5lib; add python-tinyhtml5.

Change-Id: I1eb2f3e886e397ab3a3d4b234dea180c372617a0
2026-05-24 10:14:29 +01:00
Sharlatan Hellseher d9fdb3caac gnu: python-pydyf: Update to 0.12.1.
* gnu/packages/pdf.scm (python-pydyf): Update to 0.12.1.
[source]: Switch to git-fetch.
[arguments]: Drop all.

Change-Id: I671e1114610f02e8d116d7068a8d476e8363f209
2026-05-24 10:14:29 +01:00
Hugo Buddelmeijer 52a5ac165a gnu: jack-2: Update to 1.9.22-0.1795946.
* gnu/packages/audio.scm (jack-2): Update to
17959465a722225a36a8b612aed26764036f258e commit.
[arguments]<#:phases>: Remove 'python-compatibility phase.
[inputs]: Remove python-dbus-1.2; add python-dbus.

Merges: https://codeberg.org/guix/guix/pulls/7200
Change-Id: Ic6f3b67c67d7b87bd8b9efcbc7c0b8c04e0da5e6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:29 +01:00
Hugo Buddelmeijer c3a6b3cbfe gnu: python-pillow: Update to 12.1.1 [security-fixes].
Release notes since 11.1.0 (2025-01-02):
- 12.1.1 (2026-02-11)
  <https://pillow.readthedocs.io/en/stable/releasenotes/12.1.1.html>.
- 12.1.0 (2026-01-02)
  <https://pillow.readthedocs.io/en/stable/releasenotes/12.1.0.html>.
- 12.0.0 (2025-10-15)
  <https://pillow.readthedocs.io/en/stable/releasenotes/12.0.0.html>.
- 11.3.0 (2025-07-01)
  <https://pillow.readthedocs.io/en/stable/releasenotes/11.3.0.html>.
- 11.2.1 (2025-04-12)
  <https://pillow.readthedocs.io/en/stable/releasenotes/11.2.1.html>.

Containes fixes for:
CVE-2026-25990: Out-of-bounds write vulnerability in Pillow (Python
                imaging library) affecting versions 10.3.0 through
                12.1.0. The vulnerability can be triggered when loading
                specially crafted PSD image files.
CVE 2025-48379: Write buffer overflow on BCn encoding.
CVE-2021-25289: Heap-based Buffer Overflow.

* gnu/packages/python-xyz.scm (python-pillow): Update to 12.1.1.
[source]: Switch to git-fetch.
[native-inputs]: Add pybind11.
[home-page]: Update URL.
[license]: Switch to MIT-CMU license.

Merges: https://codeberg.org/guix/guix/pulls/7218
Change-Id: I5b13dca66aeb7efdfcc44c8c144b6c64601d9b1e
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:29 +01:00
Sharlatan Hellseher 7997ceb8c6 gnu: python-fonttools: Swap inheritance, simplify.
* gnu/packages/python-xyz.scm (python-fonttools): Don't  inherit from
python-fonttools-miniaml.
[arguments]<test-flags>: Rework skipped tests.
[propagated-inputs]: Remove python-fs, python-lz4, and python-scipy.
(python-fonttools-minimal): Inherit from python-fonttools, simplify.

Relates-to: https://codeberg.org/guix/guix/issues/7195
Change-Id: I1da5dd67f41a90c291a48ec236e7e463acf65785
2026-05-24 10:14:29 +01:00
Yelninei 10feffdf4a gnu: python-elementpath: Use libc-utf-8-locales.
* gnu/packages/xml.scm (python-elementpath):
[phases]{set-locales phase}: Remove phase.
[native-inputs]: Replace glibc-locales with
libc-utf8-locales-for-target.

Merges: https://codeberg.org/guix/guix/pulls/7189
Change-Id: Id89952c65ff644e5fb51dd7c0e0bf6c4791e4e3f
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:29 +01:00
Sharlatan Hellseher dcf83b452e gnu: python-rich-click: Update to 1.9.7.
* gnu/packages/python-xyz.scm (python-rich-click): Update to 1.9.7.
[phases]{fix-pytest-config}: New phase.
[propagated-inputs]: Remove python-typing-extensions.
[native-inputs]: Add python-inline-snapshot and python-typer.

Change-Id: I8f22ce7e79d6aae367474c1b609ed43d9ab38167
2026-05-24 10:14:29 +01:00
Sharlatan Hellseher 10b6414ff3 gnu: python-inline-snapshot: Update to 0.32.5.
* gnu/packages/python-check.scm (python-inline-snapshot): Update to 0.32.5.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Ignore tests requiring isort.

Change-Id: Ic9bd5826f4cdc911dbae9eb52bfa08b7b56b5a9d
2026-05-24 10:14:28 +01:00
Sharlatan Hellseher e80f295cdf gnu: python-dirty-equals: Update to 0.11.0.
* gnu/packages/python-xyz.scm (python-dirty-equals): Update to 0.11.0.
[source]: Switch to git-fetch.
[arguments]: Drap all.
[propagated-inputs]: Remove python-pytz.
[native-inputs]: Add python-pydantic, python-pytest-examples, and
tzdata-for-tests.

Change-Id: Iff4b844ec8544d463806ff5c4fbd8c19deadd1c4
2026-05-24 10:14:28 +01:00
Sharlatan Hellseher 2bd8671a68 gnu: python-pydantic: Adjust inputs.
* gnu/packages/python-xyz.scm (python-pydantic)[native-inputs]: Remove
python-dirty-equals; add python-dirty-equals-bootstrap and python-pytz.

Change-Id: I5094994f891cf2ed9d06dc70d12e92d9eb5b7e02
2026-05-24 10:14:28 +01:00
Sharlatan Hellseher 4e0aaeac6c gnu: python-pydantic-core: Adjust inputs.
* gnu/packages/python-xyz.scm (python-pydantic-core)[native-inputs]:
Remove python-dirty-equals; add python-dirty-equals-bootstrap.

Change-Id: I35ac1000927495ea451f49c8ccfeb97de6e58c63
2026-05-24 10:14:28 +01:00
Sharlatan Hellseher 648ffef210 gnu: Add python-dirty-equals-bootstrap.
* gnu/packages/python-xyz.scm (python-dirty-equals-bootstrap): New variable.

Change-Id: I1f90def023d1a2cc64998fd92ed427431c6b00fc
2026-05-24 10:14:28 +01:00
Hugo Buddelmeijer c00a43acd3 gnu: python-gorilla: Update to 0.5.0.
* gnu/packages/python-xyz.scm (python-gorilla): Update to 0.5.0.

Change-Id: If6ec17cca1f3a08867fa3c163b1964b893621548
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:28 +01:00
Sharlatan Hellseher 9c96a64391 gnu: python-booleanoperations: Move to fontutils.
The description of the package does not match the selected module, and
it's used only to build font related packages.

* gnu/packages/graphics.scm (python-booleanoperations): Move from here ...
* gnu/packages/fontutils.scm ... to here.

Change-Id: If96253ef74f2931b1c184eecd7c961b02e721cfd
2026-05-24 10:14:28 +01:00
Sharlatan Hellseher 1a4e95e53f gnu: piglit: Update to 0.0.0-2.040ed91.
* gnu/packages/gl.scm (piglit): Update to
040ed91f234abb6a502d3a6910f1b0e54bd239a7 commit.
[phases]{wrap}: Use G-Expression.
[inputs]: Remove python-lxml, python-mako, and python-numpy-1; add
wayland-protocols.
[native-inputs]: Add python-lxml, python-mako, and python-numpy.

Change-Id: I060b5cce391a1c45d164117a9a72eeafc99a1194
2026-05-24 10:14:28 +01:00
Sharlatan Hellseher 21774aa05e gnu: python-notebook: Reduce closure size.
* gnu/packages/jupyter.scm (python-notebook)[native-inputs]: Remove
python-coverage, python-pytest-cov, and python-wheel.

Change-Id: I4cddfe84a40440dc8d052885e5d0d4539b97da76
2026-05-24 10:14:27 +01:00
Sharlatan Hellseher c93ff019bf gnu: python-json-logger: Skip 3 tests.
* gnu/packages/python-xyz.scm (python-json-logger)[arguments]
<test-flags>: Skip 3 tests failing on Python 3.12.
[native-inputs]: Remove python-wheel.

Change-Id: Ic3b63d0c1b7c54bfce9151515384ef38a7d6be0a
2026-05-24 10:14:27 +01:00
Sharlatan Hellseher 27eee3a50a gnu: python-rich: Update to 14.3.3.
* gnu/packages/python-xyz.scm (python-rich): Update to 14.3.3.

Change-Id: I83512a4988f98a74e0d0b418a79a3b3f4b9481b9
2026-05-24 10:14:27 +01:00
Sharlatan Hellseher d3c3438bc0 gnu: Remove python-rich-next.
* gnu/packages/python-xyz.scm (python-rich-next): Delete variable.

Change-Id: I7b37b4083d770452e4659a8b876976d824f3bed0
2026-05-24 10:14:27 +01:00
Sharlatan Hellseher 16cb7859ee gnu: python-flasgger: Fix tests.
* gnu/packages/python-xyz.scm (python-flasgger):
[source] <snippet>: Apply upstream patch for Click 8.2 compatibility,
see <https://github.com/flasgger/flasgger/pull/633>.
[arguments] <test-flags>: Remove redundant option and run tests only in
"tests" directory.

Change-Id: I7fbe495dee922fd2aa67052cf445526adc5ab205
2026-05-24 10:14:27 +01:00
Hugo Buddelmeijer ef6d874c33 gnu: python-notify2: Switch to python-dbus.
* gnu/packages/python-xyz.scm (python-notify2): Switch to python-dbus.
[propagated-inputs]: Remove python-dbus-1.2; add python-dbus.

Change-Id: I7eb0a276dbebde3fd1380ad1b0d307e72896b754
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:27 +01:00
Hugo Buddelmeijer 20813b0e6b gnu: terminator: Switch to python-dbus.
* gnu/packages/gnome.scm (terminator): Switch to python-dbus.
[inputs]: Remove python-dbus-1.2; add python-dbus.

Change-Id: I5ef84a30b3ff76f7581a6e9aa74ecb99ee750040
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:27 +01:00
Hugo Buddelmeijer 7391dc97b8 gnu: network-manager: Switch to python-dbus.
* gnu/packages/gnome.scm (network-manager): Switch to python-dbus.
[native-inputs]: Remove python-dbus-1.2; add python-dbus.

Change-Id: I67131ccb14540d96dc0bf6639a142d1385d37d2c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:27 +01:00
Hugo Buddelmeijer 0ecffa8fee gnu: libsecret: Switch to python-dbus.
* gnu/packages/gnome.scm (libsecret): Switch to python-dbus.
[native-inputs]: Remove python-dbus-1.2; add python-dbus.

Change-Id: If17e0eb40e5ed3493d5013bb9cc09135634e3239
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:26 +01:00
Hugo Buddelmeijer 2b8f452942 gnu: system-config-printer: Switch to python-dbus.
* gnu/packages/gnome.scm (system-config-printer): Switch to python-dbus.
[inputs]: Remove python-dbus-1.2; add python-dbus.

Change-Id: Iba41894960ac4e432ad7cd03ce99cbcf228825d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:26 +01:00
Hugo Buddelmeijer 6940eae2ef gnu: gtg: Switch to python-dbus.
* gnu/packages/gnome.scm (gtg): Switch to python-dbus.
[inputs]: Remove python-dbus-1.2; add python-dbus.

Change-Id: I1ee875a33dc5a628bc8e4a5fe521c62319cafb57
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:26 +01:00
Hugo Buddelmeijer 788e58d5cd gnu: python-liblarch: Fix build by switching to python-pygobject-3.50.
* gnu/packages/gnome.scm (python-liblarch): Switch to python-pygobject-3.50.
[propagated-inputs]: Remove python-pygobject; add python-pygobject-3.50.

Change-Id: I2e528bda69f3cd5de7a23620e71160553b53a36b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:26 +01:00
Hugo Buddelmeijer b88c85a288 gnu: telepathy-idle: Switch to python-dbus.
* gnu/packages/freedesktop.scm (telepathy-idle): Switch to python-dbus.
[inputs]: Remove python-dbus-1.2; add python-dbus.

Change-Id: Ia99a1ad430d46627a416ee50096cdef8727adbc8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:26 +01:00
Hugo Buddelmeijer 732629ff0a gnu: modem-manager: Switch to python-dbus.
* gnu/packages/freedesktop.scm (modem-manager): Switch to python-dbus.
[native-inputs]: Remove python-dbus-1.2; add python-dbus.

Change-Id: Ia43359c043f9d2d9ded8cbad9445d1b75d514dac
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:26 +01:00
Sharlatan Hellseher 00b55befbb gnu: python-qt-py: Update to 2.0.3.
* gnu/packages/qt.scm (python-qt-py): Update to 2.0.3.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments] <tests?>: Disable for now, see:
<https://github.com/mottosso/Qt.py/issues/395>.
[propagated-inputs]: Add python-types-pyside6.
[native-inputs]: Remove python-pyqt; add python-pyqt-6 and
python-setuptools.

Change-Id: I87f1186ec3db5b37ec3cb9389e97d0ecc81e79ac
2026-05-24 10:14:26 +01:00
Sharlatan Hellseher 95304e3308 gnu: python-qt.py: Rename to python-qt-py.
* gnu/packages/qt.scm (python-qt.py): Rename to python-qt-py.
(python-qt.py): Deprecate in favor of python-qt-py.

* gnu/packages/radio.scm (qspectrumanalyzer):
[inputs]: Remove python-qt.py; add python-qt-py.

Change-Id: Idd0921fadc4724ed7bd4ed6f3e4115ddb5e70e2a
2026-05-24 10:14:26 +01:00
Sharlatan Hellseher d5b58aad69 gnu: Add python-types-pyside6.
* gnu/packages/python-xyz.scm (python-types-pyside6): New variable.

Change-Id: I7c5e60cf38de37b1a127fd8aa2ce062f1da9ae54
2026-05-24 10:14:25 +01:00
Sharlatan Hellseher 1311f79329 gnu: python-black: Update to 26.3.1.
* gnu/packages/python-xyz.scm (python-black): Update to 26.3.1.
Use G-Expressions.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Skip one test.
[propagated-inputs]: Add python-pytokens.
[native-inputs]: Remove python-pytest-8; add python-pytest.

Change-Id: I132c774e3d946be8ed7f6be7574ea847b82fddf2
2026-05-24 10:14:25 +01:00
Sharlatan Hellseher 62a7a98354 gnu: Add python-pytokens.
* gnu/packages/python-xyz.scm (python-pytokens): New variable.

Change-Id: I1757fc076cb104533e4fa4223215615ac9c82d53
2026-05-24 10:14:25 +01:00
Sharlatan Hellseher f05963ceb4 gnu: python-pathspec: Update to 1.0.4.
* gnu/packages/python-build.scm (python-pathspec): Update to 1.0.4.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-setuptools-bootstrap; add
python-packaging-bootstrap.

Change-Id: I02bab3eab782a735bd22f34e9667748c393c3fdf
2026-05-24 10:14:25 +01:00
Reza Housseini 97988b725b gnu: python-click: Update to 8.3.1.
* gnu/packages/python-xyz.scm (python-click): Update to 8.3.1.

Merges: https://codeberg.org/guix/guix/pulls/6877
Change-Id: I0d4fea5e4628a39025705517b12f9a229365dd75
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:25 +01:00
Hugo Buddelmeijer fe6a8ab28f gnu: python-sphinxcontrib-jquery: Update to 4.1-0.80d1d39.
* gnu/packages/sphinx.scm (python-sphinxcontrib-jquery): Update to
80d1d3925c17c1860283323972680690f81d7b18 commit.
[source]: Switch to git-fetch.
[native-inputs]: Add python-pytest.

Merges: https://codeberg.org/guix/guix/pulls/7112
Change-Id: I9a68700797e9b4650e01e504bc2d5abbdca8435d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:25 +01:00
Andreas Enge 3a53839b8e build-system: python: Remove strip-python2-variant.
* guix/build-system/python.scm (strip-python2-variant): Remove variable.

Fixes: guix/guix#5398
Change-Id: Ice537cbbecdc04cafcd5f1260a27a5f3a631df58
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:25 +01:00
Andreas Enge 8c5883aad6 gnu: Remove python2-dbus.
* gnu/packages/python-xyz.scm (python2-dbus): Delete variable.

Change-Id: I7975a5f4d172ecf7558cdf3469e6c60136feee48
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:25 +01:00
Andreas Enge e172a78220 gnu: python-dbus: Remove python2-variant property.
* gnu/packages/python-xyz.scm (python-dbus)[property]: Remove field.

Change-Id: Id37d3f0a42af06d4470abc69f983f6df14d609c7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:25 +01:00
Sharlatan Hellseher 98d9d09c00 gnu: python-msgspec: Adjust style and indentation.
* gnu/packages/serialization.scm (python-msgspec): Adjust style and
indentation.

Change-Id: I76fba5a2314febe4cddbc712fecf7a596a31915e
2026-05-24 10:14:24 +01:00
Nguyễn Gia Phong b35905695a gnu: python-msgspec: Update to 0.20.0.
* gnu/packages/serialization.scm (python-msgspec): Update to 0.20.0.
  [source]<snippet>: Adjust the path to atof_consts.h.
  [arguments]<#:test-flags>: Adjust to disable all typing tests.
  [native-inputs]: Remove python-gcovr, python-versioneer, and python-wheel.
  [supported-systems]: Remove restrictions as no longer specified
  by upstream.

Change-Id: Iab29b85cfd5c598db82f8753475d15ad97a564db
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:24 +01:00
Sharlatan Hellseher f443a5d471 gnu: python-anyio: Simplify and rework skipped tests.
Anyio is know for shaky and time sensitive tests particularly on heavy
loaded machines and CI with cores count more than 16. This change
excludes all network tests with "-m no network" marker and time
sensitive test on all architectures.

* gnu/packages/python-xyz.scm (python-anyio)[arguments] <test-flags>:
Simplify and rework skipped/ignored tests.

Relates-to: https://codeberg.org/guix/guix/issues/6931
Relates-to: https://codeberg.org/guix/guix/issues/6649
Merges: https://codeberg.org/guix/guix/pulls/7070
Change-Id: Ide333652172e5d97c735414fe2b3d1beac6ab5bd
2026-05-24 10:14:24 +01:00
Hugo Buddelmeijer bd83194e8a gnu: python-can: Fix build.
* gnu/packages/python-xyz.scm (python-can): Fix build.
[native-inputs]: Remove python-future.

Change-Id: I189672b60c5367a6c5af202aad27984f3c260634
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:24 +01:00
Hugo Buddelmeijer c7a6657752 gnu: python-pyxdg: Update to 0.28-0.63033ac.
* gnu/packages/freedesktop.scm (python-pyxdg): Update 0.28-0.63033ac.
[arguments]<#:test-flags>: Remove as tests pass.

Change-Id: Iefe8fb19a85348420b0727ab25267e1ea4cb4d55
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:24 +01:00
Hugo Buddelmeijer 48c1cd8a6a gnu: python-pysendfile: Fix build on python-3.12.
* gnu/packages/python-xyz.scm (python-pysendfile): Fix build.
[propagated-inputs]: Add python-pyasynchat.

Change-Id: I1981abb1f976f5ad9c23ab398a87ff2fd1d96b75
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:24 +01:00
Hugo Buddelmeijer 1112f95bf5 gnu: python-inotify: Fix build on python-3.12.
* gnu/packages/python-xyz.scm (python-inotify): Fix build.
[propagated-inputs]: Add python-pyasyncore.

Change-Id: I3de6bebfd4bb5c1ab1d13710864c9e53d8a31e14
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:24 +01:00
Hugo Buddelmeijer f0cf695598 gnu: fiu: Fix build on python-3.12.
* gnu/packages/debug.scm (fiu): Fix build.
[native-inputs]: Add python-setuptools.

Change-Id: If5f8eacbeafd8bdc66351b2939b753f58e4eb27f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:24 +01:00
Hugo Buddelmeijer 868275403c gnu: rrdtool: Fix build on python-3.12.
* gnu/packages/rrdtool.scm (rrdtool): Fix build.
[native-inputs]: Add python-setuptools.

Change-Id: I87b91bd6e6a9bd7be2ee1d9719c7f4c592f84c6d
2026-05-24 10:14:23 +01:00
Hugo Buddelmeijer 2573e21475 gnu: Add python-pyasynchat.
* gnu/packages/python-xyz.scm (python-pyasynchat): New variable.

Change-Id: I6d1d1c69ab8ca53dca0d626887ce830ddf836384
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:23 +01:00
Hugo Buddelmeijer 0a494a7de1 gnu: Add python-pyasyncore.
* gnu/packages/python-xyz.scm (python-pyasyncore): New variable.

Change-Id: I4fcfe9c22062223ba4a4d6341211529d955c4a0f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:23 +01:00
Sharlatan Hellseher 1feb6eb2a2 gnu: python-google-cloud-core: Fix tests on python-3.12.
* gnu/packages/python-web.scm (python-google-cloud-core) [arguments]
<test-flags>: Ignore faileur on deprecation warning.

Change-Id: I4657321d9fd72dd2b6b8cb09a197b2c92fbc2ad8
2026-05-24 10:14:23 +01:00
Sharlatan Hellseher 2836f27177 gnu: python-google-api-core: Fix tests on python-3.12.
* gnu/packages/python-web.scm (python-google-api-core)[arguments]
<test-flags>: Ignore faileur on deprecation warning.

Change-Id: I8aff71d3a7c0fd2a4c4505fff0173f23c86455b0
2026-05-24 10:14:23 +01:00
Hugo Buddelmeijer 52782c757e gnu: python-pyu2f: Update to 0.1.5-0.064be5a.
* gnu/packages/python-crypto.scm (python-pyu2f): Update to 0.1.5-0.064be5a.

Change-Id: I63a7f743f1e128b1e969056db35c3557e2791b86
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:23 +01:00
Hugo Buddelmeijer 328ee16838 gnu: python-makefun: Update to 1.16.0-0.bacb3e1.
* gnu/packages/python-xyz.scm (python-makefun): Update to 1.16.0-0.bacb3e1.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-wheel; add python-pytest-asyncio.

Change-Id: Iac0e5bad44b481b7f78ea5fec5da6ba9de50cc75
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:23 +01:00
Hugo Buddelmeijer f59d851837 gnu: python-httplib2: Update to 0.31.2.
* gnu/packages/python-web.scm (python-httplib2): Update to 0.31.2.
[propagated-inputs]: Add python-pyparsing and python-pysocks.
[native-inputs]: Remove python-future and python-pyparsing.

Change-Id: I6d8272b1ffa00fa54d1fd72f21202fe6f7464c66
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:23 +01:00
Hugo Buddelmeijer a8f07f61a8 gnu: python-flask-sqlalchemy: Update to 3.1.1-0.168cb4b.
* gnu/packages/python-web.scm (python-flask-sqlalchemy): Update to
3.1.1-0.168cb4b.
[source]: Switch to git-fetch.

Change-Id: I42972b20f998e5f99cab02938eb9cdd678720ef5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:22 +01:00
Hugo Buddelmeijer bb9af6581f gnu: python-srsly: Update to 2.5.2.
* gnu/packages/python-xyz.scm (python-srsly): Update to 2.5.2.
[source]: Switch to git-fetch.

Change-Id: I0e5544b6d4258e6f9d66be3751247815e06f96c9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:22 +01:00
Hugo Buddelmeijer b035e3cef8 gnu: python-catalogue: Update to 2.0.10.
* gnu/packages/python-xyz.scm (python-catalogue): Update to 2.0.10.
[native-inputs]: Remove python-wheel.

Change-Id: I5f1c5357f58454a70ec56ef1ff93944ad43fcb48
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:22 +01:00
Hugo Buddelmeijer 56dca781ba gnu: python-bson: Update to 0.5.10-0.4e6b4c2.
Fix build in Python 3.12.

* gnu/packages/python-xyz.scm (python-bson): Update to  0.5.10-0.4e6b4c2.

Change-Id: I412852030b326dfb20d57c7d75bc50073027abad
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:22 +01:00
Yan Abu Arab c32694a2b4 gnu: python-pydantic-core: Cleanup unneeded phase.
* gnu/packages/python-xyz.scm (python-pydantic-core)[phases]{patch-pyproject}:
Remove phase.

Merges: https://codeberg.org/guix/guix/pulls/6358
Change-Id: I04d0aaac7aec000db4e276e61097d55f9d8c630e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:22 +01:00
jgart 208fee26a9 gnu: python-abjad: Update to 3.31.
* gnu/packages/music.scm (python-abjad): Update to 3.31.
[arguments]<tests?>: Enable them.
[phases]{fix-docstring}: Remove phase.
{remove-local-source}: New phase.
[native-inputs]: Add python-setuptools.
[description]: Fix fill-column.

Merges: https://codeberg.org/guix/guix/pulls/4256
Change-Id: Id5241c1fe706a57fabc6d714d4b92b49d8228be8
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:22 +01:00
Nicolas Graves 6da840437c gnu: python-cython-0: Fix build for python@3.12.
* gnu/packages/python-xyz.scm
(importlib-util-load-dynamic): Add helper string.
(python-cython-0)[arguments]<#:phases>: Add phase
'fix-pyximport-python-3.12.

Merges: https://codeberg.org/guix/guix/pulls/6222
Change-Id: I403e72cfdc82210bdfcbcb21e77cef89e8c68398
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:22 +01:00
Sharlatan Hellseher 60172673e8 gnu: Remove python-greenlet-2.
* gnu/packages/python-xyz.scm (python-greenlet-2): Delete variable.

Fixes: guix/guix#6801
Change-Id: Ib008ce81ca3af00d8c5c933d615b5a89effcc9ca
2026-05-24 10:14:22 +01:00
Hugo Buddelmeijer fea779953a gnu: python-virtualenv: Fix build.
The test_build_c_ext.py test explicitly checks for >= 3.12 to decide
to access the internet.

* gnu/packages/python-xyz.scm (python-virtualenv): Fix build.
[arguments]<#:test-flags>: Ignore internet-requiring test.

Change-Id: I4c48f7820ef222dd7deb334334558850b7c79b04
2026-05-24 10:14:21 +01:00
Hugo Buddelmeijer 862e3ac037 gnu: python-fastapi: Update to 0.131.0.
* gnu/packages/python-web.scm (python-fastapi): Update to 0.131.0.
[native-inputs]: Remove python-sqlalchemy; add python-sqlalchemy-2.
[arguments]<#:test-backend>: Use 'custom.
<#:test-flags>: Update tests.
[home-page]: Update with redirect.
2026-05-24 10:14:21 +01:00
Hugo Buddelmeijer faf75322f8 gnu: python-httpbin: Update to 0.10.2.
* gnu/packages/web.scm (python-httpbin): Update to 0.10.2.
[propagated-inputs]: Remove python-greenlet-2; add python-greenlet.
[native-inputs]: Remove python-wheel.

Change-Id: I864cbade29f19667f1479139558738f63e8a4230
2026-05-24 10:14:21 +01:00
Sharlatan Hellseher 38af4c04ef gnu: python-roman: Fix tests.
* gnu/packages/python-xyz.scm (python-roman)[arguments]<test-flags>:
Add unitest discovery option in "src" directory.

Change-Id: I3e14d0a0bf6f5e50ec5755d4f1846123ca34e877
2026-05-24 10:14:21 +01:00
Sharlatan Hellseher fe0570511f gnu: fontforge: Fix build on python-3.12.
* gnu/packages/fontutils.scm (fontforge): Update to 20230101.
[inputs]: Add python-setuptools-bootstrap.

Change-Id: I4d997fe2b1d05a6d4629a80e98378d5a98252b0c
2026-05-24 10:14:21 +01:00
Nicolas Graves 929e5d3d91 gnu: libtorrent-rasterbar: Fix build on python-3.12.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar)[native-inputs]:
Add python-setuptools.

Change-Id: I551065bcac8e62e3d25a95e235c567150ffe2ce3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:21 +01:00
Nicolas Graves 666d8b6b00 gnu: libpwquality: Fix package build on python-3.12.
* gnu/packages/password-utils.scm (libpwquality)
[arguments]: Improve style, use gexps.
[native-inputs]: Improve style, add python-setuptools.

Change-Id: I124701452e3f8e22625aa30f69a51a71cb6827de
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:21 +01:00
Nicolas Graves 54e07a8db7 gnu: python-libfreenect: Fix package build on python-3.12.
* gnu/packages/openkinect.scm (python-libfreenect)[native-inputs]: Add
python-setuptools.

Change-Id: I3c1dc418063ffd2adecd91f2ef5ad510a6792f0a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:21 +01:00
Nicolas Graves a219e331d0 gnu: libimobiledevice: Fix package build on python-3.12.
* gnu/packages/libusb.scm (libimobiledevice)[native-inputs]: Add
python-setuptools.

Change-Id: I0450c97b418f2f3879b81be05469e1560baddfa9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:20 +01:00
Nicolas Graves 3ba1468535 gnu: libplist: Fix package build on python-3.12.
* gnu/packages/libusb.scm (libplist)[native-inputs]: Add
python-setuptools.

Change-Id: If93408cb375f3e1d62207cb2a82bd4e3f0ee636a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:20 +01:00
Nicolas Graves ede05f400d gnu: openpmix: Fix package build on python-3.12.
* gnu/packages/parallel.scm (openpmix)[native-inputs]: Add
python-setuptools.

Change-Id: I6b4c3e880a5678887d32f5fdb4ef11d308bafe91
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:20 +01:00
Nicolas Graves 37f86ae679 gnu: libselinux: Fix package build under python-3.12.
* gnu/packages/selinux.scm (libselinux)[native-inputs]: Add
python-setuptools.

Change-Id: I035052b9e87690c9a7bf5a7b8526871a8f57df78
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:20 +01:00
Nicolas Graves d939722764 gnu: ableton-link: Fix package build under python-3.12.
* gnu/packages/audio.scm (ableton-link)
[arguments]: Relocate field, improve style (use gexps, and
search-input-file).
[native-inputs]: Add python-setuptools.

Change-Id: I7d6773334674ddaec0ab7c611fb64e6e4cb43879
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:20 +01:00
Nicolas Graves 2ac4df9f7e gnu: libiio: Fix package build under python-3.12.
* gnu/packages/radio.scm (libiio)
[native-inputs]: Add python-setuptools.
[license]: Relocate field.

Change-Id: Ief3c5f10b0744e4121b8b9297382d2d2d6598277
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:20 +01:00
Cayetano Santos e06b19c408 gnu: python-motulator: Update to 0.6.2.
* gnu/packages/engineering.scm (python-motulator): Update to 0.6.2.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-ipykernel and python-toml.
[propagated-inputs]: Add python-tqdm.

Change-Id: Ic29ffedc4b663e4d2138cacc56e69c135add7f6d
2026-05-24 10:14:20 +01:00
Aaron Covrig 314d39ebeb gnu: python-lxml: Update to 6.0.2.
* gnu/packages/xml.scm (python-lxml): Update to 6.0.2.

Change-Id: I5c16b8a2819e96a5fdeadbb35b72789cb78d1945
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:20 +01:00
Yan Abu Arab dba036ecee gnu: maturin: Update to 1.11.5.
* gnu/packages/rust-apps.scm (maturin): Update to 1.11.5.
[arguments]<#:cargo-test-flags>: Add skip for test_pep639 and
metadata_hello_world_pep639, renamed 'test' namespace to 'tests'.
[inputs]: Add zstd:libs.
[native-inputs]: Add pkg-config.
* gnu/packages/patches/maturin-no-cross-compile.patch: Update to 1.11.5.
* gnu/packages/rust-crates.scm (maturin): Update dependencies.

Change-Id: Ic479aa238b60331402749ff24fbf2a5e2b4c280c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:19 +01:00
Sharlatan Hellseher 3ed35c4b48 gnu: python-pluggy: Switch to git-fetch.
* gnu/packages/python-build.scm (python-pluggy):
[source]: Switch to git-fetch.
[arguments] <tests?>: Disable to break cycle with Pytest.
[native-inputs]: Remove python-wheel.
[home-page]: Use the URL mentioned on GitHub.

Change-Id: I81b053c7de9e57598e2172e6b5c001a15b770e45
2026-05-24 10:14:19 +01:00
Nicolas Graves 600ef517e6 gnu: sugar-toolkit-gtk3: Switch to pyproject.
* gnu/packages/sugar.scm (sugar-toolkit-gtk3):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: Ie0f16e7616afc7e505e64e4be660f86f3952812d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:19 +01:00
Nicolas Graves b581f671e6 gnu: sby: Switch to pyproject.
* gnu/packages/electronics.scm (sby):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: I0d0ab1a192352c719a318a8383b9c77e4f979d00
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:19 +01:00
Nicolas Graves 01ae7dfa56 gnu: mcy: Switch to pyproject.
* gnu/packages/electronics.scm (mcy):
[arguments]<#:imported-modules, #:modules, #:phases>: Switch to
pyproject-build-system.

Change-Id: I0f1004a7c28e88a49a5c55bccdb734d4e017b8c5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:19 +01:00
Nicolas Graves 8763722242 gnu: eqy: Switch to pyproject.
* gnu/packages/electronics.scm (eqy):
[arguments]<#:imported-modules, #:modules, #:phases>: Switch to
pyproject-build-system.

Change-Id: Id206edb3a75bc025b18c70fc27a7d3b40efb2852
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:19 +01:00
Nicolas Graves a5f7b7f39d gnu: koboldcpp: Switch to pyproject.
* gnu/packages/machine-learning.scm (koboldcpp):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: I320ad76b1c475f12a0cefc036bd1a19d91e00041
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:19 +01:00
Nicolas Graves 268f6cfcb2 gnu: llama-cpp: Switch to pyproject.
* gnu/packages/machine-learning.scm (llama-cpp):
[arguments]<#:imported-modules, #:modules>: Relocate keywords. Switch
to pyproject-build-system.

Change-Id: I0b99e2b4b4beaf9fd085428022ec38b9e25995c3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:19 +01:00
Nicolas Graves 761abb080c gnu: sbcl-burgled-batteries3: Switch to pyproject.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.
<#:phases>: Rewrite phase 'set-*cpython-include-dir*-var to use modern
procedures.

Change-Id: Ifd210c047f29b5ddae84cdde93efe35a557fc810
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:19 +01:00
Nicolas Graves 9b0b7cb7ee gnu: emacs-jedi: Switch to pyproject.
* gnu/packages/emacs-xyz.scm (emacs-jedi)[arguments]<#:modules>:
Switch to pyproject.

Change-Id: I77ac94bbf8bd43e9f366ff7047a3bf90bf31c6fc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:18 +01:00
Nicolas Graves 89b89a6b0e gnu: sbcl-burgled-batteries3: Improve style.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[arguments]: Use
modern style.

Change-Id: I9399703d9a207526a2f4f07fbfd65dff92881053
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:18 +01:00
Nicolas Graves ce218401fa gnu: qgis: Switch to pyproject.
* gnu/packages/geo.scm (qgis):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.
<#:phases>: Rewrite phase 'configure-pyqt5-sip-path with site-packages.

Change-Id: I481c31160d4452d6c146eb8c65966f1b2f4c1342
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:18 +01:00
Nicolas Graves 9292a2b087 gnu: grass: Switch to pyproject.
* gnu/packages/geo.scm (grass):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: I00f74565eaab9e33f4cb8652b1df7f283e50a4cf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:18 +01:00
Nicolas Graves a86ea1b7e2 gnu: dblatex: Fix build with python@3.12.
* gnu/packages/patches/dblatex-importlib.patch: New file.
* gnu/packages/docbook.scm (dblatex)[origin]<patches>: Record patch.
* gnu/local.mk: Record patch.
2026-05-24 10:14:18 +01:00
Nicolas Graves 01ed06fac4 gnu: nmap: Fix tests under python@3.12.
* gnu/packages/admin.scm (nmap)[arguments]<#:phases>:
Add phase 'fix-tests-for-python-3.12.

Change-Id: I9f4aa9fceca2d922e00b6305878e137644c2a39f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:18 +01:00
Nicolas Graves e223c11008 build-system: pyproject: Remove reference to python-build-system.
* guix/build-system/pyproject.scm (%pyproject-build-system-modules):
Replace %python-build-system-modules by %default-gnu-imported-modules.

Change-Id: Ifee0564b61d15a022dc22afe437567d86034c81b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:18 +01:00
Nicolas Graves 356f582220 gnu: python: Refactor module.
* gnu/packages/python.scm
(common-python-phases): New variable, encompassing phases used both in
all python packages.  Add a warning comment.
(common-python3-phases): New variable, encompassing phases used in all
python@3 packages.  Add a warning comment.
(python-2.7)[arguments]<#:phases>: Modify them
from (common-python-phases) base.
(python-3.10)[arguments]: Avoid substituting python-2.7 arguments.
<#:configure-flags>: ...except here, which is fine since it's not
further inherited.
<#:phases>: Modify them from (common-python3-phases) base.
(python-3.11)[arguments]<#:phases>: Modify them
from (common-python3-phases) base.
(python-2.7)[arguments]<#:phases>: Modify them
from (common-python3-phases) base.
2026-05-24 10:14:18 +01:00
Andreas Enge 18a3715a18 gnu: python-3: Set to python-3.12.
* gnu/packages/python.scm (python-3): Define as python-3.12 instead of
python-3.11.

Change-Id: Ibb7106f19f54a5d7e58a128f37a2b62ba3b60e8c
2026-05-24 10:14:17 +01:00
Andreas Enge 84cad47547 gnu: python-3.12: Set name to "python".
* gnu/packages/python.scm (python-3.12)[name]: Set to "python" instead
of "python-next".

Change-Id: I01bcc4adff7aaa97f7077279800d6ecc0ae1c36d
2026-05-24 10:14:17 +01:00
Ricardo Wurmus b7934f4192 gnu: swineherd: Update to 0.0.5.
* gnu/packages/admin.scm (swineherd): Update to 0.0.5.
[propagated-inputs]: Replace shepherd-0.10 with shepherd-1.0.

Change-Id: I267446d4de9d4f64c8ebca4812e413e9c86c933d
2026-05-24 11:11:46 +02:00
Efraim Flashner 472e55bd92 gnu: Remove libbwt-jni.
* gnu/packages/finance.scm (libbwt-jni): Remove variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[libbwt-jni]: Remove
entry.

Change-Id: I723ba5992d7f0c14b86d1882aaab7227a20219a0
2026-05-24 11:55:47 +03:00
Efraim Flashner 69cff94d3c gnu: Remove bwt.
Closes guix/guix#8044.

* gnu/packages/rust-apps.scm (bwt): Remove variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[bwt]: Remove entry.

Change-Id: Ia775db07e770b53ae4953e6d49cc0507cafc27b8
2026-05-24 11:55:47 +03:00
Efraim Flashner b4a3239595 gnu: jujutsu: Update to 0.41.0.
* gnu/packages/rust-apps.scm (jujutsu): Update to 0.41.0.
[native-inputs]: Remove openssh, add openssh-sans-x.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[jujutsu]: Update
entry.

Change-Id: I0ce635922f81706c6d5989b23ad8b7cea7be6f71
2026-05-24 11:55:47 +03:00
Efraim Flashner f288e61bba gnu: kibi: Update to 0.3.3.
* gnu/packages/rust-apps.scm (kibi): Update to 0.3.3.
[arguments]: Remove cargo-test-flags.  Update the 'install-extras phase.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[kibi]: Update
dependencies.

Change-Id: I6ce9daf622781576d4f835218bf0bd7853b0e9c3
2026-05-24 11:55:43 +03:00
Guillaume Le Vaillant 9746105c3c gnu: linux-libre-7.0: Add configuration for riscv.
* gnu/packages/aux-files/linux-libre/7.0-riscv.conf: New file.

Change-Id: Ib7a2217a8f4d598e20b73acd9a98f5ff19d38188
2026-05-24 09:51:57 +02:00
pinoaffe c5006909c1 gnu: inkscape: Update to 1.4.3.
* gnu/packages/inkscape.scm (inkscape): Update to 1.4.3.
  [inputs]: Add python-tinycss2.
  (%inkscape-release-year): Update to 2025.

Change-Id: Ib4978226effe1960afc0005b47a293f60208d90c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8248
2026-05-24 00:48:33 +02:00
pinoaffe 660259f2e3 gnu: lib2geom: Update to 1.4.
* gnu/packages/graphics.scm (lib2geom): Update to 1.4.

Change-Id: I9af164493c725e0dfe3b4b38951646c117236da3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-05-24 00:48:33 +02:00
pinoaffe 5caf6f2a41 gnu: inkscape/pinned: Use pinned variant of lib2geom.
* gnu/packages/inkscape.scm (inkscape/pinned)[inputs]:
  Replace lib2geom with lib2geom/pinned.
  (inkscape)[inputs]: Replace inherited lib2geom/pinned with lib2geom.

Change-Id: I4ef5786c60c4b49dc746e6d6e271f77d279433a1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-05-24 00:48:33 +02:00
pinoaffe c8da685b9e gnu: Add lib2geom/pinned.
* gnu/packages/graphics.scm (lib2geom/pinned): Rename from lib2geom.
  [properties]<hidden?>: Set to #t.
  (lib2geom): New variable inheriting lib2geom/pinned.

Change-Id: I1fe58cdf35941501271c11c3e9138393953075e7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-05-24 00:48:33 +02:00
Ashish SHUKLA 525d8b48ac gnu: python-libtmux: Update to 0.57.1
* gnu/packages/tmux.scm (python-libtmux): Update to 0.57.1.

Change-Id: I6d7cce59cd6bb46e6507a6974920e41eb8102e8d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8729
2026-05-24 00:48:33 +02:00
Ashish SHUKLA 2a42224ada gnu: tmux: Update to 3.6b
* gnu/packages/tmux.scm (tmux): Update to 3.6b.

Change-Id: Ia25d3262374f73bb4ef22e7653231d3d576d17c9
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-05-24 00:48:33 +02:00
Sergio Pastor Pérez 21d2cd9759 gnu: rocm-hip-runtime: Fix incorrect 'HIP_PATH' location for `hipconfig'.
* gnu/packages/llvm.scm (rocm-hipcc): Adjust wrapper so 'HIP_PATH' can be
overriden.
[phases]: Adjust 'wrap-programs' phase for making wrapped binaries respect
HIP_PATH environment variable.

* gnu/packages/rocm.scm (rocm-hip-runtime): Re-wrap programs taken from
`rocm-hipcc' so their paths point to this package output.
[phases]: Add 'wrap-programs' phase to force 'HIP_PATH' to point to the
package output.

Fixes: #6821

Change-Id: I877b1f3b3dda1ebc00caf5ef1c729914efa6de94
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8181
2026-05-24 00:48:32 +02:00
Sughosha a9b47b02c6 gnu: Add go-github-com-dlasky-gotk3-layershell.
* gnu/packages/golang-graphics.scm (go-github-com-dlasky-gotk3-layershell): New
variable.

Relates-to: guix/guix!7644
Change-Id: I6387398811e77b9a959d5d6308eb36ec080f9438
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-23 22:35:15 +01:00
Sughosha 11b32fa198 gnu: Add go-github-com-gotk3-gotk3.
* gnu/packages/golang-graphics.scm (go-github-com-gotk3-gotk3): New variable.

Relates-to: guix/guix!7644
Change-Id: Ifdb19819e4f992ef61c2aae4782d310c83153f56
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-23 22:32:37 +01:00
Sughosha 0fbbd52cf5 gnu: Add go-github-com-joshuarubin-go-sway.
* gnu/packages/golang-xyz.scm (go-github-com-joshuarubin-go-sway): New
variable.

Relates-to: guix/guix!7644
Change-Id: I2bfcf6dd479d081b90af870098979e0664d7e9d5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-23 22:22:22 +01:00
Sughosha 0ca01b4d10 gnu: Add go-github-com-joshuarubin-lifecycle.
* gnu/packages/golang-xyz.scm (go-github-com-joshuarubin-lifecycle): New
variable.

Relates-to: guix/guix!7644
Change-Id: I6d6a8a9599ffed9fa549d2fe070ff09a5e8de62d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-23 22:19:37 +01:00
Sughosha 4c3bfd0f31 gnu: Add go-github-com-diamondburned-gotk4-layer-shell.
* gnu/packages/golang-graphics.scm
(go-github-com-diamondburned-gotk4-layer-shell): New variable.

Relates-to: guix/guix!7644
Change-Id: I49d5d8c1b61864c26a10a70080893763c4910f84
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-23 22:17:11 +01:00
Sughosha 84ab58d59b gnu: Add go-github-com-diamondburned-gotk4.
* gnu/packages/golang-graphics.scm: New module.
(go-github-com-diamondburned-gotk4): New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.

Relates-to: guix/guix!7644
Change-Id: I261d39418705762988f354ff004c1ce404a5f4d0
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-23 21:40:07 +01:00
Sughosha f6b376ee7b gnu: Add go-go4-org-unsafe-assume-no-moving-gc.
* gnu/packages/golang-xyz.scm (go-go4-org-unsafe-assume-no-moving-gc): New
variable.

Relates-to: guix/guix!7644
Change-Id: I440b655764ed23df02f312ac2ae62228512af2a6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-23 21:39:48 +01:00
Sughosha 8fc91df5b2 gnu: Add go-github-com-karpeleslab-weak.
* gnu/packages/golang-xyz.scm (go-github-com-karpeleslab-weak): New variable.

Relates-to: guix/guix!7644
Change-Id: I371baf34bd0b3505d8cafeec5de64373821d1aff
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-23 21:20:43 +01:00
Sughosha 81bd333fca gnu: Add go-github-com-allan-simon-go-singleinstance.
* gnu/packages/golang-xyz.scm (go-github-com-allan-simon-go-singleinstance):
New variable.

Relates-to: guix/guix!7644
Change-Id: Id1ea959860ad069b7000cb9dc767a93a6d6d867d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-23 21:20:34 +01:00
300 changed files with 22943 additions and 17594 deletions
+1
View File
@@ -341,6 +341,7 @@ guix/build-system/rakudo\.scm @guix/perl
guix/import/cpan\.scm @guix/perl
guix/scripts/import/cpan\.scm @guix/perl
gnu/packages/aux-files/python/.*\.py$ @guix/python
gnu/packages/django\.scm @guix/python
gnu/packages/jupyter\.scm @guix/python
gnu/packages/python(-.+|)\.scm$ @guix/python
+1
View File
@@ -488,6 +488,7 @@ AUX_FILES = \
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf \
gnu/packages/aux-files/ovmf/51-edk2-ovmf-2m-raw-x64-nosb.json \
gnu/packages/aux-files/pack-audit.c \
gnu/packages/aux-files/python/pytest_guix.py \
gnu/packages/aux-files/python/sanity-check.py \
gnu/packages/aux-files/python/sitecustomize.py \
gnu/packages/aux-files/renpy/renpy.in \
+1
View File
@@ -120,6 +120,7 @@ running 'guix-daemon $extra_options'" >&2
"@abs_top_builddir@/pre-inst-env" \
"@abs_top_builddir@/guix-daemon" \
$extra_options \
--allow-aslr \
--substitute-urls="$GUIX_BINARY_SUBSTITUTE_URL" &
daemon_pid=$!
+27
View File
@@ -618,6 +618,33 @@ enhance @code{scheme-mode} and Geiser. @xref{Introduction,,,
emacs-guix, Emacs-Guix Reference Manual}, to make sure you don't miss
out!
@unnumberedsubsubsec Submitting Pull Requests Following the AGit Workflow
@cindex AGit workflow, for pull requests (Emacs).
@url{https://codeberg.org/halvin/agitjo, Agitjo} is a helper to ease
AGit workflow based patch submission (@pxref{Submitting Patches}).
Install it with:
@example
guix install emacs-agitjo
@end example
Assuming your local checkout is on the branch containing the changes you
would like to submit for inclusion in the @code{master} branch, use
@command{M-x agitjo-push} then:
@itemize
@item
Set options like the title @option{-t} and the session identifier
@option{-s}.
@item
Invoke one of the push commands to execute a @command{git push} operation.
@end itemize
When creating a new pull request, a dedicated buffer will open for
drafting a description. The force-push option @option{-f} is enabled to
push changes to the existing pull request.
@unnumberedsubsubsec Taming Boilerplate with Templates
@cindex code snippets
+112 -7
View File
@@ -152,6 +152,7 @@ Copyright @copyright{} 2026 David Elsing@*
Copyright @copyright{} 2026 Nguyễn Gia Phong@*
Copyright @copyright{} 2026 Yarl Baudig@*
Copyright @copyright{} 2026 Joan Vilardaga Castro@*
Copyright @copyright{} 2026 Nemin@*
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -305,6 +306,7 @@ Package Management
Substitutes
* Official Substitute Servers:: One particular source of substitutes.
* Volunteer Run Mirrors:: Additional, regional sources of substitutes.
* Substitute Server Authorization:: How to enable or disable substitutes.
* Getting Substitutes from Other Servers:: Substitute diversity.
* Substitute Authentication:: How Guix verifies substitutes.
@@ -1779,6 +1781,21 @@ user namespaces is missing (@pxref{Build Environment Setup}). Use at
your own risk!
@end quotation
@cindex ASLR (address space layout randomization), for builds
@cindex address space layout randomization (ASLR), for builds
@cindex Docker, running @command{guix-daemon}
@cindex @command{guix-daemon}, running under Docker
@item --allow-aslr
Allow builds to start even if @acronym{ASLR, Address Space Layout
Randomization} cannot be disabled on Linux systems. This is normally
done so as to increase reproducibility, but some environments, such as
those affected by Docker's default seccomp policy, don't permit
disabling ASLR. Passing this option will allow builds to start with
reduced reproducibility regardless.
Note that passing this option doesn't ensure that ASLR is enabled, it
only allows builds to start even when disabling it is blocked.
@item --isolate-host-loopback
Prevent fixed-output chroot builds from accessing the host loopback.
When this is used, fixed-output builds will have their own loopback
@@ -3936,6 +3953,7 @@ also result from derivation builds, can be available as substitutes.
@menu
* Official Substitute Servers:: One particular source of substitutes.
* Volunteer Run Mirrors:: Additional, regional sources of substitutes.
* Substitute Server Authorization:: How to enable or disable substitutes.
* Getting Substitutes from Other Servers:: Substitute diversity.
* Substitute Authentication:: How Guix verifies substitutes.
@@ -3966,13 +3984,54 @@ could use the information gathered to determine, for instance, whether
your system has unpatched security vulnerabilities.
Substitutes from the official build farms are enabled by default when
using Guix System (@pxref{GNU Distribution}). However,
they are disabled by default when using Guix on a foreign distribution,
unless you have explicitly enabled them via one of the recommended
installation steps (@pxref{Installation}). The following paragraphs
describe how to enable or disable substitutes for the official build
farm; the same procedure can also be used to enable substitutes for any
other substitute server.
using Guix System (@pxref{GNU Distribution}). However, they are
disabled by default when using Guix on a foreign distribution, unless
you have explicitly enabled them via one of the recommended installation
steps (@pxref{Installation}). Please @pxref{Substitute Server
Authorization} on how to enable or disable substitutes for the official
build farm; the same procedure can also be used to enable substitutes
for any other substitute server.
@node Volunteer Run Mirrors
@subsection Volunteer Run Mirrors
@cindex substitutes
@cindex mirrors
Beyond the two official substitute servers, there are additionally
volunteer run mirrors. These mirrors do not build their own
substitutes, but rather copy them from the official build farm and
distribute them to users. Enabling a mirror may be beneficial in case
the official servers are temporarily unavailable or provide inadequate
bandwidth at the user's location.
@quotation Note
Mirrored substitutes are signed by the original builder, not the mirror.
This means that mirror operators @strong{cannot} add or modify binaries,
as long as you trust only the official substitute servers,
@pxref{Substitute Server Authorization}.
@end quotation
List of volunteer run mirrors, grouped by location (with the build farm
they mirror in parentheses):
@table @asis
@item Germany
@itemize
@item @code{https://hydra-guix-129.guix.gnu.org} (bordeaux.guix.gnu.org)
@end itemize
@item People's Republic of China
@itemize
@item @code{https://mirrors.sjtug.sjtu.edu.cn/guix} (ci.guix.gnu.org)
@item @code{https://mirrors.sjtug.sjtu.edu.cn/guix-bordeaux} (bordeaux.guix.gnu.org)
@end itemize
@item Russia
@itemize
@item @code{https://mirror.yandex.ru/mirrors/guix/} (bordeaux.guix.gnu.org)
@end itemize
@end table
To enable receiving substitutions from these mirrors, please @pxref{Getting
Substitutes from Other Servers}.
@node Substitute Server Authorization
@subsection Substitute Server Authorization
@@ -36234,6 +36293,10 @@ Launch the app as this group (it must be an existing group).
A list of sockets (as path strings) which gunicorn will be listening
on. This list must contain at least one socket.
@item @code{control-socket} (default: #f) (type: string)
If set, creates a gunicorn control-socket at the given path. Note that,
the control socket should refer to a path listed in @code{mappings}.
@item @code{socket-user} (default: @code{user}) (type: string)
Owner of the directory containing the socket (must be an existing user).
@@ -38069,6 +38132,21 @@ This is the type of the dnsmasq service, whose value should be a
(servers '("192.168.1.1"))))
@end lisp
The following example shows a slightly more complex configuration that
defines an authoritative DNS server on a given subdomain.
@lisp
(service dnsmasq-service-type
(dnsmasq-configuration
(listen-addresses '("10.1.1.1"))
(no-resolv? #t)
(no-hosts? #t)
(authoritative-servers '("vpn.example.com")) ;self
(authoritative-zones '("vpn.example.com"))
(host-records '("some-service.vpn.example.com,10.1.1.1"))))
@end lisp
For more examples, refer to @samp{man 8 dnsmasq.}
@code{dnsmasq-service-type} provides two actions:
@table @code
@@ -38158,12 +38236,33 @@ ie a subnet for which an interface exists on the server.
@item @code{listen-addresses} (default: @code{'()})
Listen on the given IP addresses.
@item @code{ipv4?} (default: @code{#t})
Whether to include A records in answers.
@item @code{ipv6?} (default: @code{#t})
Whether to include AAAA records in answers.
@item @code{resolv-file} (default: @code{"/etc/resolv.conf"})
The file to read the IP address of the upstream nameservers from.
@item @code{no-resolv?} (default: @code{#f})
When true, don't read @var{resolv-file}.
@item @code{authoritative-servers} (default: @code{'()})
A list of strings corresponding to valid @option{--auth-server} values,
such as a domain name. This is useful to make @command{dnsmasq}
authoritative for a given domain name or interface.
@item @code{authoritative-zones} (default: @code{'()})
A list of strings corresponding to valid @option{--auth-zone} values,
such as a domain name. This is useful to make @command{dnsmasq}
authoritative for a given domain name. Note that this must be used in
conjunction with the @code{authoritative-servers} option.
@item @code{host-records} (default: @code{'()})
A list of strings corresponding to valid @option{--host-record} values,
for example @code{'("some-service.example.com,10.1.1.1")}.
@item @code{forward-private-reverse-lookup?} (default: @code{#t})
When false, all reverse lookups for private IP ranges are answered with
"no such domain" rather than being forwarded upstream.
@@ -38172,6 +38271,12 @@ When false, all reverse lookups for private IP ranges are answered with
When true, dnsmasq queries the servers in the same order as they appear
in @var{servers}.
@item @code{locals} (default: @code{'()})
Specify domain name @emph{patterns} which should be treated as local,
that is, for which there should be no delegation to upstream servers.
Provided pattern values should be of the form
@code{'("/vpn.example.com/")}.
@item @code{servers} (default: @code{'()})
Specify IP address of upstream servers directly.
+3 -2
View File
@@ -984,7 +984,8 @@ perl-build-system as well as the rakudo-build-system."
#:description
"Python, Python packages, the \"pypi\" importer, and the python-build-system."
#:scope
(list "gnu/packages/django.scm"
(list (make-regexp* "^gnu/packages/aux-files/python/.*\\.py$")
"gnu/packages/django.scm"
"gnu/packages/jupyter.scm"
(make-regexp* "^gnu/packages/python(-.+|)\\.scm$")
"gnu/packages/sphinx.scm"
@@ -1576,7 +1577,7 @@ the \"texlive\" importer."
(define-member (person "Nguyễn Gia Phong"
"cnx@loang.net"
"cnx")
build-tools python qa-packages sysadmin vcs)
build-tools lua qa-packages sysadmin vcs)
(define-member (person "Lilah Tascheter"
"lilah@lunabee.space"
+10 -1
View File
@@ -173,7 +173,16 @@ SYSTEM."
(define (core-packages system)
"Return the 'core' package set suitable for SYSTEM, which might be a system
type or a GNU triplet."
(cond ((target-linux? system) (append %core-packages %linux-packages))
(cond ((target-linux? system)
(append %core-packages
%linux-packages
(cond ((target-arm32? system)
(list linux-libre-arm-generic))
((target-aarch64? system)
(list linux-libre-arm64-generic))
((target-riscv64? system)
(list linux-libre-riscv64-generic))
(else '()))))
((target-hurd? system) (append %core-packages %hurd-packages))
((target-mingw? system) %core-packages-for-mingw)
(else '())))
+12 -10
View File
@@ -125,16 +125,18 @@ entry will be expired even if it has been accessed recently.")
(requirement shepherd-requirement)
(modules '((shepherd support))) ;for '%user-runtime-dir'
(start
#~(make-systemd-constructor
(list #$(file-append gnupg "/bin/gpg-agent")
"--supervised" "--enable-ssh-support")
(list #$(endpoint "ssh" "S.gpg-agent.ssh")
#$(endpoint "browser" "S.gpg-agent.browser")
#$(endpoint "extra" "S.gpg-agent.extra")
;; #$(endpoint "scdaemon" "S.scdaemon")
#$(endpoint "std" "S.gpg-agent"))
;; Inherit graphical session environment.
#:environment-variables (environ)))
#~(lambda args
((make-systemd-constructor
(list #$(file-append gnupg "/bin/gpg-agent")
"--supervised" "--enable-ssh-support")
(list #$(endpoint "ssh" "S.gpg-agent.ssh")
#$(endpoint "browser" "S.gpg-agent.browser")
#$(endpoint "extra" "S.gpg-agent.extra")
;; #$(endpoint "scdaemon" "S.scdaemon")
#$(endpoint "std" "S.gpg-agent"))
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-systemd-destructor))
(documentation "Start 'gpg-agent', the GnuPG passphrase
agent, with support for handling OpenSSH material."))))
+21 -12
View File
@@ -76,6 +76,7 @@
# Copyright © 2025 Nigko Yerden <nigko.yerden@gmail.com>
# Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
# Copyright © 2025 bdunahu <bdunahu@operationnull.com>
# Copyright © 2026 Simen Endsjø <contact@simendsjo.me>
#
# This file is part of GNU Guix.
#
@@ -343,6 +344,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/golang-check.scm \
%D%/packages/golang-compression.scm \
%D%/packages/golang-crypto.scm \
%D%/packages/golang-graphics.scm \
%D%/packages/golang-maths.scm \
%D%/packages/golang-vcs.scm \
%D%/packages/golang-web.scm \
@@ -999,10 +1001,12 @@ dist_patch_DATA = \
%D%/packages/patches/agg-am_c_prototype.patch \
%D%/packages/patches/agg-2.5-gcc8.patch \
%D%/packages/patches/akonadi-paths.patch \
%D%/packages/patches/akonadi-not-relocatable.patch \
%D%/packages/patches/akonadi-timestamps.patch \
%D%/packages/patches/alure-dumb-2.patch \
%D%/packages/patches/amd-smi-newer-libdrm.patch \
%D%/packages/patches/amd-smi-python.patch \
%D%/packages/patches/angband-remove-nonfree-tile-options.patch \
%D%/packages/patches/ibus-anthy-fix-tests.patch \
%D%/packages/patches/ibus-table-paths.patch \
%D%/packages/patches/antiword-CVE-2014-8123.patch \
@@ -1019,6 +1023,7 @@ dist_patch_DATA = \
%D%/packages/patches/ath9k-htc-firmware-gcc.patch \
%D%/packages/patches/ath9k-htc-firmware-gcc-compat.patch \
%D%/packages/patches/atlas-gfortran-compat.patch \
%D%/packages/patches/aubio-waflib-python312-compat.patch \
%D%/packages/patches/audacity-ffmpeg-fallback.patch \
%D%/packages/patches/audiofile-fix-datatypes-in-tests.patch \
%D%/packages/patches/audiofile-fix-sign-conversion.patch \
@@ -1101,7 +1106,6 @@ dist_patch_DATA = \
%D%/packages/patches/cdparanoia-fpic.patch \
%D%/packages/patches/cdrkit-libre-cross-compile.patch \
%D%/packages/patches/cdrtools-3.01-mkisofs-isoinfo.patch \
%D%/packages/patches/ceph-fix-cmake.patch \
%D%/packages/patches/cf-tool-add-languages.patch \
%D%/packages/patches/chmlib-inttypes.patch \
%D%/packages/patches/cl-ana-pr-49.patch \
@@ -1134,11 +1138,8 @@ dist_patch_DATA = \
%D%/packages/patches/clog-fix-shared-build.patch \
%D%/packages/patches/clucene-gcc-14.patch \
%D%/packages/patches/clucene-pkgconfig.patch \
%D%/packages/patches/coda-use-system-libs.patch \
%D%/packages/patches/codex-acp-0.11.1-disable-code-mode.patch \
%D%/packages/patches/codex-acp-0.11.1-remove-patch-sections.patch \
%D%/packages/patches/codex-0.98.0-remove-patch-sections.patch \
%D%/packages/patches/rust-codex-0.117.0-remove-patch-sections.patch \
%D%/packages/patches/cogl-fix-double-free.patch \
%D%/packages/patches/collada-dom-boost.patch \
%D%/packages/patches/collectd-5.11.0-noinstallvar.patch \
@@ -1189,6 +1190,7 @@ dist_patch_DATA = \
%D%/packages/patches/date-output-pkg-config-files.patch \
%D%/packages/patches/dbacl-include-locale.h.patch \
%D%/packages/patches/dbacl-icheck-multiple-definitions.patch \
%D%/packages/patches/dblatex-importlib.patch \
%D%/packages/patches/dblatex-inkscape-1.0.patch \
%D%/packages/patches/dbus-helper-search-path.patch \
%D%/packages/patches/ddd-build.patch \
@@ -1507,6 +1509,7 @@ dist_patch_DATA = \
%D%/packages/patches/glibc-reinstate-prlimit64-fallback.patch \
%D%/packages/patches/glibc-supported-locales.patch \
%D%/packages/patches/glibc-versioned-locpath.patch \
%D%/packages/patches/glog-windows-h-nonwindows.patch \
%D%/packages/patches/glycin-sandbox-Adapt-bwrap-invocation.patch \
%D%/packages/patches/gmime-disable-tests.patch \
%D%/packages/patches/gmp-arm-asm-nothumb.patch \
@@ -1524,6 +1527,7 @@ dist_patch_DATA = \
%D%/packages/patches/gnumach-version.patch \
%D%/packages/patches/gnupg-default-pinentry.patch \
%D%/packages/patches/gnupg-1-build-with-gcc10.patch \
%D%/packages/patches/gnutls-no-which.patch \
%D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \
%D%/packages/patches/gobject-introspection-cc.patch \
%D%/packages/patches/gobject-introspection-girepository.patch \
@@ -1581,7 +1585,9 @@ dist_patch_DATA = \
%D%/packages/patches/gtk3-respect-GUIX_GTK3_PATH.patch \
%D%/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch \
%D%/packages/patches/gtk-doc-respect-xml-catalog.patch \
%D%/packages/patches/gtk-doc-mkhtml-test-fix.patch \
%D%/packages/patches/gtk-doc-mkhtml-test-fix.patch \
%D%/packages/patches/gtk4-demo-reproducible.patch \
%D%/packages/patches/gtk4-needs-udmabuf.patch \
%D%/packages/patches/gtk4-respect-GUIX_GTK4_PATH.patch \
%D%/packages/patches/gtkglext-disable-disable-deprecated.patch \
%D%/packages/patches/gtksourceview-2-add-default-directory.patch \
@@ -1875,6 +1881,7 @@ dist_patch_DATA = \
%D%/packages/patches/lua-5.4-pkgconfig.patch \
%D%/packages/patches/lua-5.4-liblua-so.patch \
%D%/packages/patches/lua-5.4-search-paths.patch \
%D%/packages/patches/lua-5.5-search-paths.patch \
%D%/packages/patches/lua-5.x-search-path-helpers.patch \
%D%/packages/patches/lua-lgi-fix-pango.patch \
%D%/packages/patches/lua-lgi-fix-ref.patch \
@@ -2104,11 +2111,13 @@ dist_patch_DATA = \
%D%/packages/patches/python-3.11-fix-tests.patch \
%D%/packages/patches/python-3.12-fix-tests.patch \
%D%/packages/patches/python-anyio-unuse-exceptiongroup-in-test.patch \
%D%/packages/patches/python-beangulp-click-8.2-compat.patch \
%D%/packages/patches/python-bed-reader-use-store-samples.patch \
%D%/packages/patches/python-chai-drop-python2.patch \
%D%/packages/patches/python-clarabel-blas.patch \
%D%/packages/patches/python-daemon-relax-lockfile.patch \
%D%/packages/patches/python-docrepr-fix-tests.patch \
%D%/packages/patches/python-gpg-setup-72.patch \
%D%/packages/patches/python-hdmedians-replace-nose.patch \
%D%/packages/patches/python-jinja2-fragments-modify-conftest-py.patch \
%D%/packages/patches/python-louvain-fix-test.patch \
@@ -2125,16 +2134,20 @@ dist_patch_DATA = \
%D%/packages/patches/python-pyreadstat-link-libiconv.patch \
%D%/packages/patches/python-sip-include-dirs.patch \
%D%/packages/patches/python-scikit-build-setuptools-compat.patch \
%D%/packages/patches/python-scikit-image-fix-python-pillow.patch \
%D%/packages/patches/python-sgmllib3k-assertions.patch \
%D%/packages/patches/python-sphobjinv-defer-ssl-import.patch \
%D%/packages/patches/python-sphinx-prompt-docutils-0.19.patch \
%D%/packages/patches/python-sshtunnel-pep518.patch \
%D%/packages/patches/python-zeroc-ice-3.6.5-python-3.11-support.patch \
%D%/packages/patches/python-zeroc-ice-3.6.5-python-3.12-support.patch \
%D%/packages/patches/python-zipfile2-python-3.12-support.patch \
%D%/packages/patches/qcodeeditor-qt6.patch \
%D%/packages/patches/qtdeclarative-5-disable-qmlcache.patch \
%D%/packages/patches/qtdeclarative-disable-qmlcache.patch \
%D%/packages/patches/qtlocation-5.15.8-mapboxgl-gcc13.patch \
%D%/packages/patches/qtwebengine-revert-egl.patch \
%D%/packages/patches/qtwebengine5-python312-six-compat.patch \
%D%/packages/patches/quodlibet-disable-bundled-packages.patch \
%D%/packages/patches/qxlsx-fix-include-directory.patch \
%D%/packages/patches/schiffbruch-fix-build-for-gcc-13.patch \
@@ -2244,6 +2257,7 @@ dist_patch_DATA = \
%D%/packages/patches/python-piexif-fix-tests-with-pillow-7.2.patch \
%D%/packages/patches/python-pillow-CVE-2022-45199.patch \
%D%/packages/patches/python-libxml2-utf8.patch \
%D%/packages/patches/python-lsp-server-python-3.13-compatibility.patch \
%D%/packages/patches/python-memcached-syntax-warnings.patch \
%D%/packages/patches/python-mslice-matplotlib-3.6-compatibility.patch \
%D%/packages/patches/python-packaging-test-arch.patch \
@@ -2259,6 +2273,7 @@ dist_patch_DATA = \
%D%/packages/patches/python-pytorch-system-libraries.patch \
%D%/packages/patches/python-pytorch-without-kineto.patch \
%D%/packages/patches/python-robotframework-sshlibrary-rf5-compat.patch \
%D%/packages/patches/python-py-ubjson-recursion-test.patch \
%D%/packages/patches/python-vaex-core-fix-tsl-use.patch \
%D%/packages/patches/python-vega-datasets-remove-la-riots-code.patch \
%D%/packages/patches/python-versioneer-guix-support.patch \
@@ -2403,13 +2418,8 @@ dist_patch_DATA = \
%D%/packages/patches/rust-1.78-unwinding-fix.patch \
%D%/packages/patches/rust-1.81-fix-riscv64-bootstrap.patch \
%D%/packages/patches/rust-candle-0.9.1-add-candle-onnx-to-workspace.patch \
%D%/packages/patches/rust-codex-0.98.0-core-remove-self-dep.patch \
%D%/packages/patches/rust-codex-0.98.0-test-shebangs.patch \
%D%/packages/patches/rust-codex-0.98.0-test-timeout.patch \
%D%/packages/patches/rust-codex-0.98.0-windows-sandbox-protocol-version.patch \
%D%/packages/patches/rust-codex-0.117.0-core-remove-self-dep.patch \
%D%/packages/patches/rust-codex-0.120.0-core-remove-self-dep.patch \
%D%/packages/patches/rust-codex-0.120.0-connectors-cache-test-race.patch \
%D%/packages/patches/rust-codex-0.120.0-remove-libwebrtc.patch \
%D%/packages/patches/rust-codex-0.120.0-test-timeout.patch \
%D%/packages/patches/rust-codex-0.124.0-code-mode-stub-toolname.patch \
@@ -2424,7 +2434,6 @@ dist_patch_DATA = \
%D%/packages/patches/sajson-build-with-gcc10.patch \
%D%/packages/patches/sane-look-for-plugins-in-SANE_BACKEND_LIB_PATH.patch \
%D%/packages/patches/sbc-fix-build-non-x86.patch \
%D%/packages/patches/sbcl-fix-arm64-shared-lib.patch \
%D%/packages/patches/sbcl-aserve-add-HTML-5-elements.patch \
%D%/packages/patches/sbcl-aserve-fix-rfe12668.patch \
%D%/packages/patches/sbcl-burgled-batteries3-fix-signals.patch \
@@ -2519,7 +2528,6 @@ dist_patch_DATA = \
%D%/packages/patches/texmacs-wayland-hidpi.patch \
%D%/packages/patches/tflite-micro_disable_download.patch \
%D%/packages/patches/thefuck-test-environ.patch \
%D%/packages/patches/thefuck-remove-broken-tests.patch \
%D%/packages/patches/tidy-CVE-2015-5522+5523.patch \
%D%/packages/patches/timewarrior-time-sensitive-tests.patch \
%D%/packages/patches/tinydir-fix-cbehave-test.patch \
@@ -2535,6 +2543,7 @@ dist_patch_DATA = \
%D%/packages/patches/transcode-ffmpeg.patch \
%D%/packages/patches/trytond-add-guix_trytond_path.patch \
%D%/packages/patches/ttf2eot-cstddef.patch \
%D%/packages/patches/tuir-python-3.12-support.patch \
%D%/packages/patches/tuxpaint-stamps-path.patch \
%D%/packages/patches/tvm_fix_cpptest_build.patch \
%D%/packages/patches/twinkle-bcg729.patch \
+4 -1
View File
@@ -51,6 +51,7 @@
#:use-module (gnu packages libusb)
#:use-module (gnu packages java)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages tcl)
#:use-module (gnu packages xml)
@@ -185,7 +186,9 @@ terminals.")
(native-inputs
(append
(list clisp
python-cython-0 ;; See https://bugzilla.redhat.com/show_bug.cgi?id=2231865
;; See: <https://bugzilla.redhat.com/show_bug.cgi?id=2231865>.
python-cython-0
python-setuptools ;remove with next update
doxygen
gettext-minimal)
;; icedtea doesn't build reliably on all architectures.
-1
View File
@@ -37,7 +37,6 @@
#:use-module (gnu packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix utils))
(define-public acl
+74 -55
View File
@@ -109,7 +109,6 @@
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system qt)
#:use-module (guix build-system ruby)
@@ -744,7 +743,7 @@ manager.")
(define-public swineherd
(package
(name "swineherd")
(version "0.0.4")
(version "0.0.5")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -753,7 +752,7 @@ manager.")
(file-name (git-file-name name version))
(sha256
(base32
"0iij1pl0y410k1dk1ifa56dxmjb1blv0y3k5rxy794gwg6w6c480"))))
"1w3fvkdmqvbzqfx3xindm8qgam54wja46isgwasaiqmmhnla7p52"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--localstatedir=/var")
@@ -767,7 +766,7 @@ manager.")
guile-netlink
guile-3.0
guix
shepherd-0.10))
shepherd-1.0))
(home-page "https://github.com/BIMSBbioinfo/swineherd")
(synopsis "System container manager")
(description
@@ -1085,7 +1084,7 @@ console.")
(define-public btop
(package
(name "btop")
(version "1.4.6")
(version "1.4.7")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1094,7 +1093,7 @@ console.")
(file-name (git-file-name name version))
(sha256
(base32
"1nj58dbv3c0rj8fngldkyrmdmacmjnbg8ch1c07ik97kqnnzd3l7"))))
"0d3cr5l6gpcwhxgnrizny5b5kg6fys2hy9a58bc68w4n2hc040fy"))))
(build-system gnu-build-system)
(native-inputs (list lowdown))
(arguments
@@ -3406,7 +3405,7 @@ provides the following commands:
;; variable in the tests/import/cpan.scm test.
(list (search-path-specification
(variable "GUIX_PYTHONPATH")
(files (list "lib/python3.11/site-packages")))))
(files (list "lib/python3.12/site-packages")))))
(home-page "https://www.ansible.com/")
(synopsis "Radically simple IT automation")
(description "Ansible aims to be a radically simple IT automation system.
@@ -3424,7 +3423,7 @@ modules and plugins that extend Ansible.")
(define-public debops
(package
(name "debops")
(version "3.2.5")
(version "3.3.0")
(source
(origin
(method git-fetch)
@@ -3433,7 +3432,7 @@ modules and plugins that extend Ansible.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "15wfhha2b315i15l40j3sylyvs3mdrfw5awzq4cix51l5jppx8z5"))
(base32 "0z6wck5kax5h2bjv1vw8pbd7fdcdhx87bj9fakh3h0rar9d2qksj"))
(patches
(search-patches "debops-setup-py-avoid-git.patch"))))
(build-system pyproject-build-system)
@@ -3455,8 +3454,8 @@ modules and plugins that extend Ansible.")
python-future
python-gitpython
python-jinja2
python-pyyaml
python-pyxdg
python-pyyaml
python-toml))
(arguments
(list
@@ -3471,7 +3470,7 @@ modules and plugins that extend Ansible.")
`("PATH" ":" prefix
,(map dirname
(map (cut search-input-file inputs <>)
(list "bin/ansible"
(list ;; "bin/ansible" ;see above
"bin/gpg"
"bin/git"
"bin/git-crypt"
@@ -3927,6 +3926,18 @@ rules is done with the @code{auditctl} utility.")
(wrap-program (string-append ndiff "/bin/ndiff")
`("GUIX_PYTHONPATH" prefix
(,(python-path ndiff)))))))
(add-before 'check 'fix-tests-for-python-3.12
(lambda _
(substitute* "ndiff/ndifftest.py"
(("import imp")
"import importlib.util")
(("ndiff = imp\\.load_source\\(\"ndiff\", \"ndiff\\.py\"\\)")
(string-join
'("spec = \
importlib.util.spec_from_file_location(\"ndiff\", \"ndiff.py\")"
"ndiff = importlib.util.module_from_spec(spec)"
"spec.loader.exec_module(ndiff)")
"\n")))))
;; These are the tests that do not require network access.
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
@@ -4056,51 +4067,59 @@ plug-in architecture to allow monitoring other system metrics.")
(license license:gpl2+)))
(define-public thefuck
(package
(name "thefuck")
(version "3.32")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nvbn/thefuck")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "18ipa1bm6q1n5drbi8i65726hhqhl1g41390lfqrc11hkbvv443d"))
(patches (search-patches "thefuck-test-environ.patch"
"thefuck-remove-broken-tests.patch"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
;; Tests look for installed package
;; Some tests need write access to $HOME.
(setenv "HOME" "/tmp")
;; Even with that, this function tries to mkdir /.config.
(substitute* "tests/test_utils.py"
(("settings\\.init\\(\\)") "")))))))
(native-inputs
(list go
python-mock
python-pytest-8
python-pytest-mock
python-setuptools
python-wheel))
(inputs
(list python-colorama
python-decorator
python-psutil
python-pyte))
(home-page "https://github.com/nvbn/thefuck")
(synopsis "Correct mistyped console command")
(description
"The Fuck tries to match a rule for a previous, mistyped command, creates
;; Latest release, 3.32, is not compatible with Python 3.12.
(let ((revision "0")
(commit "c7e7e1d884d3bb241ea6448f72a989434c2a35ec"))
(package
(name "thefuck")
(version (git-version "3.32" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nvbn/thefuck")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1l3i2cpdf3vznpbzqw7b18l23xikqs7andx6yzqvm5415snaqg06"))
(patches (search-patches "thefuck-test-environ.patch"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list
"--deselect=tests/test_utils.py::TestGetValidHistoryWithoutCurrent"
"--ignore=tests/functional/conftest.py")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
;; ModuleNotFoundError: No module named 'pytest_docker_pexpect'
(delete-file "tests/functional/conftest.py")
;; Tests look for installed package
;; Some tests need write access to $HOME.
(setenv "HOME" "/tmp")
;; Even with that, this function tries to mkdir /.config.
(substitute* "tests/test_utils.py"
(("settings\\.init\\(\\)") "")))))))
(native-inputs
(list go
python-mock
;; Uses test markers that are incompatible with pytest 9.
python-pytest-8
python-pytest-mock
python-setuptools))
(inputs
(list python-colorama
python-decorator
python-psutil
python-pyte))
(home-page "https://github.com/nvbn/thefuck")
(synopsis "Correct mistyped console command")
(description
"The Fuck tries to match a rule for a previous, mistyped command, creates
a new command using the matched rule, and runs it.")
(license license:x11)))
(license license:x11))))
(define-public di
(package
+2 -2
View File
@@ -117,7 +117,7 @@ Features:
(define-public python-zbarlight
(package
(name "python-zbarlight")
(version "3.0")
(version "4.0")
(source
(origin
(method git-fetch)
@@ -126,7 +126,7 @@ Features:
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1radfpfhfhkx3xnz01bqr5l9pl2zv70zis6l2kw1gwqbfw65r6w6"))))
(base32 "1q1nfc7g7bl9y63fwvnq1fcgqk79inc2hhw3ilvyw0nk0g74v8cm"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-pillow))
(inputs (list zbar))
-1
View File
@@ -88,7 +88,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject)
#:use-module ((guix build-system python) #:select (pypi-uri))
#:use-module (guix build-system r)
#:use-module (guix download)
#:use-module (guix gexp)
-1
View File
@@ -41,7 +41,6 @@
#:use-module (guix build-system emacs)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system qt)
#:use-module (guix build-system trivial)
+1 -1
View File
@@ -180,7 +180,7 @@ supported by Canonical since 2009.")
(list libapparmor))
;; Python module `readline' needed
(native-inputs
(list bison flex gettext-minimal perl python which))
(list bison flex gettext-minimal perl python python-setuptools which))
(license license:gpl2))))
(define-public pam-apparmor
+19 -26
View File
@@ -37,7 +37,6 @@
(define-module (gnu packages astronomy)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix build-system python) #:select (pypi-uri)) ;to be removed soon
#:use-module (guix build-system ant)
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
@@ -1992,12 +1991,22 @@ model-fitting photometry or morphological analyses.")
(sha256
(base32 "156y3zp0nm77976rwsxjjdh7yvggas8s6m0nm523khvn4lq8f9n0"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; Assertion errors:
;;
;; You are lazy loading attributes via 'bibtex', and so are making
;; multiple calls to the API. This will impact your overall rate
;; limits. bibtex should be queried with ads.ExportQuery(); You will hit
;; API ratelimits very quickly otherwise.
#~(list (string-append "--deselect=ads/tests/test_search.py"
"::TestArticle::test_get_field_bibtex"))))
(native-inputs
(list nss-certs-for-test
python-httpretty
python-pytest
python-setuptools
python-wheel))
python-setuptools))
(propagated-inputs
(list python-mock
python-requests
@@ -3853,10 +3862,6 @@ find,download, and read the data files.")
#~(list "-m" "not remote_data")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-pytest-config
(lambda _
(substitute* "pyproject.toml"
((" --cov=cdflib --cov-report=xml") ""))))
(add-before 'check 'set-HOME
(lambda _
(setenv "HOME" "/tmp"))))))
@@ -4658,7 +4663,6 @@ Cesium.")
(native-inputs
(list python-pydot
python-pytest
python-pytest-cov
python-pytest-asdf-plugin
python-pytest-doctestplus
python-pytest-filter-subpackage
@@ -5183,7 +5187,6 @@ files.")
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-pytest-cov
python-setuptools
python-setuptools-scm
python-wheel))
@@ -5778,7 +5781,6 @@ across many files.")
(list python-mock
python-objgraph
python-pytest
python-pytest-cov
;; python-pytest-faulthandler
python-setuptools
python-wheel
@@ -6625,19 +6627,6 @@ files.")
(string-append
"from astropy.units.core import Unit, UnitBase\n"
"from astropy.units.errors import UnitTypeError\n")))))
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
;; RuntimeError: Unable to detect version control
;; system. Checked: Git. Not installed: Mercurial, Darcs,
;; Subversion, Bazaar, Fossil, Pijul. See
;; <https://github.com/blacklanternsecurity/bbot/issues/1257>.
(("enable = true") "enable = false"))))
(add-before 'build 'set-version
(lambda _
;; TODO: Include in pyproject-build-system.
(setenv "POETRY_DYNAMIC_VERSIONING_BYPASS"
#$(version-major+minor+point version))))
(add-before 'check 'prepare-test-environment
(lambda _
(setenv "HOME" "/tmp"))))))
@@ -6695,7 +6684,7 @@ astronomical tables
(build-system pyproject-build-system)
(arguments
(list
;; tests: 1509 passed, 55331 warnings
;; tests: 1508 passed, 43621 warnings
#:test-flags
#~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
;; TypeError: SparseSolverBase.__init__() got an unexpected
@@ -6712,7 +6701,12 @@ astronomical tables
(string-append "--deselect=test/test_Sampling/test_Likelihoods/"
"test_position_likelihood.py"
"::TestPositionLikelihood"
"::test_multiplane_position_likelihood"))
"::test_multiplane_position_likelihood")
;; XXX: AttributeError: 'FileFinder' object has no attribute
;; 'find_module'.
;; See: <https://github.com/lenstronomy/lenstronomy/issues/845>.
(string-append "--deselect=test/test_Util/test_package_util.py"
"::test_short_and_laconic"))
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
@@ -11669,7 +11663,6 @@ for dealing with particle data and a few related utility functions.")
(build-system pyproject-build-system)
(propagated-inputs (list python-numpy python-scipy))
(native-inputs (list python-pytest
python-pytest-cov
python-pytest-doctestplus
python-setuptools-scm
python-wheel))
+73 -82
View File
@@ -137,7 +137,6 @@
#:use-module (gnu packages music)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages ninja)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages oneapi)
#:use-module (gnu packages perl)
@@ -146,6 +145,7 @@
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
@@ -181,7 +181,6 @@
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system qt)
#:use-module (guix build-system trivial)
@@ -821,7 +820,8 @@ Filter) modules follow the convention of 1V / Octave.")
"https://aubio.org/pub/aubio-" version ".tar.bz2"))
(sha256
(base32
"1npks71ljc48w6858l9bq30kaf5nph8z0v61jkfb70xb9np850nl"))))
"1npks71ljc48w6858l9bq30kaf5nph8z0v61jkfb70xb9np850nl"))
(patches (search-patches "aubio-waflib-python312-compat.patch"))))
(build-system waf-build-system)
(arguments
(list
@@ -3279,30 +3279,27 @@ synchronous execution of all clients, and low latency operation.")
(package
(inherit jack-1)
(name "jack2")
(version "1.9.21")
;; 1.9.22 does not compile with Python 3.12, use the latest commit instead.
(properties '((commit . "17959465a722225a36a8b612aed26764036f258e")
(revision . "0")))
(version (git-version "1.9.22"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jackaudio/jack2")
(commit (string-append "v" version))))
(url "https://github.com/jackaudio/jack2")
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32
"0sbrffmdbajvrk7iqvsvrnwnpvmicvbjyq3f52r6ashdsznsz03b"))))
"18dbjq9y8mcp27j9aaqdlg4976hrisr7b88lk84ck09gmzlwqalp"))))
(build-system waf-build-system)
(arguments
`(#:tests? #f ; no check target
#:configure-flags '("--dbus" "--alsa")
#:phases
(modify-phases %standard-phases
;; Python 3.11 has removed the 'U' (universal newline) mode. It has
;; been the default since Python 3.3.
(add-after 'unpack 'python-compatibility
(lambda _
(substitute* '("waflib/Context.py"
"waflib/ConfigSet.py")
(("m='rU'") "m='r'")
(("read\\('rU'") "read('r'"))))
(add-before 'configure 'set-linkflags
(lambda _
;; Ensure -lstdc++ is the tail of LDFLAGS or the simdtests.cpp
@@ -3328,7 +3325,7 @@ synchronous execution of all clients, and low latency operation.")
expat
libsamplerate
opus
python-dbus-1.2
python-dbus
readline))
(native-inputs
(list pkg-config))
@@ -4206,9 +4203,7 @@ one-dimensional sample-rate conversion library.")
(string-append "'" #$(this-package-input "libsndfile")
"/lib/libsndfile"))))))))
(native-inputs
(list python-pytest
python-pytest-cov
python-setuptools))
(list python-pytest python-setuptools))
(inputs
(list libsndfile
portaudio))
@@ -7986,60 +7981,59 @@ Rate} 3600x2250 bit/s vocoder used in various radio systems.")
(delete-file-recursively "third_party")
(delete-file-recursively "modules")))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags
#~(list "-DLINK_BUILD_QT_EXAMPLES=ON"
"-DLINK_BUILD_JACK=ON")
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs tests? #:allow-other-keys)
(when tests?
(let* ((python (search-input-file inputs "/bin/python3"))
(run-tests "../source/ci/run-tests.py"))
(invoke python run-tests "--target" "LinkCoreTest")
(invoke python run-tests "--target" "LinkDiscoveryTest")))))
(add-before 'install 'patch-cmake
(lambda* (#:key inputs #:allow-other-keys)
(let* ((source "../source/"))
(substitute* (string-append source
"cmake_include/AsioStandaloneConfig.cmake")
(((string-append "\\$\\{CMAKE_CURRENT_LIST_DIR\\}/\\.\\./"
"modules/asio-standalone/asio/include"))
(dirname (search-input-file inputs "include/asio.hpp"))))
(substitute* (string-append source "AbletonLinkConfig.cmake")
(("\\$\\{CMAKE_CURRENT_LIST_DIR\\}/include")
"${CMAKE_CURRENT_LIST_DIR}/../../../include")
(("\\$\\{CMAKE_CURRENT_LIST_DIR\\}/include/ableton/Link\\.hpp")
"${CMAKE_CURRENT_LIST_DIR}/../../../include/ableton/Link.hpp")))))
(replace 'install
(lambda _
(let* ((out #$output)
(lib-cmake (string-append out "/lib/cmake/ableton-link"))
(source "../source"))
(for-each delete-file
'("bin/LinkDiscoveryTest" "bin/LinkCoreTest"))
(copy-recursively "bin" (string-append out "/bin"))
(copy-recursively (string-append source "/include/ableton")
(string-append out "/include/ableton"))
(install-file (string-append source "/AbletonLinkConfig.cmake")
lib-cmake)
(install-file (string-append source
"/cmake_include/AsioStandaloneConfig.cmake")
(string-append lib-cmake "/cmake_include"))))))))
(native-inputs
(list catch-framework
python ;for running tests
portaudio)) ;for portaudio examples
portaudio ;for portaudio examples
python ;for running tests
python-setuptools)) ;for running tests
(inputs
(list jack-1)) ;for JACK examples
(propagated-inputs
;; This is because include/ableton/platforms/asio/AsioWrapper.hpp
;; contains '#include <asio.hpp>'.
(list asio-1.28))
(arguments
`(#:configure-flags
'("-DLINK_BUILD_QT_EXAMPLES=ON"
"-DLINK_BUILD_JACK=ON")
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs tests? #:allow-other-keys)
(when tests?
(let* ((python (search-input-file inputs "/bin/python3"))
(run-tests "../source/ci/run-tests.py"))
(invoke python run-tests "--target" "LinkCoreTest")
(invoke python run-tests "--target" "LinkDiscoveryTest")))))
(add-before 'install 'patch-cmake
(lambda* (#:key inputs #:allow-other-keys)
(let* ((source "../source/"))
(substitute* (string-append source
"cmake_include/AsioStandaloneConfig.cmake")
(((string-append "\\$\\{CMAKE_CURRENT_LIST_DIR\\}/\\.\\./"
"modules/asio-standalone/asio/include"))
(string-append (assoc-ref inputs "asio")
"/include")))
(substitute* (string-append source "AbletonLinkConfig.cmake")
(("\\$\\{CMAKE_CURRENT_LIST_DIR\\}/include")
"${CMAKE_CURRENT_LIST_DIR}/../../../include")
(("\\$\\{CMAKE_CURRENT_LIST_DIR\\}/include/ableton/Link\\.hpp")
"${CMAKE_CURRENT_LIST_DIR}/../../../include/ableton/Link.hpp")))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(lib-cmake (string-append out "/lib/cmake/ableton-link"))
(source "../source"))
(for-each (lambda (test-file)
(delete-file test-file))
'("bin/LinkDiscoveryTest" "bin/LinkCoreTest"))
(copy-recursively "bin" bin)
(copy-recursively (string-append source "/include/ableton")
(string-append out "/include/ableton"))
(install-file (string-append source "/AbletonLinkConfig.cmake")
lib-cmake)
(install-file (string-append source
"/cmake_include/AsioStandaloneConfig.cmake")
(string-append lib-cmake "/cmake_include"))))))))
(home-page "https://github.com/Ableton/link")
(synopsis "Synchronize musical beat, tempo, and phase across multiple applications")
(description
@@ -8235,7 +8229,7 @@ as sample rate, determining whether an audio file is silent, and much more.")
(propagated-inputs
(list python-numba python-numpy python-scipy python-six))
(native-inputs
(list python-pytest python-pytest-cov python-setuptools python-wheel))
(list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/bmcfee/resampy")
(synopsis "Efficient signal resampling")
(description
@@ -8253,10 +8247,10 @@ Home Page}.")
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/librosa/librosa/")
(commit version)
;; For test files.
(recursive? #true)))
(url "https://github.com/librosa/librosa/")
(commit version)
;; TODO: Package test data.
(recursive? #true)))
(file-name (git-file-name name version))
(sha256
(base32 "065x43hx670rjrclxi4hiqxscllb16v9s7myjvg7rd5pd3y0k7sg"))))
@@ -8264,15 +8258,13 @@ Home Page}.")
(arguments
(list
#:test-flags
;; Ignore --mpl flag.
'(list "-c" "/dev/null"
"-k" (string-append
;; Resampling tests require python-samplerate.
"not resample"
;; These tests use Pooch and download data files.
" and not example and not test_cite"
;; XXX assert 22050 == 31744
" and not test_stream"))))
#~(list "-k" (string-append
;; Resampling tests require python-samplerate.
"not resample"
;; These tests use Pooch and download data files.
" and not example and not test_cite"
;; XXX assert 22050 == 31744
" and not test_stream"))))
(propagated-inputs
(list python-audioread
python-decorator
@@ -8291,10 +8283,9 @@ Home Page}.")
(list python-matplotlib
python-packaging
python-pytest
python-pytest-cov
python-pytest-mpl
python-resampy
python-setuptools
python-wheel))
python-setuptools))
(home-page "https://librosa.org")
(synopsis "Python module for audio and music processing")
(description
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,58 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
#
# This file is part of GNU Guix.
#
# GNU Guix is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# GNU Guix is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
import importlib.util
import json
def pytest_addoption(parser):
"""Add stub options to be ignored by pytest.
More precisely, inject all options provided in .pytest_guix_options.json,
except options whose plugin is indeed installed.
For example, if the json file records --cov:
if the pytest_cov module is installed, its --cov will be used.
otherwise, --cov is ignored (read by this parser, but nothing is done
with it).
Flags can be given with additional keyword arguments in a json object.
If the json object is not given, fallback to the default
{"action": "append", "nargs": "?"}. In practice, these arguments are only
mandatory for the store_true and store_const actions to avoid eating other
arguments.
This allows to remove development packages, which are not required at build
time while at the same time avoiding the need to adjust test options in
pyproject.toml or other configuration files.
"""
with open(".pytest_guix_options.json", "r") as options_file:
plugin_options = json.load(options_file)
group = parser.getgroup(
"guix", "Options ignored by the Guix pyproject-build-system"
)
# Only add options for plugins that are not present.
for key, options in plugin_options.items():
if importlib.util.find_spec(f"pytest_{key}") is None:
# Plugin not found, add stub options
for option, kwargs in options.items():
if kwargs:
group.addoption(option, **kwargs)
else:
group.addoption(option, action="append", nargs="?")
+56 -59
View File
@@ -50,7 +50,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -107,6 +106,7 @@
#:use-module (gnu packages rsync)
#:use-module (gnu packages ruby-xyz)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages ssh)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
@@ -137,7 +137,6 @@
python-paramiko
python-pexpect
python-pytest
python-pytest-runner
python-setuptools-scm
tzdata-for-tests
python-mock))
@@ -632,41 +631,26 @@ rsnapshot uses hard links to deduplicate identical files.")
(define-public borg
(package
(name "borg")
(version "1.4.3")
(version "1.4.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "borgbackup" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/borgbackup/borg")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "07s4jqcv03s98hi6lvqpvmnnhl532qnvv11mjy2xc08rbmsgmfvr"))
(snippet
#~(begin
;; Delete files generated by Cython. We used to have a regex that
;; created the list of generated files but Borg has added new
;; non-generated C files that cause the regex to generate the
;; wrong list.
(for-each delete-file
'("src/borg/algorithms/checksums.c"
"src/borg/chunker.c"
"src/borg/compress.c"
"src/borg/crypto/low_level.c"
"src/borg/hashindex.c"
"src/borg/item.c"
"src/borg/platform/darwin.c"
"src/borg/platform/freebsd.c"
"src/borg/platform/linux.c"
"src/borg/platform/posix.c"
"src/borg/platform/syncfilerange.c"
"src/borg/platform/windows.c"))))))
(base32 "0bk302lbjjz1y8dg78wqqys80bm7mzkj5yf6wgyqdwvbqpsnpim4"))))
(build-system pyproject-build-system)
(arguments
(list
#:modules '((srfi srfi-26) ; for cut
(guix build utils)
(guix build pyproject-build-system))
;; tests: 1318 passed, 293 skipped
#:test-flags
#~(list "--benchmark-skip"
"--numprocesses" (number->string (parallel-job-count))
"--numprocesses" (number->string (min 8 (parallel-job-count)))
"--pyargs" "borg.testsuite"
"-k" (string-join
;; These tests need to write to '/var'.
@@ -687,7 +671,15 @@ rsnapshot uses hard links to deduplicate identical files.")
"test_mount_hardlinks "
"test_readonly_mount "
"test_fuse_versions_view "
"test_migrate_lock_alive")
"test_migrate_lock_alive"
;; Test files are not in /gnu/store
"test_convert_all[False]"
"test_convert_all[True]"
"test_convert_segments[False]"
"test_convert_segments[True]"
"test_detect_attic_repo"
"test_key_export_qr"
"test_keys")
" and not "))
#:phases
#~(modify-phases %standard-phases
@@ -703,46 +695,58 @@ rsnapshot uses hard links to deduplicate identical files.")
(setenv "BORG_LIBLZ4_PREFIX" lz4)
(setenv "BORG_LIBXXHASH_PREFIX" xxhash)
(setenv "BORG_LIBZSTD_PREFIX" zstd))))
(add-after 'install 'install-doc
(add-before 'build 'fix-testsuite-setuid-mode
(lambda _
(let ((man (string-append #$output "/share/man/man1"))
(misc (string-append #$output "/share/doc/borg-"
#$(package-version this-package))))
(substitute* "src/borg/testsuite/archiver.py"
(("0o4755") "0o0755"))))
(add-after 'install 'build-and-install-docs
(lambda _
(let* ((doc (string-append #$output "/share/doc/borg-" #$version))
(html (string-append doc "/html"))
(txt (string-append doc "/txt"))
(misc (string-append doc "/misc"))
(man (string-append #$output "/share/man/man1")))
(with-directory-excursion "docs"
(invoke "make" "text" "man" "singlehtml"))
(for-each (cut install-file <> misc)
'("docs/misc/create_chunker-params.txt"
"docs/misc/borg-data-flow.png"
"docs/misc/internals-picture.txt"
"docs/misc/prune-example.txt"))
(copy-recursively "docs/man" man))))
(add-after 'install-doc 'install-shell-completions
(copy-recursively "docs/_build/man" man)
(copy-recursively "docs/_build/singlehtml" html)
(copy-recursively "docs/_build/text" txt))))
(add-after 'build-and-install-docs 'install-shell-completions
(lambda _
(let ((etc (string-append #$output "/etc"))
(share (string-append #$output "/share")))
(let* ((etc (string-append #$output "/etc"))
(share (string-append #$output "/share"))
(bash (string-append etc "/bash_completion.d"))
(zsh (string-append share "/zsh/site-functions"))
(fish (string-append share "/fish/vendor_completions.d")))
(with-directory-excursion "scripts/shell_completions"
(install-file "bash/borg"
(string-append etc "/bash_completion.d"))
(install-file "zsh/_borg"
(string-append share "/zsh/site-functions"))
(install-file "fish/borg.fish"
(string-append share "/fish/vendor_completions.d")))))))))
(install-file "bash/borg" bash)
(install-file "zsh/_borg" zsh)
(install-file "fish/borg.fish" fish))))))))
(native-inputs
(list python-cython
python-dateutil
python-guzzle-sphinx-theme
python-pkgconfig
python-pytest
python-pytest-benchmark
python-pytest-xdist
python-setuptools
python-setuptools-scm
python-wheel))
python-sphinx
python-sphinxcontrib-jquery))
(inputs
(list acl
lz4
openssl
;; This is the latest version of msgpack accepted by 'setup.py'.
python-msgpack-for-borg
python-msgpack
;; FUSE 3 isn't working well, so we stick with FUSE 2 for now:
;; <https://issues.guix.gnu.org/53407>
python-llfuse
python-packaging
xxhash
`(,zstd "lib")))
(synopsis "Deduplicated, encrypted, authenticated and compressed backups")
@@ -1264,10 +1268,9 @@ compression parameters used by Gzip.")
(define-public borgmatic
(package
(name "borgmatic")
(version "2.1.2")
(version "2.1.5")
(source
(origin
;; PyPI archive does not contain NEWS file needed for one test.
(method git-fetch)
(uri (git-reference
(url "https://projects.torsion.org/borgmatic-collective/borgmatic")
@@ -1275,10 +1278,11 @@ compression parameters used by Gzip.")
(file-name (git-file-name name version))
(sha256
(base32
"0vrpl21n6hf3pj0di4n7s36jq64sx24c93j48cmbdgczs8jiwi36"))))
"17i15ysg0wbcnfvki8wz2z9gx3zx99czv3czjh83y2m1xppvqbl5"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 2609 passed
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'configure
@@ -1293,19 +1297,12 @@ compression parameters used by Gzip.")
(("(module.get_local_path.+ == )'borg'" all start)
(string-append start "'"
(search-input-file inputs "bin/borg")
"'")))))
(add-before 'check 'set-path
(lambda _
;; Tests require the installed executable.
(setenv "PATH"
(string-append #$output "/bin" ":"
(getenv "PATH"))))))))
"'"))))))))
(native-inputs
(list python-flexmock
python-pytest
python-pytest-cov
python-setuptools
python-wheel))
python-pytest-timeout
python-setuptools))
(inputs
(list borg
python-apprise
@@ -1367,9 +1364,9 @@ borgmatic is powered by borg.")
(assoc-ref qt:%standard-phases 'qt-wrap)))))
(native-inputs
(list python-platformdirs
python-pytest
python-pytest-mock
python-pytest-qt
python-pytest-runner
python-setuptools
python-setuptools-git))
(inputs
-1
View File
@@ -44,7 +44,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system qt)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system meson)
#:use-module (gnu packages)
+163 -106
View File
@@ -65,7 +65,6 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix build-system r)
#:use-module (guix build-system ruby)
@@ -2290,10 +2289,10 @@ version = ~s
(delete-file-recursively
(string-append #$output "/.pytest_cache")))))))))
(native-inputs (list python-pytest
python-pytest-cov
python-pytest-datadir
python-pytest-doctestplus
python-recommonmark
python-setuptools
python-sphinx))
(inputs (cons python-wrapper (cargo-inputs 'python-bed-reader)))
(propagated-inputs (list python-numpy python-pandas python-scipy))
@@ -3324,7 +3323,17 @@ trees, synthetic data generation, or just phylogenetic tree simulation.")
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32 "1x0c1zhlfplhm4n07vibvh4jprjsdlypnlig87a8r07d26d4qphh"))))
(base32 "1x0c1zhlfplhm4n07vibvh4jprjsdlypnlig87a8r07d26d4qphh"))
(patches
(list
(origin
(method url-fetch)
(uri
(string-append "https://github.com/cancerit/parabam/commit/"
"477246d7a13b227841bf49521181235c76afe75f.patch"))
(file-name (string-append name "-" version "-pull-16.patch"))
(sha256
(base32 "0znmyvrmwbscqymhsx60pnp9jhzpz94diyv409jygjm58hj5454z")))))))
(build-system pyproject-build-system)
(arguments
(list
@@ -3349,25 +3358,29 @@ defined rule on an input file.")
(define-public python-pdbfixer
(package
(name "python-pdbfixer")
(version "1.9")
(version "1.12")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/openmm/pdbfixer")
(commit version)))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1zjhb19q5dclkwvzh8n29p31n1vzkhlmmzwqllimi89jsis1cx35"))))
(base32 "0jj724fkvk7bk47izk92ss8nz9ymfvj0f1fkypc0ig4xd5qzjqsz"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; These tests fail because they require internet access or test data.
'(list "-k"
;; These tests fail because they require internet access.
(string-append "not test_build_and_simulate.py"
" and not test_cli.py"
" and not test_mutate.py"))))
(string-join (list "not test_build_and_simulate"
"test_charge_and_solvate"
"test_cli"
"test_leaving_atoms"
"test_mutate"
"test_nonstandard")
" and not "))))
(propagated-inputs (list openmm python-numpy))
(native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/openmm/pdbfixer")
@@ -3381,35 +3394,36 @@ encountered in PDB files prior to simulation tasks.")
(define-public python-peaks2utr
(package
(name "python-peaks2utr")
(version "1.4.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "peaks2utr" version))
(sha256
(base32
"104il0kk61q07b58g9xrss7xflwlbx4kzsmw9iih99lhfsii0wzg"))))
(version "1.5.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/haessar/peaks2utr")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1b4qiccp5j394pzqd1d4ss3k90zv3kdr84lykl6p8izn3k85b2bl"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; These tests fail because file names are not URLs.
'(list "-k" (string-join
(list "not test_forward_strand_annotations"
"test_matching_chr"
"test_reverse_strand_annotations")
" and not "))
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "setup.cfg"
(("==") ">=")))))))
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "setup.cfg"
(("==") ">=")
;; See: <https://github.com/haessar/peaks2utr/issues/47>.
(("numpy >= 1.21.4, <= 1.26.4") "numpy >= 1.21.4")))))))
(native-inputs
(list python-pytest
python-setuptools))
(propagated-inputs
(list python-asgiref
python-gffutils
python-importlib-resources
macs
python-numpy-1
macs-3
python-numpy
python-psutil
python-pybedtools
python-pysam
@@ -3417,7 +3431,6 @@ encountered in PDB files prior to simulation tasks.")
python-tqdm
python-typing-extensions
python-zipp))
(native-inputs (list python-setuptools python-wheel))
(home-page "https://github.com/haessar/peaks2utr")
(synopsis "Python CLI for annotating three prime UTR")
(description
@@ -3866,7 +3879,6 @@ raw/ed14e050b2b75e7f4ddb73d512fbe928bbdb2b85")
python-scipy))
(native-inputs
(list python-pytest
python-pytest-cov
python-pytest-datadir
python-pytest-doctestplus
python-setuptools
@@ -4039,7 +4051,16 @@ counts.")
"test_scatter_rotate_mp4"
"test_sparse_svd"
"test_to_array_or_spmatrix_list_of_strings"
"test_unzip_no_destination)")
"test_unzip_no_destination"
;; AttributeError: module 'rpy2' has no attribute
;; '__version__'
"test_verbose"
"test_conversion_list"
"test_conversion_dict"
"test_conversion_array"
"test_conversion_dataframe"
"test_conversion_anndata_missing"
"test_r_traceback)")
"|")
"test")
#:phases
@@ -4292,7 +4313,6 @@ e.g. microbiome samples, genomes, metagenomes.")
(native-inputs
(list python-cython
python-pytest
python-pytest-cov
python-setuptools
python-wheel))
(propagated-inputs
@@ -6968,7 +6988,6 @@ and v1.1 to v1.2.")
(list python-mypy-extensions
python-pytest
python-pytest-mock
python-pytest-runner
python-setuptools
python-wheel))
(propagated-inputs
@@ -7886,7 +7905,7 @@ software to answer ad hoc questions.")
r-tidyr
r-upsetr
r-yaml
snakemake-7))
snakemake))
(native-inputs (list python-cython python-pyfakefs python-pytest))
(home-page "https://github.com/dieterich-lab/Baltica")
(synopsis "Integrated splice junction usage analysis")
@@ -8776,7 +8795,8 @@ high-throughput sequencing (HTS) assays")
;; Needed by tests
(add-after 'unpack 'set-HOME
(lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs (list python-appdirs
(propagated-inputs (list mysql-connector-python
python-appdirs
python-biopython
python-click
python-colorama
@@ -8784,7 +8804,6 @@ high-throughput sequencing (HTS) assays")
python-filelock
python-loguru
python-mygene
python-mysql-connector-python
python-norns
python-numpy
python-pandas
@@ -9750,29 +9769,39 @@ sequencing tag position and orientation.")
(define-public macs-3
(package
(name "macs")
(version "3.0.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/macs3-project/MACS")
(commit (string-append "v" version))
(recursive? #true)))
(file-name (git-file-name name version))
(sha256
(base32
"08hi0a2a0md9gfg7jc75wxv69rggv2yqfd1hyrg4mi5bhi712m0v"))))
(version "3.0.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/macs3-project/MACS")
(commit (string-append "v" version))
(recursive? #true)))
(file-name (git-file-name name version))
(sha256
(base32 "16cv6bvvppi0z69r5l357ai8x4jg61rx8xrvcapk1wz6mh9naf5s"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; AssertionError: np.float32(1.0) != np.float64(-1.0)
;; calculated step by step:
;; 6.559423e-18
;; expected:
;; -2.98155597e-18
#~(list (string-append "--deselect=test/test_SignalProcessing.py::"
"Test_maxima::test_implement_smooth_here"))))
(native-inputs
(list python-cython
python-pytest
python-setuptools
zlib))
(propagated-inputs
(list python-cykhash
python-hmmlearn
python-numpy
python-scikit-learn
python-scipy))
(native-inputs
(list python-cython
python-pytest
python-setuptools
zlib))
(home-page "https://github.com/macs3-project/MACS")
(synopsis "Model based analysis for ChIP-Seq data")
(description
@@ -12331,15 +12360,9 @@ Cuffdiff or Ballgown programs.")
;; This version file is expected to be created with git describe.
(mkdir-p "taxtastic/data")
(with-output-to-file "taxtastic/data/ver"
(lambda () (display #$version)))))
(replace 'check
;; Note, this fails to run with "-v" as it tries to write to a
;; closed output stream.
(lambda* (#:key tests? test-flags #:allow-other-keys)
(when tests?
(apply invoke "python" "-m" "unittest" test-flags)))))))
(lambda () (display #$version))))))))
(native-inputs
(list python-setuptools python-wheel))
(list python-pytest python-setuptools))
(propagated-inputs
(list python-biopython
python-decorator
@@ -14245,11 +14268,7 @@ quality control are provided.")
(lambda _
(substitute* "setup.cfg"
(("intervaltree~=3.0.2") "intervaltree")
(("termcolor~=1.1.0") "termcolor"))))
(add-after 'unpack 'fix-pytest-config
(lambda _
(substitute* "pyproject.toml"
((" --cov=gdc_client --cov-report term") "")))))))
(("termcolor~=1.1.0") "termcolor")))))))
(native-inputs
(list python-flask
python-httmock
@@ -14539,7 +14558,7 @@ data. It also generates basic statistics for your sequences.")
(define-public shorah
(package
(name "shorah")
(version "1.99.2")
(version "1.99.3")
(source
(origin
(method url-fetch)
@@ -14548,7 +14567,7 @@ data. It also generates basic statistics for your sequences.")
"/shorah-" version ".tar.xz"))
(sha256
(base32
"158dir9qcqspknlnyfr9zwk41x48nrh5wcg10k2grh9cidp9daiq"))))
"0zclbvdvbbfv3qpln3f47qa1yn77wf68z2b30vcxrzq3vsla4kgb"))))
(build-system gnu-build-system)
(arguments
`(#:phases
@@ -14583,6 +14602,7 @@ data. It also generates basic statistics for your sequences.")
python
python-biopython
python-numpy
python-setuptools
zlib))
(native-inputs
(list pkg-config))
@@ -18052,6 +18072,8 @@ methylation and segmentation.")
(setenv "NUMBA_CACHE_DIR" "/tmp")
;; Needed to capture environment
(setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH")))))))
(native-inputs
(list python-setuptools))
(inputs
(list coreutils
perl
@@ -19868,8 +19890,8 @@ set.")
(name "instrain")
;; Git repository does not tag releases, use the latest commit from master
;; branch.
(properties '((commit . "6180be7b49a61b7e1ffe9f1489da5c6aa2ff9ac3")
(revision . "0")))
(properties '((commit . "f172367e599851a6cb90048ae890d1bb6569063f")
(revision . "1")))
(version (git-version "1.10.0"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
@@ -19881,18 +19903,32 @@ set.")
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32 "1njsxjf3248121yw3q1ig6asf6b3wa5fgjfyc6dkgk6nd4ih8wni"))))
(base32 "12rrkcckna7k095clir9100cz6i5dn77anih6aq1blbsg4yhprnr"))))
(build-system pyproject-build-system)
(arguments
(list
;; Tests assume that test files exist (they don't) and are located in
;; the developer's home directory, see:
;; <https://github.com/MrOlm/inStrain/issues/218>.
#:tests? #false
;; tests: 10 failed, 86 passed, 15 skipped, 220 warnings
#:test-flags
#~(list #$@(map (lambda (test)
(string-append "--deselect=test/tests/" test))
;; Mixture of "FileNotFoundError" and "AssertionError"
;; errors.
(list "test_genes.py::test_genes_0"
"test_genes.py::test_genes_1"
"test_genes.py::test_genes_2"
"test_genes.py::test_genes_3"
"test_parse_gene_annotations.py::test_PA_2"
"test_polymorpher.py::test_polymorpher_unit_0"
"test_polymorpher.py::test_polymorpher_unit_3"
"test_quick_profile.py::test_quick_profile_0"
"test_quick_profile.py::test_quick_profile_1"
"test_quick_profile.py::test_quick_profile_2")))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-relative-imports
(lambda _
;; See: <https://github.com/MrOlm/inStrain/issues/218>.
(mkdir "test/test_backend/")
(substitute* (find-files "test/tests" "test_.*\\.py")
(("from test_utils import BTO")
"from .test_utils import BTO")
@@ -19905,9 +19941,10 @@ set.")
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "setup.py"
(("biopython<=1.74") "biopython")
((".*pytest.*") "")))))))
(propagated-inputs
(list python-biopython-1.73
(list python-biopython
python-h5py
python-lmfit
python-matplotlib
@@ -19919,7 +19956,9 @@ set.")
python-seaborn
python-tqdm))
(native-inputs
(list python-setuptools))
(list python-boto3
python-pytest
python-setuptools))
(home-page "https://github.com/MrOlm/inStrain")
(synopsis "Calculation of strain-level metrics")
(description
@@ -20150,33 +20189,32 @@ fasta subsequences.")
(define-public python-cooler
(package
(name "python-cooler")
(version "0.10.4")
;; 0.10.4 (2025-07-21), the latest changes provide support for Python
;; 3.12+; move back to git tag when released.
(properties '((commit . "6c2d65b1420a636193b7f05100a96410ea252147")
(revision . "0")))
(version (git-version "0.10.4"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source
(origin
(method url-fetch)
(uri (pypi-uri "cooler" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/open2c/cooler")
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32
"1fh5wjffbl5j8fdkc3c3lybscwvhv4v6r5jiyqgxvkkhb5nn498w"))))
(base32 "0xdb7lvyzj3wwv6jhkrxlj7gk830wkac4lwq5rjwk1r5qshjbn3n"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 141 passed, 4 skipped, 2 deselected, 268 warnings
;; tests: 141 passed, 4 skipped, 2 deselected, 270 warnings
#:test-flags
'(list "-k"
(string-append
;; These tests download files from the internet.
"not test_fetch_chromsizes"
" and not test_roundtrip"
;; This test depends on ipytree, which contains a lot of
;; minified JavaScript.
" and not test_print_trees"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-pytest-config
(lambda _
(substitute* "pyproject.toml"
((".*--cov.*") "")))))))
;; This test depends on ipytree, which contains a lot of minified
;; JavaScript.
#~(list "--deselect=tests/test_fileops.py::test_print_trees"
;; Network access is required.
"--deselect=tests/test_create.py::test_roundtrip")))
(native-inputs
(list python-hatchling
python-pytest))
@@ -20578,8 +20616,8 @@ and intra-cell population structure.\" Baron et al. Cell Systems (2016)
(define-public porechop
;; The recommended way to install is to clone the git repository
;; https://github.com/rrwick/Porechop#installation
(let ((commit "289d5dca4a5fc327f97b3f8cecb68ecaf1014861")
(revision "1"))
(let ((commit "109e437280436d1ec27e5a5b7a34ffb752176390")
(revision "2"))
(package
(name "porechop")
(version (git-version "0.2.3" revision commit))
@@ -20587,13 +20625,28 @@ and intra-cell population structure.\" Baron et al. Cell Systems (2016)
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rrwick/Porechop")
(commit commit)))
(url "https://github.com/rrwick/Porechop")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "05ps43gig0d3ia9x5lj84lb00hbsl6ba9n7y7jz927npxbr2ym23"))))
(base32 "0m7bsgvknv0cbkrpc0qi7b39jaws38dcdih4hi2ppg6z7byxip0k"))))
(build-system pyproject-build-system)
(native-inputs (list python-setuptools python-wheel python-pytest))
(arguments
(list
#:test-flags
;; Tests fail with errors: "SyntaxWarning: invalid escape sequence"
;; and "AssertionError: Lists differ".
#~(list "-k" (string-join
(list "not test_albacore_directory_all"
"test_albacore_directory_unclassified"
"test_verbosity_0_output"
"test_albacore_directory_3"
"test_verbosity_1_output"
"test_verbosity_2_output")
" and not "))))
(native-inputs
(list python-pytest
python-setuptools))
(home-page "https://github.com/rrwick/porechop")
(synopsis
"Finding, trimming or splitting adapters, in Oxford Nanopore reads")
@@ -21878,6 +21931,10 @@ pycisTarget and SCENIC.")
#:test-backend #~'unittest
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'python-3.12-compatibility
(lambda _
(substitute* (find-files "tests" "\\.py")
(("assertEquals") "assertEqual"))))
(add-after 'unpack 'disable-failing-tests
(lambda _
(substitute* "tests/test_algo.py"
@@ -23091,7 +23148,7 @@ genomes known to contain a given k-mer.")
(inputs
(list htslib python-wrapper zlib))
(native-inputs
(list autoconf automake which))
(list autoconf automake python-setuptools which))
(home-page "https://csb5.github.io/lofreq/")
(synopsis "Sensitive variant calling from sequencing data")
(description "LoFreq is a fast and sensitive variant-caller for inferring
+3 -3
View File
@@ -86,7 +86,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -534,8 +533,9 @@ and will take advantage of multiple processor cores where possible.")
(inputs (list boost-1.83 openssl))
(native-inputs
(list libfaketime
python-wrapper
pkg-config))
pkg-config
python-setuptools
python-wrapper))
(home-page "https://www.libtorrent.org/")
(synopsis "Feature-complete BitTorrent implementation")
(description
+53 -37
View File
@@ -83,9 +83,6 @@
(build-system gnu-build-system)
(arguments
(list
#:imported-modules %pyproject-build-system-modules
#:modules `(((guix build pyproject-build-system) #:select (python-version))
,@%default-gnu-modules)
#:tests? #f
#:configure-flags
#~(let ((icu (dirname (dirname (search-input-file
@@ -94,17 +91,26 @@
;; Auto-detection looks for ICU only in traditional
;; install locations.
(string-append "--with-icu=" icu)
;; Ditto for Python.
#$@(if (%current-target-system)
#~()
#~((let ((python (dirname (dirname (search-input-file
%build-inputs
"bin/python")))))
(string-append "--with-python-root=" python)
(string-append "--with-python=" python
"/bin/python")
(string-append "--with-python-version="
(python-version python)))))
;; Ditto for Python. The Gexp can't be evaluated if python is not
;; in the inputs (e.g. boost-for-mysql), so delay its evaluation
;; after checking for python, rather than concurrently.
#$@(force
(if (or (%current-target-system)
(not (this-package-input "python-minimal-wrapper")))
(delay
#~())
(delay
#~((let ((python (dirname (dirname (search-input-file
%build-inputs
"bin/python")))))
(string-append "--with-python-root=" python)
(string-append "--with-python=" python
"/bin/python")
(string-append "--with-python-version="
#$(version-major+minor
(package-version
(this-package-input
"python-minimal-wrapper")))))))))
"--with-toolset=gcc"))
#:make-flags
#~(list "threading=multi" "link=shared"
@@ -200,29 +206,39 @@
(replace 'install
(lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "./b2" "install" make-flags)))
#$@(if (%current-target-system)
#~()
#~((add-after 'install 'provide-libboost_python
(lambda* (#:key make-flags inputs outputs #:allow-other-keys)
(let* ((static? (member "link=static" make-flags))
(libext (if static? ".a" ".so"))
(python (dirname (dirname (search-input-file
inputs "bin/python"))))
(python-version (python-version python))
(libboost_pythonNN
(string-append "libboost_python"
(string-join (string-split
python-version #\.)
"")
libext)))
(with-directory-excursion (string-append #$output "/lib")
(symlink libboost_pythonNN
(string-append "libboost_python" libext))
;; Some packages only look for the major version.
(symlink libboost_pythonNN
(string-append "libboost_python"
(string-take python-version 1)
libext)))))))))))
#$@(force ; See above for why the force is necessary.
(if (or (%current-target-system)
(not (this-package-input "python-minimal-wrapper")))
(delay
#~())
(delay
#~((add-after 'install 'provide-libboost_python
(lambda* (#:key make-flags inputs outputs
#:allow-other-keys)
(let* ((static? (member "link=static" make-flags))
(ext (if static? ".a" ".so"))
(python (dirname
(dirname (search-input-file
inputs "bin/python"))))
(python-version
#$(version-major+minor
(package-version
(this-package-input
"python-minimal-wrapper"))))
(NN (string-join (string-split
python-version #\.)
""))
(libboost_pythonNN
(string-append "libboost_python" NN ext))
(major (string-take python-version 1)))
(with-directory-excursion
(string-append #$output "/lib")
(symlink libboost_pythonNN
(string-append "libboost_python" ext))
;; Some packages only look for the major version.
(symlink libboost_pythonNN
(string-append "libboost_python"
major ext)))))))))))))
(inputs
(append
(list icu4c zlib)
+56 -51
View File
@@ -48,6 +48,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages disk)
#:use-module (gnu packages bison)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -65,7 +66,6 @@
#:use-module (gnu packages man)
#:use-module (gnu packages mtools)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages ninja)
#:use-module (gnu packages package-management)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -1815,63 +1815,68 @@ For more information, refer to
(define-public os-prober
(package
(name "os-prober")
(version "1.81")
(version "1.84")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://debian/pool/main/o/os-prober/os-prober_"
version ".tar.xz"))
(method git-fetch)
(uri (git-reference
(url "https://salsa.debian.org/installer-team/os-prober.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "10w8jz6mqhp0skdcam9mpgv79vx1sv7lkpra3rqjg0jkhvn2in9g"))))
(base32 "1bji3w6nbqaz8zqrbmy8b1j5dph9xn7bdh1cd2z8ia1q125i6mgp"))))
(build-system gnu-build-system)
(arguments
`(#:modules ((guix build gnu-build-system)
(list
#:tests? #f ; No tests.
#:modules '((guix build gnu-build-system)
(guix build utils)
(ice-9 regex) ; for string-match
(srfi srfi-26)) ; for cut
#:make-flags
(list ,(string-append "CC=" (cc-for-target)))
#:tests? #f ; no tests
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(substitute* (find-files ".")
(("/usr") (assoc-ref outputs "out")))
(substitute* (find-files "." "50mounted-tests$")
(("mkdir") "mkdir -p"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(define (find-files-non-recursive directory)
(find-files directory
(lambda (file stat)
(string-match (string-append "^" directory "/[^/]*$")
file))
#:directories? #t))
(ice-9 regex) ; string-match
(srfi srfi-26)) ; cut
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target)))
#:phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda _
(substitute* (find-files ".")
(("/usr") #$output))
(substitute* (find-files "." "50mounted-tests$")
(("mkdir") "mkdir -p -v"))))
(replace 'install
(lambda _
(define (find-files-non-recursive directory)
(find-files directory
(lambda (file stat)
(string-match (string-append "^" directory "/[^/]*$")
file))
#:directories? #t))
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(lib (string-append out "/lib"))
(share (string-append out "/share")))
(for-each (cut install-file <> bin)
(list "linux-boot-prober" "os-prober"))
(install-file "newns" (string-append lib "/os-prober"))
(install-file "common.sh" (string-append share "/os-prober"))
(install-file "os-probes/mounted/powerpc/20macosx"
(string-append lib "/os-probes/mounted"))
(for-each
(lambda (directory)
(for-each
(lambda (file)
(let ((destination (string-append lib "/" directory
"/" (basename file))))
(mkdir-p (dirname destination))
(copy-recursively file destination)))
(append (find-files-non-recursive (string-append directory "/common"))
(find-files-non-recursive (string-append directory "/x86")))))
(list "os-probes" "os-probes/mounted" "os-probes/init"
"linux-boot-probes" "linux-boot-probes/mounted"))))))))
(home-page "https://joeyh.name/code/os-prober")
(let ((bin (string-append #$output "/bin"))
(lib (string-append #$output "/lib"))
(share (string-append #$output "/share")))
(for-each (cut install-file <> bin)
(list "linux-boot-prober" "os-prober"))
(install-file "newns" (string-append lib "/os-prober"))
(install-file "common.sh" (string-append share "/os-prober"))
(install-file "os-probes/mounted/powerpc/20macosx"
(string-append lib "/os-probes/mounted"))
(for-each
(lambda (directory)
(for-each
(lambda (file)
(let ((destination (string-append lib "/" directory
"/" (basename file))))
(mkdir-p (dirname destination))
(copy-recursively file destination)))
(append (find-files-non-recursive (string-append directory "/common"))
(find-files-non-recursive (string-append directory "/x86")))))
(list "linux-boot-probes"
"linux-boot-probes/mounted"
"os-probes"
"os-probes/init"
"os-probes/mounted"))))))))
(home-page "https://joeyh.name/code/os-prober/")
(synopsis "Detect other operating systems")
(description "os-prober probes disks on the system for other operating
systems so that they can be added to the bootloader. It also works out how to
+116 -6
View File
@@ -64,7 +64,6 @@
#:use-module (gnu packages logging)
#:use-module (gnu packages lua)
#:use-module (gnu packages man)
#:use-module (gnu packages ninja)
#:use-module (gnu packages package-management)
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
@@ -77,6 +76,7 @@
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages re2c)
#:use-module (gnu packages regex)
#:use-module (gnu packages rpc)
#:use-module (gnu packages serialization)
@@ -94,7 +94,6 @@
#:use-module (guix build-system hare)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (guix deprecation)
#:use-module (guix download)
@@ -105,7 +104,8 @@
#:use-module (guix packages)
#:use-module (guix search-paths)
#:use-module (guix utils)
#:use-module (ice-9 optargs))
#:use-module (ice-9 optargs)
#:use-module (srfi srfi-1))
(define-public acr
(package
@@ -432,9 +432,8 @@ files and generates build instructions for the Ninja build system.")
(arguments
(list
#:tests? #f ;disabled to avoid extra dependencies
;; Essentially a lighter copy of the former python-build-system.
;; Using it rather than pyproject-build-system allows to edit the latter
;; without a C++ world rebuild.
;; Custom build steps to prevent using pyproject-build-system which
;; allows to edit the latter without a C++ world rebuild.
#:phases
#~(modify-phases %standard-phases
(delete 'bootstrap)
@@ -1485,3 +1484,114 @@ Features:
@item Support for languages outside C/C++ (e.g. Go, Rust, Zig).
@end itemize")
(license license:asl2.0)))
(define-public ninja/pinned
(hidden-package
(package
(name "ninja")
(version "1.13.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ninja-build/ninja")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0lp9dmxbjyjwv089i8mgq3nvnhpbnsn01ifm05m9s47w7cifrl8g"))))
(build-system gnu-build-system)
(inputs (list python-wrapper re2c))
(arguments
'(; Tests now require googletest, which is a circular dependency.
#:tests? #f
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda _
(substitute* "src/subprocess-posix.cc"
(("/bin/sh") (which "sh")))
(substitute* "src/subprocess_test.cc"
(("/bin/echo") (which "echo")))))
(replace 'build
(lambda _
(invoke "./configure.py" "--bootstrap")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "./configure.py")
(invoke "./ninja" "ninja_test")
(invoke "./ninja_test"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(doc (string-append out "/share/doc/ninja")))
(install-file "ninja" bin)
(install-file "doc/manual.asciidoc" doc)))))))
(home-page "https://ninja-build.org/")
(synopsis "Small build system")
(description
"Ninja is a small build system with a focus on speed. It differs from
other build systems in two major respects: it is designed to have its input
files generated by a higher-level build system, and it is designed to run
builds as fast as possible.")
(license license:asl2.0))))
(define-public ninja
(package/inherit ninja/pinned
(properties (alist-delete 'hidden? (package-properties ninja/pinned)))))
(define-public samurai
(package
(name "samurai")
(version "1.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/michaelforney/samurai")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"04iw18hgkm72yrl83a2xh1jc47w9rilpb95kwick0j37b4q3gxj4"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;no test suite
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output))
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-/bin/sh
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "build.c"
(("/bin/sh")
(search-input-file inputs "bin/sh")))))
(delete 'configure))))
(inputs (list bash-minimal))
(home-page "https://github.com/michaelforney/samurai")
(synopsis "Ninja-compatible build tool written in C")
(description "@code{samurai} is a ninja-compatible build tool written in
C99 with a focus on simplicity, speed, and portability. It is
feature-complete and supports most of the same options as ninja. This package
provides the command @command{samu}. For a @command{ninja} command
replacement, use the @code{samu-as-ninja-wrapper} package.")
(license (list license:asl2.0 ;for the most part
license:expat)))) ;htab.h, htab.c and tree.c
(define-public samu-as-ninja-wrapper
(package/inherit samurai
(name "samu-as-ninja-wrapper")
(build-system trivial-build-system)
(arguments
(list #:builder
(with-imported-modules '((guix build utils))
#~(begin
(use-modules (guix build utils))
(let ((bindir (string-append #$output "/bin"))
(samu (string-append #$(this-package-input "samurai")
"/bin/samu")))
(mkdir-p bindir)
(symlink samu (string-append bindir "/ninja")))))))
(inputs (list samurai))
(description "This package provides the @command{ninja} command,
implemented as a symbolic link to the @command{samu} command of @code{samurai}
package.")))
-1
View File
@@ -55,7 +55,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix store)
#:use-module (gnu packages)
#:use-module (gnu packages bash)
-1
View File
@@ -45,7 +45,6 @@
#:use-module (guix build-system go)
#:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject)
#:use-module ((guix build-system python) #:select (pypi-uri))
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+18 -49
View File
@@ -131,7 +131,6 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
@@ -1882,7 +1881,6 @@ http server.")
(arguments (list #:tests? #false)) ;no tests included
(native-inputs
(list python-pytest
python-pytest-cov
python-setuptools
python-wheel
python-xmlschema))
@@ -1915,42 +1913,6 @@ XML output")
decorators from external files.")
(license license:expat)))
(define-public python-pytest-random-order
(package
(name "python-pytest-random-order")
(version "1.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-random-order" version))
(sha256
(base32 "104hww3b86jchk41kjhyycr541pd2dfgqkww6lx5y70z9z9xfwj4"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; AttributeError: module 'py' has no attribute 'code'.
#~(list "-k" (string-append "not test_it_works_with_actual_tests"
" and not test_failed_first"
" and not test_doctests"))))
(native-inputs
(list python-pytest-xdist
python-setuptools
python-py
python-wheel))
(propagated-inputs
(list python-pytest))
(home-page "https://github.com/jbasko/pytest-random-order")
(synopsis "Pytest plugin to randomize the order of tests")
(description "@code{pytest-random-order} is a Pytest plugin that
randomizes the order of tests. This can be useful to detect a test that
passes just because it happens to run after an unrelated test that leaves the
system in a favourable state. The plugin allows user to control the level of
randomness they want to introduce and to disable reordering on subsets of
tests. Tests can be rerun in a specific order by passing a seed value
reported in a previous test run.")
(license license:expat)))
(define-public python-pytest-runner
(package
(name "python-pytest-runner")
@@ -2733,7 +2695,11 @@ failures and errors instantly.")
"test_is_not_identity"
"test_resolves_builtin_types[object]"
"test_resolves_forwardrefs_to_builtin_types[object]"
"test_timezone_lookup[tzinfo]")
"test_timezone_lookup[tzinfo]"
;; hypothesis.errors.FailedHealthCheck: Input generation is slow
#$@(if (target-riscv64?)
'("test_can_run_with_no_db")
'()))
" and not "))
#:phases
#~(modify-phases %standard-phases
@@ -2956,12 +2922,8 @@ mypy plugins.")
"and not upstream_url"))))
(native-inputs
(list python-pytest
python-pytest-black
python-pytest-checkdocs
python-pytest-cov
python-pytest-enabler
python-pytest-flake8
python-pytest-mypy
python-setuptools
python-wheel))
(propagated-inputs
@@ -3068,21 +3030,28 @@ possible to write plugins to add your own checks.")
(define-public behave
(package
(name "behave")
(version "1.3.3")
;; 1.3.3 (2025-09-04), the latest changes provide support for Python
;; 3.12+; move back to git tag when released.
(properties '((commit . "43d0a93240c0b25b0cbf59bdc196b74fb8a2353e")
(revision . "0")))
(version (git-version "1.3.3"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/behave/behave")
(commit (string-append "v" version))))
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32 "1fxj51kailsdakqi7qbw700k258n7r3lv75mgxs45ld5xh2jfyxh"))))
(base32 "05671jf7scpgqr8chzgs9bxidvf12nlkqqiqxa5qwmykqfvc8nk4"))))
(build-system pyproject-build-system)
;; tests: 1638 passed, 3 skipped, 2 xfailed
(native-inputs
(list python-assertpy
python-chardet
python-mock
(list python-chardet
python-freezegun
python-charset-normalizer
python-path
python-pyhamcrest
python-pytest
-1
View File
@@ -28,7 +28,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
-1
View File
@@ -53,7 +53,6 @@
#:use-module (gnu packages llvm)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages maths)
#:use-module (gnu packages ninja)
#:use-module (gnu packages node)
#:use-module (gnu packages nss)
#:use-module (gnu packages pciutils)
-1
View File
@@ -30,7 +30,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
-1
View File
@@ -47,7 +47,6 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system emacs)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE))
#:use-module (gnu packages)
#:use-module (gnu packages backup)
-1
View File
@@ -49,7 +49,6 @@
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module ((guix build-system python) #:select (pypi-uri))
#:use-module (guix build-system pyproject)
#:use-module (guix build-system trivial)
#:use-module (guix build-system go)
+13 -9
View File
@@ -34,7 +34,7 @@
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021, 2024-2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2021, 2026 Ahmad Jarara <ajarara@fastmail.com>
;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
@@ -1475,7 +1475,7 @@ for most inputs, but the resulting compressed files are anywhere from 20% to
(define-public 7zip
(package
(name "7zip")
(version "26.00")
(version "26.01")
(source
(origin
(method git-fetch)
@@ -1483,7 +1483,7 @@ for most inputs, but the resulting compressed files are anywhere from 20% to
(url "https://github.com/ip7z/7zip")
(commit version)))
(sha256
(base32 "1fvgl9qp2pl5c0jmvgbdx6qig3qd80mhxvml42yby8y412x65sh7"))
(base32 "0qwzn9pz1m6f8q20cqgmfqp1qx6s7959xnyikpr60n1v8c1mj98q"))
(file-name (git-file-name name version))
(modules '((guix build utils)
(ice-9 regex)))
@@ -3005,13 +3005,17 @@ can append files to the end of such compressed archives.")
"00ibddiy62kbs9wl52c35j0hbqanx6pi7lvzkpzmbsizkj8mhp1p"))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags
#~'("-DWITH_TESTS=ON"
"-DBUILD_SHARED_LIBS=ON")))
'(#:tests? #f
#:configure-flags
(let* ((out (assoc-ref %outputs "out"))
(lib (string-append out "/lib")))
(list
"-DCMAKE_BUILD_TYPE=Release"
"-DBUILD_SHARED_LIBS=ON"
"-DCBOR_CUSTOM_ALLOC=ON"
(string-append "-DCMAKE_INSTALL_LIBDIR=" lib)
(string-append "-DCMAKE_INSTALL_RPATH=" lib)))))
(synopsis "The C library for parsing and generating CBOR")
(native-inputs
(list cmocka))
(description
"@acronym{CBOR, The Concise Binary Object Representation} is a data format
whose design goals include the possibility of extremely small code size, fairly
+70
View File
@@ -127,6 +127,76 @@ formats:
It also comes with example files generated by bincfg.")
(license license:gpl3+)))
(define-public bucts
(package
(name "bucts")
(version %coreboot-version)
(source %coreboot-origin)
(build-system gnu-build-system)
(arguments
(list
#:tests? #f ;no tests
#:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
#:phases #~(modify-phases %standard-phases
(delete 'configure) ;no configure script
(add-after 'unpack 'enter-source
(lambda _
(chdir "util/bucts")))
(add-after 'enter-source 'set-version
(lambda _
(substitute* "Makefile"
(("^VERSION:=*")
#$(string-append "VERSION:=" version)))))
;; no install target
(replace 'install
(lambda _
(let ((bin (string-append #$output "/bin"))
(doc (string-append #$output "/share/doc/bucts/"))
(licenses (string-append #$output
"/share/licenses/bucts/")))
(install-file "bucts" bin)
(install-file "readme.md" doc)
(install-file "../../COPYING" licenses)))))))
(inputs (list pciutils))
(home-page "https://coreboot.org")
(synopsis "Tool to swap the BIOS bootblock and backup bootblock on the
Intel I945 chipsets")
(description
"The @command{bucts} command can flip a bit in the BUC.TS register of the
Intel I945 chipsets and show the register status. When the bit is set, it
swaps the bootblock location. Because the bootblock region is often set
read-only by the default BIOS, this enables to bypass that restriction and is
used as part of a procedure to replace the nonfree BIOS with free software on
various computers (Lenovo X60, X60s, X60T, T60, probably more).")
(license license:gpl2)))
(define-public ectool
(package
(name "ectool")
(version %coreboot-version)
(source %coreboot-origin)
(build-system gnu-build-system)
(arguments
(list
#:tests? #f ; no test suite
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
"INSTALL=install"
(string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
(chdir "util/ectool")))
(delete 'configure)))) ; no configure script
(home-page "https://doc.coreboot.org/util.html")
(synopsis "Tool to dump and modify @acronym{EC, Embedded Controller} RAM
on computers such as laptops")
(description "This package provides @command{ectool}, a program to dump
and modify the contents of @acronym{EC, Embedded Controller} RAM
on mobile computers.")
(license license:gpl2)))
(define-public ifdtool
(package
(name "ifdtool")
+1 -3
View File
@@ -79,7 +79,6 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system scons)
#:use-module (guix modules)
@@ -2017,8 +2016,7 @@ using the string similarity calculations from FuzzyWuzzy.")
(add-after 'unpack 'fix-pytest-config
(lambda _
(substitute* "pyproject.toml"
((" \"pytest-cov\", ") "")
((" --cov-fail-under=90 --cov=cpplint") "")))))))
(("\"pytest-cov\", ") "")))))))
(native-inputs
(list python-pytest
python-pytest-timeout
+2 -3
View File
@@ -105,7 +105,6 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
@@ -1010,7 +1009,7 @@ SHA-1, SHA-2, and SHA-3, yet is at least as secure as SHA-3.")
(define-public rhash
(package
(name "rhash")
(version "1.4.6")
(version "1.4.3")
(source
(origin
(method url-fetch)
@@ -1019,7 +1018,7 @@ SHA-1, SHA-2, and SHA-3, yet is at least as secure as SHA-3.")
(file-name (string-append "rhash-" version ".tar.gz"))
(sha256
(base32
"0ylkxhkj4nzmb0iampn2lv7v4yw59x7dl8mdcxqcx2mfxv7ijq4z"))))
"0glaghjvwh9ziiqf599v0fdr6jrgc7lcnriq0h7r41k3jrkglh0y"))))
(build-system gnu-build-system)
(arguments
(list #:configure-flags
-1
View File
@@ -62,7 +62,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix download)
#:use-module (guix git-download)
+4 -14
View File
@@ -31,7 +31,6 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages databases)
#:use-module (gnu packages check)
#:use-module (gnu packages cpp)
@@ -112,7 +111,7 @@ Refresh}in-DRAM mitigations effectively and as such can trigger bit flips.")
(define-public gallia
(package
(name "gallia")
(version "2.0.2")
(version "2.1.1")
(source
(origin
(method git-fetch)
@@ -121,7 +120,7 @@ Refresh}in-DRAM mitigations effectively and as such can trigger bit flips.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1yvjpwpqq6r6glfm4qzb8j91d2gsfy4lvygd9z9pg2j6jvcq6f6s"))))
(base32 "04xzh5fi18wrkjs7sqwlv344jf54njvnly042rhxq3x5jrvpvkdw"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -133,25 +132,16 @@ Refresh}in-DRAM mitigations effectively and as such can trigger bit flips.")
#:test-flags #~(list "tests/pytest")))
(native-inputs
(list python-poetry-core
python-pygit2
python-pytest
python-pytest-asyncio))
(inputs
(list python-aiofiles
python-aiosqlite
(list python-aiosqlite
python-argcomplete
python-boltons
python-can
python-construct
python-exitcode
python-httpx
python-more-itertools
python-msgspec
python-platformdirs
python-psutil
python-pydantic
python-pygit2
python-tabulate
python-wcwidth
python-zstandard))
(home-page "https://github.com/Fraunhofer-AISEC/gallia")
(synopsis "Extendable Pentesting Framework")
+114 -37
View File
@@ -205,7 +205,6 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix build-system ruby)
#:use-module (guix build-system cmake)
@@ -1279,6 +1278,98 @@ management system that supports the standardized Structured Query
Language.")
(license license:gpl2)))
(define-public mysql-connector-python
(package
(name "mysql-connector-python")
(version "8.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mysql/mysql-connector-python")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "18jvpnnwmfrn961rvqmsygp7dw3spf3swhxhal4hhj5hqddckj5f"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 1371 passed
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'compatibility
(lambda _
(substitute* "src/mysql_capi.c"
(("res = mysql_options\\(&self->session, MYSQL_OPT_LOAD_DATA_LOCAL_DIR.*")
"res = 0;")
(("mysql_options\\(&self->session, MYSQL_OPT_LOAD_DATA_LOCAL_DIR.*")
"")
(("mysql_options\\(&self->session, MYSQL_OPT_TLS_CIPHERSUITES.*")
"")
;; The C API does not have mysql_bind_param, so we produce an
;; error here.
(("status = mysql_bind_param.*") "status = 1;")
(("#include \"mysql_capi_conversion\\.h\"" all)
(string-append all "\n" "#include <stdbool.h>")))))
(add-after 'unpack 'chdir
(lambda _
(chdir "mysql-connector-python")))
(add-before 'build 'prepare-build
(lambda _
(setenv "MYSQL_CAPI" #$(this-package-input "mysql"))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; Some of these tests might be failing due to the build
;; container's restrictions, others are due to the version
;; mismatch.
(substitute* "tests/cext/test_cext_api.py"
(("def test_change_user") "def _do_not_test_change_user")
(("def test_get_character_set_info")
"def _do_not_test_get_character_set_info"))
(substitute* "tests/test_bugs.py"
(("def test_change_user") "def _do_not_test_change_user")
(("def test_lost_connection") "def _do_not_test_lost_connection")
(("def test_kill_query") "def _do_not_test_kill_query")
;; These all fail because of expired certificates.
(("def test_cext_verify_server_certificate")
"def _do_not_test_cext_verify_server_certificate")
(("def test_pure_verify_server_certificate")
"def _do_not_test_pure_verify_server_certificate")
(("def test_verify_server_name_cext_cnx")
"def _do_not_test_verify_server_name_cext_cnx")
(("def test_verify_server_name_pure_cnx")
"def _do_not_test_verify_server_name_pure_cnx"))
(substitute* '("tests/test_connection.py"
"tests/test_aio_connection.py")
(("def test_allow_local_infile_in_path")
"def _do_not_test_allow_local_infile_in_path")
;; This fails because of expired certificates.
(("def test_connect_with_unix_socket")
"def _do_not_test_connect_with_unix_socket"))
(substitute* "tests/test_constants.py"
(("def test_deprecated")
"def _do_not_test_deprecated"))
(mkdir-p "/tmp/datadir")
(invoke "python3" "unittests.py"
"--verbosity=3"
(string-append "--with-mysql=" #$(this-package-input "mysql"))
"--keep"
"--mysql-topdir=/tmp/datadir"
"--unix-socket=/tmp/datadir")))))))
(propagated-inputs (list python-protobuf))
(inputs (list mysql protobuf-3.20 openssl-1.1 zlib))
(native-inputs (list python-setuptools))
(home-page "https://dev.mysql.com/doc/connector-python/en/index.html")
(synopsis "MySQL driver written in Python")
(description "MySQL Connector/Python enables Python programs to access
MySQL databases, using an API that is compliant with the Python Database API
Specification v2.0 (PEP 249).")
(license license:gpl2)))
(define-deprecated-package python-mysql-connector-python
mysql-connector-python)
(define-public mariadb
(package
(name "mariadb")
@@ -4738,33 +4829,24 @@ PickleShare.")
(define-public python-apsw
(package
(name "python-apsw")
(version "3.46.0.0")
;; The compressed release has fetching functionality disabled.
(version "3.50.4.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/rogerbinns/apsw/releases/download/"
version "/apsw-" version ".zip"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/rogerbinns/apsw")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"10yfbasi4mq63g0svyl1h49ylwn9znjylq78id16dzxzk9q9ipdx"))))
(base32 "0r9awjgpl9cmqz5xd4zbqrpiv0rv5c36a18jkqnsfky6n6sgr424"))))
(build-system pyproject-build-system)
(native-inputs
(list unzip python-setuptools python-wheel))
(inputs (list sqlite-next)) ;SQLite 3.45.1 required.
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'build-extensions
(lambda _
(invoke "python" "setup.py" "build" "--enable-all-extensions"
"--enable=load_extension")))
(add-after 'build 'build-test-helper
(lambda _
(invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext"
"-I." "-Isqlite3" "src/testextension.c"))))))
(list #:test-backend #~'custom
#:test-flags #~(list "-m" "apsw.tests")))
(native-inputs
(list python-setuptools))
(inputs
(list sqlite-next)) ;SQLite 3.45.1 required.
(home-page "https://github.com/rogerbinns/apsw/")
(synopsis "Another Python SQLite Wrapper")
(description
@@ -5741,7 +5823,6 @@ __version_tuple__ = version_tuple = (~a)~%" version version-tuple))))))
pkg-config
python-cython
python-pytest
python-pytest-runner
python-setuptools-scm
python-setuptools))
(outputs '("out"))
@@ -6338,7 +6419,7 @@ mechanism of @code{dogpile}.")
(define-public datasette
(package
(name "datasette")
(version "1.0a19")
(version "1.0a26")
(source
(origin
(method git-fetch)
@@ -6347,23 +6428,20 @@ mechanism of @code{dogpile}.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0wb73iksrc5vg2lnq3q4vr7yhlzxwr711jfmjdndd0s77996zsfh"))))
(base32 "1ra0yfrz9w3jx7ix3dmcsg0g8hjxkz37586g7ijmqshxpzczxfm7"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 1720 passed, 9 skipped, 8 xfailed, 13 xpassed, 3 warnings, 120
;; subtests passed
#:test-flags
;; See https://github.com/simonw/datasette/issues/2048
#~(list "-k" (string-append
;; These contain two unexpected extra items.
"not test_searchable"
" and not test_searchmode")
"--ignore=tests/test_black.py"
"-n" (number->string (parallel-job-count)))
#~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
"--ignore=tests/test_black.py")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "setup.py"
(substitute* "pyproject.toml"
(("\"pip\",") "")))))))
(propagated-inputs
(list python-aiofiles
@@ -6378,7 +6456,6 @@ mechanism of @code{dogpile}.")
python-janus
python-jinja2
python-mergedeep
python-pint
python-pluggy
python-pyyaml
python-sqlite-utils
@@ -6387,9 +6464,9 @@ mechanism of @code{dogpile}.")
(list nss-certs-for-test
python-beautifulsoup4
python-cogapp
python-multipart-form-data-conformance
python-pytest
python-pytest-asyncio-0.26
python-pytest-runner
python-pytest-asyncio
python-pytest-timeout
python-pytest-xdist
python-setuptools
-5
View File
@@ -27,7 +27,6 @@
(define-module (gnu packages dav)
#:use-module (guix build-system cargo)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -143,9 +142,6 @@ CardDAV server with a local folder or file.")
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-pytest-cov
python-pytest-flake8
python-pytest-isort
python-setuptools
python-waitress
python-wheel))
@@ -244,7 +240,6 @@ efficient syncing
(list python-aioresponses
python-pytest
python-pytest-asyncio
python-pytest-cov
python-pytest-httpserver
python-setuptools
python-setuptools-scm
+46 -31
View File
@@ -77,7 +77,6 @@
#:use-module (gnu packages mail)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages ninja)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pretty-print)
@@ -263,7 +262,7 @@ simple way to add custom protocol messages.")
(define-public c-vise
(package
(name "c-vise")
(version "2.4.0")
(version "2.8.0")
(source
(origin
(method git-fetch)
@@ -271,37 +270,53 @@ simple way to add custom protocol messages.")
(url "https://github.com/marxin/cvise")
(commit (string-append "v" version))))
(sha256
(base32 "1i2z5q2pcwh1gpdqc24x1a2q5vzwhblzzq021nzwf304di7m18vl"))
(base32 "1ynhm1d56r25apgvv0wqbdrhjbwigkwrgw92g2czz4nfx77rjxz2"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(native-inputs
(list flex python-pytest python-pytest-flake8))
(inputs
(list bash-minimal clang llvm unifdef
python python-pebble python-psutil python-chardet))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-linkage
(lambda _
(substitute* "clang_delta/CMakeLists.txt"
(("\\$\\{LLVM_LINK_LLVM_DYLIB\\}") "True")
((" LLVM") " LLVMSupport"))))
(add-before 'build 'hardcode-paths
(lambda _
(substitute* "cvise.py"
(("/bin/bash") (which "bash"))
(("(.*)# Special case for clang-format" & >)
(string-append > "# Special case for unifdef\n"
> "programs['unifdef'] = '" (which "unifdef") "'\n"
&)))))
(add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(python-path (getenv "GUIX_PYTHONPATH")))
(wrap-program (string-append out "/bin/cvise")
`("PYTHONPATH" ":" prefix (,python-path)))
#t))))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-linkage
(lambda _
(substitute* "clang_delta/CMakeLists.txt"
(("\\$\\{LLVM_LINK_LLVM_DYLIB\\}")
"True")
((" LLVM")
" LLVMSupport"))))
(add-before 'build 'hardcode-paths
(lambda _
(substitute* "cvise.py"
(("/bin/bash")
(which "bash"))
(("(.*)# Special case for clang-format" all blank)
(format #f "~a# Special case for unifdef
~aprograms['unifdef'] = ~s
~a"
blank blank (which "unifdef") all)))))
(add-after 'install 'wrap
(lambda _
(let ((python-path (getenv "GUIX_PYTHONPATH")))
(wrap-program (string-append #$output "/bin/cvise")
`("PYTHONPATH" ":" prefix
(,(string-join
(filter (lambda (cand)
(not (string-contains cand "pytest")))
(string-split python-path #\:))
":"))))))))))
(native-inputs
(list flex
python-pytest
python-pytest-flake8))
(inputs
(list bash-minimal
clang
llvm
unifdef
python
python-pebble
python-psutil
python-chardet))
(home-page "https://github.com/marxin/cvise")
(synopsis "Reducer for interesting code")
(description
@@ -1214,7 +1229,7 @@ and input distributions can also be expressed in Fandango.")
;; Shorten paths to sockets in tests.
(lambda _ (setenv "TMPDIR" "/tmp"))))
#:test-target "test"))
(native-inputs (list python)) ; for tests
(native-inputs (list python python-setuptools)) ; for tests
(synopsis "Fault injector in userspace")
(description "Fiu provides CLI utilities and a C library
to mark points of failure inside your code
+75 -50
View File
@@ -41,7 +41,6 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
@@ -49,6 +48,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
@@ -122,58 +122,83 @@ Carnegie Mellon University.")
"https://github.com/cmusphinx/cmudict/blob/master/LICENSE"))))
(define-public dico
(package
(name "dico")
(version "2.12")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/dico/dico-"
version ".tar.xz"))
(sha256
(base32
"1xvahrav8aml90qcj4cj3a33y0n7nm1k0ywgks1zy2q91v2qk2vj"))))
(build-system gnu-build-system)
(arguments
(list
#:configure-flags #~(list "--disable-static")
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'set-shell-file-name
(lambda* (#:key inputs #:allow-other-keys)
;; This code invokes "/bin/sh -c 'm4 -s ...'".
(substitute* "grecs/src/grecs-lex.c"
(("\"/bin/sh\"")
(string-append "\""
(search-input-file inputs "/bin/sh")
"\"")))))
(add-before 'check 'silence-guile
(lambda _
;; Guile is too talkative, which disturbs the test
;; infrastructure. Gag it.
(setenv "GUILE_AUTO_COMPILE" "0")
(setenv "GUILE_WARN_DEPRECATED" "no"))))))
(native-inputs (list groff))
(inputs
(list m4 ;used at run time
bash-minimal ;likewise
pcre
python-wrapper
guile-3.0
gsasl
readline
zlib
wordnet
libxcrypt ;for 'crypt'
libltdl))
(home-page "https://www.gnu.org.ua/software/dico/")
(synopsis "Implementation of DICT server (RFC 2229)")
(description
"GNU Dico implements a flexible dictionary server and client according to
RFC 2229 (DICT Server). It is able to access any database available,
(let ((commit "05da4bc9e613834fdb065e38c7181044d8889575")
(revision "0"))
(package
(name "dico")
(version (git-version "2.12" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.gnu.org.ua/dico.git")
(commit commit)
(recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32 "1fmr01gpvvb1p6p9ylr67nqx8ymmmkqjhsi9y5zvp2nc32cgxvah"))))
(build-system gnu-build-system)
(arguments
(list
#:configure-flags #~(list "--disable-static")
#:phases
#~(modify-phases %standard-phases
(replace 'bootstrap
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "grecs/bootstrap"
(("/bin/sh")
(which "bash"))
((" GRECS_GIT_ID=.*")
" GRECS_GIT_ID=v1.0-25-g51b12be\n"))
(invoke "perl" "./bootstrap" "--force" "--skip-po")))
(add-before 'build 'post-configure
(lambda* (#:key inputs #:allow-other-keys)
;; For some reason, this file is missing.
(install-file "gnulib/lib/getopt.c"
"xdico/gnu")
;; This code invokes "/bin/sh -c 'm4 -s ...'".
(substitute* "grecs/src/grecs-lex.l"
(("\"/bin/sh")
(string-append "\""
(search-input-file inputs "/bin/sh"))))))
(add-before 'check 'silence-guile
(lambda _
;; Guile is too talkative, which disturbs the test
;; infrastructure. Gag it.
(setenv "GUILE_AUTO_COMPILE" "0")
(setenv "GUILE_WARN_DEPRECATED" "no"))))))
(native-inputs
(list autoconf-2.71
automake
bison
flex
gettext-minimal
groff
libtool
perl
texinfo))
(inputs
(list m4 ;used at run time
bash-minimal ;likewise
pcre
python-wrapper
guile-3.0
gsasl
readline
zlib
wordnet
libxcrypt ;for 'crypt'
libltdl))
(home-page "https://www.gnu.org.ua/software/dico/")
(synopsis "Implementation of DICT server (RFC 2229)")
(description
"GNU Dico implements a flexible dictionary server and client according
to RFC 2229 (DICT Server). It is able to access any database available,
regardless of format, thanks to its modular structure. New modules may be
written in C, Guile or Python. Dico also includes a command-line client,
which may be used to query remote dictionary databases.")
(license license:gpl3+)))
(license license:gpl3+))))
(define-public libmaa
(package
-9
View File
@@ -67,7 +67,6 @@
#:use-module (gnu packages vim)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix gexp)
#:use-module (guix git-download)
@@ -290,14 +289,6 @@ install.")
(for-each (lambda (file)
(chmod file #o755))
(find-files #$output "autopkgtest-virt-.*"))))
;; Adjust use of importlib.resources to use python 3.10 compatible
;; syntax, which requires an argument.
;; Drop when switching to python 3.12+.
(add-after 'unpack 'adjust-importlib-resources-for-old-python
(lambda _
(substitute* "reprotest/__init__.py"
(("importlib.resources.files\\(\\)")
"importlib.resources.files(package='reprotest')"))))
(add-after 'unpack 'skip-most-tests
;; These tests require functionality not available in the guix
;; build environment
-1
View File
@@ -27,7 +27,6 @@
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (guix utils)
#:use-module (gnu packages check)
+32 -19
View File
@@ -59,7 +59,6 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix build-system scons)
#:use-module (guix build-system trivial)
@@ -106,7 +105,6 @@
#:use-module (gnu packages libbsd)
#:use-module (gnu packages linux)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages ninja)
#:use-module (gnu packages nss)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-web)
@@ -1226,16 +1224,25 @@ and its highly optimized now for efficient performance.")
(package
(name "volume-key")
(version "0.3.12")
(source (origin
(method url-fetch)
(uri (string-append "https://releases.pagure.org/volume_key/volume_key-"
version ".tar.xz"))
(sha256
(base32
"16rhfz6sjwxlmss1plb2wv2i3jq6wza02rmz1d2jrlnsq67p98vc"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://pagure.io/volume_key")
(commit (string-append "volume_key-" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0zadzbh26ckk263w02d02r2x3mry2kxbybkhwwaxwpv6jsrm7xr6"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config swig-4.0 python-3)) ; used to generate the Python bindings
(list autoconf
automake
gettext-minimal
libtool
pkg-config
python ; used to generate the Python bindings
python-setuptools
swig))
(inputs
(append
(cons cryptsetup-minimal (libcryptsetup-propagated-inputs))
@@ -1245,15 +1252,21 @@ and its highly optimized now for efficient performance.")
glib
gpgme)))
(arguments
`(#:tests? #f ; not sure how tests are supposed to pass, even when run manually
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-python.h-path
(lambda* (#:key inputs #:allow-other-keys)
(let ((python (assoc-ref inputs "python")))
(substitute* "Makefile.in"
(("/usr/include/python") (string-append python "/include/python")))
#t))))))
(list
#:tests? #f ; not sure how tests are supposed to pass, even when run manually
#:configure-flags
#~(list "--without-python"
(string-append "--with-gpgme-prefix="
#$(this-package-input "gpgme")))
#:phases
#~(modify-phases %standard-phases
(add-before 'configure 'set-python-paths
(lambda* (#:key inputs #:allow-other-keys)
(let ((python #$(this-package-native-input "python")))
(setenv "PYTHON3"
(string-append python "/bin/python3"))
(setenv "PYTHON3_CONFIG"
(string-append python "/bin/python3-config"))))))))
(home-page "https://pagure.io/volume_key")
(synopsis "Manipulate storage volume encryption keys")
(description
+6 -1
View File
@@ -46,6 +46,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz))
(define-public boinc-client
@@ -108,7 +109,11 @@ resources). It supports virtualized, parallel, and GPU-based applications.")
"--with-gtk"
"--with-auth")))
(native-inputs
(list pkg-config autoconf automake which))
(list autoconf
automake
pkg-config
python-setuptools
which))
(inputs
(list avahi
gtk+
+1 -5
View File
@@ -37,7 +37,6 @@
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix deprecation)
#:use-module (guix search-paths)
#:use-module (guix utils)
@@ -313,7 +312,7 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
(base32 "1a5vd07wrnfbclvf6pz9p8ag9kdd1453lsl9q0bkyc45hq2xqd2a"))))
(build-system pyproject-build-system)
(native-inputs
(list python-django python-pytest python-pytest-cov python-setuptools))
(list python-django python-pytest python-setuptools))
(home-page "https://github.com/epicserve/django-cache-url")
(synopsis "Configure Django cache settings from URLs")
(description
@@ -404,7 +403,6 @@ and adapters that are useful for non-trivial configuration scenarios.")
python-factory-boy
python-pygments
python-pytest
python-pytest-cov ; runs by default
python-pytest-django
python-setuptools
python-shortuuid
@@ -1313,7 +1311,6 @@ server headers required for Cross-Origin Resource Sharing (CORS).")
python-mock
python-msgpack
python-pytest
python-pytest-cov
python-pytest-django
python-pytest-mock
python-setuptools
@@ -2170,7 +2167,6 @@ templates and not in python-level form definitions.")
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-pytest-cov ; runs by default
python-pytest-django
python-setuptools
python-wheel))
-1
View File
@@ -29,7 +29,6 @@
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
+3 -1
View File
@@ -41,6 +41,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
@@ -48,10 +49,10 @@
#:use-module (gnu packages gdb)
#:use-module (gnu packages libedit)
#:use-module (gnu packages llvm)
#:use-module (gnu packages ninja)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages textutils)
#:use-module (gnu packages xorg)
@@ -116,6 +117,7 @@
("ldc" ,gdmd)
("ninja" ,ninja)
("python-wrapper" ,python-wrapper)
("python-setuptools" ,python-setuptools)
("tzdata" ,tzdata-for-tests)
("unzip" ,unzip)))
(home-page "http://wiki.dlang.org/LDC")
+2 -2
View File
@@ -53,7 +53,6 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (srfi srfi-26))
;; The fetch-plan, install-plan and phases for docbook-xml tend to vary
@@ -666,7 +665,8 @@ the in DocBook SGML DTDs.")
(base32
"0yd09nypswy3q4scri1dg7dr99d7gd6r2dwx0xm81l9f4y32gs0n"))
(patches
(search-patches "dblatex-inkscape-1.0.patch"))))
(search-patches "dblatex-importlib.patch"
"dblatex-inkscape-1.0.patch"))))
(outputs '("out" "doc"))
(build-system pyproject-build-system)
(arguments
-1
View File
@@ -39,7 +39,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix utils)
#:use-module (gnu packages autotools)
+2 -4
View File
@@ -41,7 +41,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system qt)
#:use-module (guix deprecation)
@@ -490,9 +489,8 @@ inspired by Dash.")
(build-system gnu-build-system)
(arguments
(list
;; Essentially a lighter copy of the former python-build-system.
;; Using it rather than pyproject-build-system allows to edit the latter
;; without a texlive + haskell world rebuild.
;; Custom build steps to prevent using pyproject-build-system which
;; allows to edit the latter without a texlive + haskell world rebuild.
#:phases
#~(modify-phases %standard-phases
(delete 'bootstrap)
-1
View File
@@ -62,7 +62,6 @@
#:use-module (guix utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (ice-9 match))
(define-public treecc
-1
View File
@@ -25,7 +25,6 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject)
#:use-module ((guix build-system python) #:select (pypi-uri))
#:use-module (guix build-system r)
#:use-module (guix download)
#:use-module (guix gexp)
+4 -3
View File
@@ -40,7 +40,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
@@ -207,7 +206,7 @@ with Microsoft Compiled HTML (CHM) files.")
python-css-parser
python-cssselect
python-dateutil
python-dnspython-1.16
python-dnspython
python-feedparser
python-fonttools
python-html2text
@@ -283,7 +282,9 @@ tags = [\"WS_X11\"]")
(string-append "[tool.sip.project]
sip-include-dirs = [\""
#$(this-package-input "python-pyqt")
"/lib/python3.11/site-packages/PyQt6/bindings\"]")))
"/lib/python"
#$(version-major+minor (package-version python))
"/site-packages/PyQt6/bindings\"]")))
(substitute* "src/calibre/ebooks/pdf/pdftohtml.py"
(("PDFTOHTML = 'pdftohtml'")
(string-append "PDFTOHTML = \""
-1
View File
@@ -91,7 +91,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix build-system trivial)
#:use-module (srfi srfi-1))
+38 -35
View File
@@ -64,7 +64,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix deprecation)
#:use-module (guix download)
@@ -196,6 +195,10 @@
(add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file
(assoc-ref glib-or-gtk:%standard-phases
'generate-gdk-pixbuf-loaders-cache-file))
(add-after 'unpack 'fix-python-incompatibilities
(lambda _
(substitute* (find-files "." "\\.py$")
(("assertEquals") "assertEqual"))))
(add-before 'build 'set-home-env
(lambda _
(setenv "HOME" "/tmp")))
@@ -579,8 +582,10 @@ individual low-level driver modules.")
(build-system gnu-build-system)
(arguments
(list
#:imported-modules (append %default-gnu-imported-modules
%python-build-system-modules)
#:imported-modules %pyproject-build-system-modules
#:modules '((guix build gnu-build-system)
((guix build pyproject-build-system) #:prefix py:)
(guix build utils))
#:make-flags
#~(list (string-append "PREFIX=" #$output))
#:phases
@@ -607,7 +612,7 @@ individual low-level driver modules.")
(invoke "make" "-C" "examples/spm")
(invoke "make" "-C" "examples/simple"))))
(add-after 'install 'python:wrap
(@@ (guix build python-build-system) wrap)))))
(assoc-ref py:%standard-phases 'wrap)))))
(native-inputs
(list clang python-minimal-wrapper python-sphinx texinfo yosys))
(inputs
@@ -1672,6 +1677,10 @@ an embedded event driven algorithm.")
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
(("click>=8,<8.3") "click>=8"))))
(add-after 'compress-documentation 'wrap-program
(lambda _
(wrap-program (string-append #$output "/bin/librelane")
@@ -2252,7 +2261,10 @@ versus schematic} tests and can assist with automatic routing.")
(list
#:tests? #f ;there are no tests
#:imported-modules (append %qt-build-system-modules
%python-build-system-modules)
%pyproject-build-system-modules)
#:modules '((guix build qt-build-system)
((guix build pyproject-build-system) #:prefix py:)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'build-info-documentation
@@ -2281,7 +2293,7 @@ versus schematic} tests and can assist with automatic routing.")
(install-it "mcy")
(install-it "mcy-dash")))
(add-after 'make-install 'python:wrap
(@@ (guix build python-build-system) wrap)))))
(assoc-ref py:%standard-phases 'wrap)))))
(native-inputs
(list pkg-config
python-sphinx
@@ -2509,7 +2521,7 @@ Automation}, portable and vendor neutral FPGA place and route tool.")
(define-public nvc
(package
(name "nvc")
(version "1.20.1")
(version "1.21.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2518,7 +2530,7 @@ Automation}, portable and vendor neutral FPGA place and route tool.")
(file-name (git-file-name name version))
(sha256
(base32
"1b38x2ch468s4p6mrq6c8s0d95vb84p6w4v8in79l4w7sfy8jnr0"))))
"00hnrzk9dw88srfmjxxb9xkgnd5n26pmqlcw1bff1y0bckblsr38"))))
(build-system gnu-build-system)
(arguments
(list #:out-of-source? #t
@@ -3248,7 +3260,6 @@ Numpy arrays for convenience.")
(setenv "PDM_BUILD_SCM_VERSION" #$version))))))
(native-inputs
(list python-pdm-backend
python-pytest-cov
python-setuptools
python-setuptools-scm
sby
@@ -3427,8 +3438,12 @@ SystemVerilog, and SystemC, with conversion between languages and to JSON.")
inputs "include/antlr4-runtime"))
(antlr4cpp-lib (search-input-file
inputs "lib/libantlr4-runtime.so"))
(python-include (search-input-directory
inputs "include/python3.11")))
(python-include
(search-input-directory
inputs
(string-append
"include/python"
#$(version-major+minor (package-version python))))))
;; Patch CMake to use our paths directly.
(substitute* "src/CMake_antlr4.txt"
(("set\\(ANTLR_CLASSPATH \"\"\\)")
@@ -3593,15 +3608,16 @@ Standard} data mode.")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyvcd" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/SanDisk-Open-Source/pyvcd")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "15nnydvr1a4ykh8cagi484sfgvdg0dnjxaw6c0ivhjbrbblpaqnw"))))
(base32 "1a1fsgxmpy6gbrs7lp3a56b7d4g6srlp42y5azb1ywjx3w8fiwc6"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest-cov
python-setuptools
python-setuptools-scm))
(list python-pytest python-setuptools python-setuptools-scm))
(home-page "http://pyvcd.readthedocs.io/")
(synopsis "Library to manipulate digital wave files")
(description
@@ -3878,10 +3894,7 @@ Automation}.")
#$output "/share/info/hdlmake-figures")))))
#:test-flags #~(list "test_all.py")))
(native-inputs
(list python-pytest-cov
python-setuptools
python-sphinx
texinfo))
(list python-pytest python-setuptools python-sphinx texinfo))
(propagated-inputs (list python-networkx))
(home-page "https://ohwr.gitlab.io/project/hdl-make/")
(synopsis "Generate multi-purpose makefiles for HDL projects")
@@ -4044,18 +4057,9 @@ design.")
;; Tests are expensive and may introduce race condition on systems with
;; high (more than 16) threads count; limit parallel jobs to 8x.
#~(list
"--numprocesses" (number->string (min 8 (parallel-job-count))))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'pathch-pytest-options
(lambda _
(substitute* "pyproject.toml"
((".*--cov=.*") "")
((".*--self-contained-html.*") "")
((".*-n.*auto.*") "")))))))
"--numprocesses" (number->string (min 8 (parallel-job-count))))))
(native-inputs
(list python-pytest-cov
python-pytest-html
(list python-pytest
python-pytest-xdist
python-setuptools))
(propagated-inputs
@@ -4619,11 +4623,10 @@ them usable as simple logic analyzer and/or oscilloscope hardware.")
(list
#:parallel-tests? #f
#:test-target "test"
#:imported-modules %pyproject-build-system-modules
#:modules `((guix build gnu-build-system)
((guix build python-build-system) #:prefix python:)
((guix build pyproject-build-system) #:prefix python:)
(guix build utils))
#:imported-modules `(,@%default-gnu-imported-modules
(guix build python-build-system))
#:make-flags #~(list (string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases
+43 -62
View File
@@ -242,6 +242,7 @@
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-check)
#:use-module (gnu packages telephony)
@@ -14050,46 +14051,54 @@ libraries from Swagger specs.")
#:imported-modules (append %emacs-build-system-modules
%pyproject-build-system-modules)
#:modules '((guix build emacs-build-system)
((guix build python-build-system) #:prefix py:)
((guix build pyproject-build-system) #:prefix py:)
(guix build emacs-utils)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'avoid-server-installation-for-tests
(lambda _
(substitute* "Makefile"
;; Disable tox since it's only configured for python 3.8 and
;; python 3.9 by the project--that's ancient.
(("tox")
"echo tox")
(("env: .*$")
(string-append "env: " #$output "/bin/jediepcserver\n")))))
(add-after 'unpack 'ensure-no-mtimes-pre-1980
(assoc-ref py:%standard-phases 'ensure-no-mtimes-pre-1980))
(add-before 'check 'setenv
(lambda _
(setenv "HOME" "/tmp")))
(add-after 'ensure-no-mtimes-pre-1980 'relax-python-requirements
(lambda _
;; Argparse should only be required for Python < 3.2
;; (see: https://github.com/tkf/emacs-jedi/issues/365).
(substitute* "setup.py"
((".*argparse.*") ""))))
(add-after 'relax-python-requirements 'python:add-install-to-pythonpath
(assoc-ref py:%standard-phases 'add-install-to-pythonpath))
(add-after 'python:add-install-to-pythonpath 'python:install
(assoc-ref py:%standard-phases 'install))
(add-after 'python:install 'python:wrap
(assoc-ref py:%standard-phases 'wrap))
(add-after 'python:wrap 'patch-jedi:server-command
(lambda* (#:key outputs #:allow-other-keys)
(emacs-substitute-variables "jedi-core.el"
("jedi:server-command"
`(list ,(search-input-file outputs "bin/jediepcserver")))))))))
(with-extensions (list (pyproject-guile-json))
#~(modify-phases %standard-phases
(add-after 'unpack 'avoid-server-installation-for-tests
(lambda _
(substitute* "Makefile"
;; Disable tox since it's only configured for python 3.8 and
;; python 3.9 by the project--that's ancient.
(("tox")
"echo tox")
(("env: .*$")
(string-append "env: " #$output "/bin/jediepcserver\n")))))
(add-after 'unpack 'ensure-no-mtimes-pre-1980
(assoc-ref py:%standard-phases 'ensure-no-mtimes-pre-1980))
(add-before 'check 'setenv
(lambda _
(setenv "HOME" "/tmp")))
(add-after 'ensure-no-mtimes-pre-1980 'relax-python-requirements
(lambda _
;; Argparse should only be required for Python < 3.2
;; (see: https://github.com/tkf/emacs-jedi/issues/365).
(substitute* "setup.py"
((".*argparse.*") ""))))
(add-after 'relax-python-requirements 'python:build
(assoc-ref py:%standard-phases 'build))
(add-after 'python:build 'python:add-install-to-pythonpath
(assoc-ref py:%standard-phases 'add-install-to-pythonpath))
(add-after 'python:add-install-to-pythonpath 'python:install
(assoc-ref py:%standard-phases 'install))
(add-after 'python:install 'python:create-entrypoints
(assoc-ref py:%standard-phases 'create-entrypoints))
(add-after 'python:create-entrypoints 'python:wrap
(assoc-ref py:%standard-phases 'wrap))
(add-after 'python:wrap 'patch-jedi:server-command
(lambda* (#:key outputs #:allow-other-keys)
(emacs-substitute-variables "jedi-core.el"
("jedi:server-command"
`(list ,(search-input-file outputs "bin/jediepcserver"))))))))))
(native-inputs (list emacs-mocker python-wrapper))
(inputs (list python-wrapper python-epc python-jedi)) ;wrapped
(propagated-inputs
(list emacs-auto-complete emacs-python-environment emacs-epc))
(list emacs-auto-complete
emacs-python-environment
emacs-epc
python-setuptools))
(home-page "https://github.com/tkf/emacs-jedi")
(synopsis "Provides Python completion in Emacs")
(description
@@ -15517,34 +15526,6 @@ underlying library functionality for performing various activities related to
the game of chess.")
(license license:gpl3+)))
(define-public emacs-4clojure
;; There is no release. Base version is extracted from Version keyword in
;; the main file.
(let ((commit "4eccf8c7d4341a36c269451838114b27836699f9")
(revision "1"))
(package
(name "emacs-4clojure")
(version (git-version "0.2.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/emacsorphanage/4clojure")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "19x653lzc1dxil4ix257hciidbdmbhaxhs6qhlkwi9ygjrlrgvnk"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-request))
(home-page "https://github.com/emacsorphanage/4clojure/")
(synopsis "Open and evaluate 4clojure questions in Emacs")
(description "Emacs 4clojure interacts with
@url{http://www.4clojure.com, 4clojure} problems. You can open a specific
question and move to the next or previous one. You can also verify your
answers.")
(license license:gpl3+))))
(define-public emacs-base16-theme
(package
(name "emacs-base16-theme")
+1 -8
View File
@@ -45,7 +45,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module ((guix build utils) #:select (alist-replace delete-file-recursively))
#:use-module (gnu packages)
@@ -2037,13 +2036,7 @@ whereas kdmx creates pseudo-ttys.")
;; tests: 631 passed, 27 skipped, 1 warning
#:test-flags
;; E ModuleNotFoundError: No module named 'mbed_tools_ci_scripts'
#~(list "--ignore=tests/ci_scripts/test_sync_board_db.py")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-pytest-config
(lambda _
(substitute* "pytest.ini"
(("addopts = .*") "")))))))
#~(list "--ignore=tests/ci_scripts/test_sync_board_db.py")))
(native-inputs
(list python-factory-boy
python-pytest
+1 -2
View File
@@ -68,6 +68,7 @@
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
@@ -107,7 +108,6 @@
#:use-module (gnu packages music)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages ninja)
#:use-module (gnu packages parallel)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pretty-print)
@@ -140,7 +140,6 @@
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system qt)
#:use-module (guix build-system trivial))
-1
View File
@@ -41,7 +41,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix licenses)
#:use-module (srfi srfi-1))
+77 -66
View File
@@ -77,7 +77,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -1673,7 +1672,7 @@ multiple services and devices with hundreds of supported integrations.")
(define-public python-esptool
(package
(name "python-esptool")
(version "5.0.2")
(version "5.2.0")
(source
(origin
(method git-fetch)
@@ -1682,7 +1681,7 @@ multiple services and devices with hundreds of supported integrations.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1wl75j6ncm5lahy9pzc38qivhaf9p42a2bijishdkwkw388fs6x1"))))
(base32 "0rgwa7mimznwkn8ql17yxwxsfp0is3i75y7bf62mgsxjyx7zawcd"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -1931,21 +1930,55 @@ r2ghidra.")
(define-public rayforge
(package
(name "rayforge")
(version "1.0.2")
(version "1.7.7") ;newer version requires python-raygeo (Rust)
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/barebaric/rayforge")
(commit version)))
(url "https://github.com/barebaric/rayforge")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1c6dl0x3pafmh4p533jbk2cj73q90vz1797jya3hzzxdv0h383yc"))))
(base32 "1w44qw51nynf1rk61y0d0wj6xl66ciswpcsp38dnwrpfwsqgafxw"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 1626 passed
#:test-flags
;; XXX: Tests fail to pick exact version of cairo: E gi.RepositoryError:
;; Typelib file for namespace 'cairo', version '1.0' not found
#~(list "--ignore=tests/core/geo/test_font_config.py"
"--ignore=tests/core/geo/test_geo_text.py"
"--ignore=tests/core/geo/test_geometry.py"
"--ignore=tests/core/geo/test_text.py"
"--ignore=tests/core/geo/test_transform.py"
;; XXX: Projects ships a huge test suite which the majority
;; fail, run bare minimal core tests.
"tests/core")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
;; All of the dependencies are pined to exact version.
(substitute* "requirements.txt"
(("[=~]=.*") "\n")
;; XXX: Guix's opencv package does not provide Python's
;; version metadata.
(("opencv_python") ""))))
(add-before 'sanity-check 'set-home
(lambda _
(setenv "HOME" "/tmp")))
(add-before 'check 'remove-local-source
(lambda _
(delete-file-recursively "rayforge")))
(add-after 'wrap 'wrap-rayforge
(lambda _
(wrap-program (string-append #$output "/bin/rayforge")
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))))))))
(native-inputs (list python-gitpython
python-pytest
python-pytest-asyncio
python-pytest-cov
python-pytest-mock
python-setuptools))
(inputs (list bash-minimal
@@ -1955,54 +1988,27 @@ r2ghidra.")
python-asyncudp
python-blinker
python-ezdxf
python-gitpython
python-numpy
python-platformdirs
python-pluggy
python-pycairo
python-pyclipper
python-pygobject
python-pymupdf
python-pyopengl
python-pyopengl-accelerate
python-pypdf
python-pyserial-asyncio
python-pyserial
python-pyvips
python-pyyaml
python-scipy
python-semver
python-svgelements
python-trimesh
python-websockets
vtracer))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'write-version-file
(lambda _
(call-with-output-file "rayforge/version.txt"
(lambda (port)
(display #$version port)))
(let ((port (open-file "MANIFEST.in" "a")))
(display "include rayforge/version.txt\n" port)
(close-port port))))
(add-after 'unpack 'fix-tests
(lambda _
(mkdir "tmp-home")
(setenv "HOME"
(string-append (getcwd) "/tmp-home"))
;; Fix abstract class test for older Python error message format
(substitute* "tests/pipeline/stage/test_base_stage.py"
(("without an implementation for abstract method 'reconcile'")
"abstract method '?reconcile'?"))
;; Fix arc fitting test: add looser tolerance for floating point comparison
(substitute* "tests/core/geo/test_fitting.py"
(("(assert np\\.allclose\\(.*, \\(-10\\.0, 0\\.0\\))" match)
(string-append match ", atol=1e-3")))))
(delete 'sanity-check) ; Tests against python package version of rayforge
(add-after 'wrap 'wrap-rayforge
(lambda _
(wrap-program (string-append #$output "/bin/rayforge")
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))))))))
(home-page "https://github.com/barebaric/rayforge")
(home-page "https://rayforge.org/")
(synopsis "Desktop application for laser cutting and engraving")
(description
"Rayforge is a cross-platform 2D CAD and G-code control software designed
@@ -2484,7 +2490,6 @@ Newton-Raphson power flow solvers in the C++ library lightsim2grid, and the
python-networkx
python-openpyxl
python-pytest
python-pytest-cov ; --cov runs by default on skrf
python-pytest-mock
python-pyvisa
python-setuptools
@@ -3019,20 +3024,22 @@ interpolation toolkit.")
(define-public python-motulator
(package
(name "python-motulator")
(version "0.5.0")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "motulator" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/Aalto-Electric-Drives/motulator/")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1kh13zfa4w73q04pny2w2zgym47fp8xy7glwfx82fdx4fihk7dv7"))))
(base32 "1di2r1i19jl751v0hj426zkwk48w5yf8zpw2bl6qzk0vq4z2vpbw"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ; there are no tests
(propagated-inputs (list python-matplotlib python-numpy python-scipy))
(native-inputs (list python-hatchling
python-ipykernel
python-toml))
(propagated-inputs
(list python-numpy python-matplotlib python-scipy python-tqdm))
(native-inputs (list python-hatchling))
(home-page "https://aalto-electric-drives.github.io/motulator/")
(synopsis "Motor Drive Simulator in Python")
(description "This package includes simulation models for an induction
@@ -4176,10 +4183,6 @@ BOM creation and has a lot of extra features.")
(sha256
(base32 "19fi0y0lk45cyampczgh3kz2swai4zcgzkffp0xf5h55rxxrdpvk"))))
(build-system cmake-build-system)
(inputs
(list protobuf
python
python-sip-4))
(arguments
`(#:tests? #f
#:configure-flags '("-DBUILD_EXAMPLES=OFF")
@@ -4200,6 +4203,11 @@ BOM creation and has a lot of extra features.")
(package-version python))
"/site-packages"
" Python3_SITEARCH"))))))))
(inputs
(list protobuf
python
python-sip-4))
(native-inputs (list python-setuptools))
(home-page "https://github.com/Ultimaker/libArcus")
(synopsis "Communication library for Ultimaker software components")
(description "This library contains C++ code and Python3 bindings for
@@ -4418,15 +4426,6 @@ problem. It was inspired from the SVGNest Javascript library.")
(sha256
(base32 "0jhqfylg6vzlbz9rqs981bg6y8s18iklw1p8hmax72xq2c7561s1"))))
(build-system cmake-build-system)
(native-inputs
(list pkg-config))
(inputs
(list boost
clipper
libnest2d-for-cura
nlopt
python
python-sip-4))
(arguments
`(#:tests? #f
#:phases
@@ -4446,6 +4445,16 @@ problem. It was inspired from the SVGNest Javascript library.")
(string-append path " Python3_SITEARCH"))
(("\\$\\{_process_output\\} Python3_SITELIB")
(string-append path " Python3_SITELIB")))))))))
(native-inputs
(list pkg-config
python-setuptools))
(inputs
(list boost
clipper
libnest2d-for-cura
nlopt
python
python-sip-4))
(home-page "https://github.com/Ultimaker/pynest2d")
(synopsis "Python bindings for libnest2d")
(description
@@ -4490,8 +4499,6 @@ belongs to the Cura project from Ultimaker.")
(sha256
(base32 "1cq85x0xizsjwf9nl7v7x4i9vl335mgv2lda3q2c9fcwrndsc3wk"))))
(build-system cmake-build-system)
(inputs
(list python python-sip-4))
(arguments
`(#:tests? #f ; No test suite.
#:phases
@@ -4508,6 +4515,8 @@ belongs to the Cura project from Ultimaker.")
(string-append path " Python3_SITEARCH"))
(("\\$\\{_process_output\\} Python3_SITELIB")
(string-append path " Python3_SITELIB")))))))))
(inputs (list python python-sip-4))
(native-inputs (list python-setuptools))
(home-page "https://github.com/Ultimaker/libSavitar")
(synopsis "C++ implementation of 3mf loading with SIP python bindings")
(description "LibSavitar is a C++ implementation of 3mf loading with SIP
@@ -4950,7 +4959,9 @@ and mogan.")
(("'\" [+] python_path [+]")
(string-append "'\" + std::string(\""
(assoc-ref outputs "out")
"/lib/python3.11/site-packages"
"/lib/python"
#$(version-major+minor (package-version python))
"/site-packages"
"\") +")))))
(add-before 'check 'prepare-checks
(lambda _
-1
View File
@@ -30,7 +30,6 @@
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
-2
View File
@@ -29,7 +29,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils)
#:use-module (gnu packages)
@@ -245,7 +244,6 @@ seamlessly with your desktop environment.")
(native-inputs
(list nss-certs-for-test
python-pytest
python-pytest-cov
python-pytest-mock
python-pytest-recording
python-pytest-retry
+4 -153
View File
@@ -52,7 +52,6 @@
#:use-module (guix build-system go)
#:use-module (guix build-system linux-module)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix build-system trivial)
#:use-module (guix utils)
@@ -1508,158 +1507,6 @@ can create and compare snapshots, revert differences between them, and
supports automatic snapshots timelines.")
(license license:gpl2)))
(define-public xfstests
;; The last release (1.1.0) is from 2011.
(let ((revision "3")
(commit "8de535c53887bb49adae74a1b2e83e77d7e8457d"))
(package
(name "xfstests")
(version (git-version "1.1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1sbkryl04xflrk6jb4fsl3h2whilj5m3vpdkpwwb26idp7ckjjv6"))))
(build-system gnu-build-system)
(arguments
(list
#:configure-flags
#~'("CFLAGS=-Wno-error=implicit-int")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-tool-locations
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "common/config"
;; Make absolute file names relative.
(("(MKFS_PROG=\").*(\")" _ pre post)
(string-append pre "mkfs" post)))
(for-each (lambda (file)
(substitute* file
(("( -s|#.|[= ])(/bin/sh|/bin/bash)" _ pre match)
(string-append pre
(search-input-file inputs match)))
(("/bin/(rm|true)" match)
(search-input-file inputs match))
(("/usr(/bin/time)" _ match)
(search-input-file inputs match))))
(append (find-files "common" ".*")
(find-files "tests" ".*")
(find-files "tools" ".*")
(find-files "src" "\\.(c|sh)$")))))
(replace 'bootstrap
(lambda* (#:key make-flags #:allow-other-keys)
(substitute* "Makefile"
;; Avoid a mysterious (to me) permission denied error.
(("cp ") "cp -f "))
(substitute* "m4/package_utilies.m4"
;; Fix the bogus hard-coded paths for every single binary.
(("(AC_PATH_PROG\\(.*, ).*(\\))" _ pre post)
(string-append pre (getenv "PATH") post)))
(apply invoke "make" "configure" make-flags)))
(add-after 'install 'wrap-xfstests/check
;; Keep wrapping distinct from 'create-helper-script below: users
;; must be able to invoke xfstests/check directly if they prefer.
(lambda* (#:key inputs #:allow-other-keys)
(wrap-program (string-append #$output "/xfstests/check")
;; Prefix the user's PATH with the minimum required tools.
;; The suite has many other optional dependencies and will
;; automatically select tests based on the original PATH.
`("PATH" ":" prefix
,(map (lambda (file)
(dirname (search-input-file inputs file)))
(list "bin/setfacl" ; acl
"bin/attr" ; attr
"bin/bc" ; bc
"bin/df" ; coreutils
"bin/hostname" ; inetutils
"bin/perl" ; perl
"sbin/mkfs.xfs")))))) ; xfsprogs
(add-after 'install 'create-helper
;; Upstream installs only a check script that's not in $PATH and
;; would try to write to the store without explaining how to change
;; that. Install a simple helper script to make it discoverable.
(lambda* (#:key inputs #:allow-other-keys)
(let* ((check (string-append #$output "/xfstests/check"))
(bin (string-append #$output "/bin"))
(helper (string-append bin "/xfstests-check")))
(mkdir-p bin)
(with-output-to-file helper
(lambda _
(format #t "#!~a --no-auto-compile\n!#\n"
(search-input-file inputs "/bin/guile"))
(write
`(begin
(define (try proc dir)
"Try to PROC DIR. Return DIR on success, else #f."
(with-exception-handler (const #f)
(lambda _ (proc dir) dir)
#:unwind? #t))
(define args
(cdr (command-line)))
(when (or (member "--help" args)
(member "-h" args))
(format #t "Usage: ~a [OPTION]...
This Guix helper sets up a new writable RESULT_BASE if it's unset, then executes
xfstest's \"~a\" command (with any OPTIONs) as documented below.\n\n"
,(basename helper)
,(basename check)))
(let* ((gotenv-base (getenv "RESULT_BASE"))
(base (or gotenv-base
(let loop ((count 0))
(or (try mkdir
(format #f "xfstests.~a"
count))
(loop (+ 1 count))))))
(result-base (if (string-prefix? "/" base)
base
(string-append (getcwd) "/"
base))))
(setenv "RESULT_BASE" result-base)
;; CHECK must run in its own directory or will fail.
(chdir ,(dirname check))
(let ((status
(status:exit-val (apply system* ,check args))))
(unless gotenv-base
(try rmdir result-base))
status))))))
(chmod helper #o755)))))))
(native-inputs
(list autoconf automake libtool))
(inputs
(list acl
attr
bash-minimal
bc
guile-3.0 ; for our xfstests-check helper script
inetutils
`(,util-linux "lib")
perl
time
xfsprogs))
(home-page "https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git")
(synopsis "File system @acronym{QA, Quality Assurance} test suite")
(description
"The @acronym{FSQA, File System Quality Assurance} regression test suite,
more commonly known as xfstests, comprises over 1,500 tests that exercise
(@dfn{torture}) both the user- and kernel-space parts of many different file
systems.
As the package's name subtly implies, it was originally developed to test the
XFS file system. Today, xfstests is the primary test suite for all major file
systems supported by the kernel Linux including XFS, ext4, and Btrfs, but also
virtual and network file systems such as NFS, 9P, and the overlay file system.
The packaged @command{check} script is not in @env{PATH} but can be invoked
with the included @command{xfstests-check} helper.")
(license license:gpl2))))
(define-public zfs
(package
(name "zfs")
@@ -2072,6 +1919,10 @@ local file system using FUSE.")
(sha256
(base32 "09409sjncz7n9m2ia5nfzy10q7c23dvpgjdkc3j9bjs4f5hvc9aq"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-backend #~'custom
#:test-flags #~(list "bitmasklist_test.py")))
(native-inputs
(list python-setuptools
python-setuptools-scm))
+44 -74
View File
@@ -71,7 +71,6 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system emacs)
#:use-module (guix build-system haskell)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system go)
@@ -130,7 +129,6 @@
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages ninja)
#:use-module (gnu packages nss)
#:use-module (gnu packages perl)
#:use-module (gnu packages pdf)
@@ -651,49 +649,6 @@ It's not clear at the moment whether one day it will be possible to
do so.")
(license license:agpl3+)))
(define-public libbwt-jni
(package
(name "libbwt-jni")
(version "0.2.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bwt-dev/libbwt-jni")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1xbb8ad6rlpg972rnf7fipgzz6ry7yzbnxacgisqpkcjnw768zy5"))
(snippet
'(begin
(use-modules (guix build utils))
(delete-file-recursively "bwt")
(substitute* "Cargo.toml"
(("path = \"./bwt\"")
"version = \"0.2.4\""))))))
(build-system cargo-build-system)
(arguments
(list
#:install-source? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-lib
(lambda _
(install-file "target/release/libbwt_jni.so"
(string-append #$output "/lib")))))))
(inputs (cons (package-source bwt)
(cargo-inputs 'libbwt-jni)))
(home-page "https://github.com/bwt-dev/libbwt-jni")
(synopsis "Java Native Interface bindings for Bitcoin Wallet Tracker")
(description "Libbwt-jni is Java Native Interface bindings for Bitcoin
Wallet Tracker, a lightweight personal indexer for Bitcoin wallets.
Libbwt-jni allows you to programmatically manage bwt's Electrum RPC and HTTP
API servers. It can be used as a compatibility layer for easily upgrading
Electrum-backed wallets to support a Bitcoin Core full node backend (by
running the Electrum server in the wallet), or for shipping software that
integrates bwt's HTTP API as an all-in-one package.")
(license license:expat)))
(define-public python-electrum-ecc
(package
(name "python-electrum-ecc")
@@ -1328,7 +1283,7 @@ Ledger Blue/Nano S.")
(define-public python-trezor
(package
(name "python-trezor")
(version "0.13.7")
(version "0.20.0")
(source
(origin
(method git-fetch)
@@ -1337,7 +1292,7 @@ Ledger Blue/Nano S.")
(commit (string-append "python/v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "13wyl9b15c8iscfakprwfvh2akw180hfqdjww79b78ywz51y7hdh"))
(base32 "06d4mw8iydgv2c3qxa47482k7dqpg89a2b6wd8f4g15ydn3gsfmn"))
(modules
'((guix build utils)
(srfi srfi-26)
@@ -1375,26 +1330,32 @@ Ledger Blue/Nano S.")
"test_legacy_basic"
"test_unsigned"
"test_vendor_header")
" and not "))))
" and not "))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
(("platformdirs>=4.4.0") "platformdirs")))))))
(propagated-inputs
(list python-attrs
python-click
(list python-click
python-construct
python-construct-classes
python-ecdsa
python-hidapi
python-cryptography
python-keyring
python-libusb1
python-mnemonic
python-noiseprotocol
python-platformdirs
python-requests
python-shamir-mnemonic
python-slip10
python-typing-extensions))
(native-inputs ; Only needed for running the tests
(native-inputs
(list nss-certs-for-test
protobuf
python-pytest
python-pillow
python-protobuf
python-pyqt
python-pytest
python-simple-rlp))
python-hatchling
python-setuptools
python-pytest))
(home-page "https://github.com/trezor/python-trezor")
(synopsis "Python library for communicating with TREZOR Hardware Wallet")
(description "@code{trezor} is a Python library for communicating with
@@ -1621,10 +1582,7 @@ features:
(sha256
(base32 "0yir8hka3vmpk0qhiaffagkdjg3mjgai808s0razsggbd5cn80bb"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-pytest-cov
python-setuptools))
(native-inputs (list python-pytest python-setuptools))
(home-page "https://arthurdejong.org/python-stdnum/")
(synopsis "Python module to handle standardized number and code formats")
(description
@@ -1716,19 +1674,26 @@ main features are:
(define-public silkaj
(package
(name "silkaj")
(version "0.12.1")
;; 0.12.1 (2025-07-08), all tests passed on the latest commit, revert back
;; to git tag when released.
(properties '((commit . "dabe484ba1871030be33a1473ee473004e102763")
(revision . "0")))
(version (git-version "0.12.1"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.duniter.org/clients/python/silkaj")
(commit (string-append "v" version))))
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32 "0prglgwvzi676h4lyw9266sqiqbfs2l0mv0bmjvplvdxzzcs63bv"))))
(base32 "08wg4q3y747apj5phq4ghjgg9cdr8mnyzjspjvd8v9qz08v5zg6b"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 224 passed, 4 skipped, 2 deselected
#:test-flags
;; They require Poetry in the PATH.
#~(list "--ignore=tests/integration/"
@@ -2147,7 +2112,10 @@ it can easily generate custom reports specific to accounting purposes.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0zlanw88dq7czgsdvqwz2fgxamyrfnx15ymv4d7fnjrj04glpg47"))))
(base32 "0zlanw88dq7czgsdvqwz2fgxamyrfnx15ymv4d7fnjrj04glpg47"))
;; TODO: Remove in the next release:
;; https://github.com/beancount/beangulp/commit/254bfb38ffed
(patches (search-patches "python-beangulp-click-8.2-compat.patch"))))
(build-system pyproject-build-system)
(propagated-inputs
(list beancount
@@ -2215,12 +2183,18 @@ software Beancount with a focus on features and usability.")
(sha256
(base32 "18kdic6rg9qizam6cgd2ljpapwiqh2dc3s6wsaz46kjc1yhhwjqy"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ;no tests
(propagated-inputs (list fava))
(native-inputs (list python-pdm-backend))
(home-page "https://github.com/stenius/fava-envelope-airmail")
(synopsis "Envelope budgeting for Fava/Beancount")
(description "Envelope budgeting for Fava/Beancount with stats, scheduled
transactions, and color-coded UI.")
(description
"Envelope budgeting for Fava/Beancount with stats, scheduled
transactions, and color-coded UI. It's a fork of
@url{https://github.com/memst/fava-envelope} (itself a fork of
@url{https://github.com/polarmutex/fava-envelope}) that adds several
enhancements for envelope budgeting.")
(license license:expat)))
(define-public emacs-beancount
@@ -2507,10 +2481,6 @@ analysis of financial market data.")
(base32 "13g5338aa8vgkx8g94vz5d8ynfq3jndvyh1nz6dlhw4axwr4x8dp"))))
(properties '(("upstream-name" #{.}# "mt-940")))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list "-c" "/dev/null"))) ; Remove custom --cov flags.
(native-inputs (list python-pytest python-pyyaml python-setuptools))
(home-page "https://mt940.readthedocs.io/")
(synopsis "Python parser for MT940-encoded SWIFT data")
-1
View File
@@ -47,7 +47,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
-1
View File
@@ -49,7 +49,6 @@
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix download)
#:use-module (guix gexp)
+27
View File
@@ -74,6 +74,7 @@
;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu>
;;; Copyright © 2026 Joan Vilardaga Castro <codeberg-hn80@joanvc.cat>
;;; Copyright © 2026 Sughosha <sughosha@disroot.org>
;;; Copyright © 2026 bdunahu <bdunahu@operationnull.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2817,6 +2818,32 @@ family.")
(define-deprecated-package font-adobe-source-serif-pro
font-adobe-source-serif)
(define-public font-medieval-sharp
;; No releases, use newest commit.
(let ((commit "ee7510b6b13854fd340e7d2e44c218780f672cd1")
(revision "1"))
(package
(name "font-medieval-sharp")
;; From FONTLOG.txt.
(version (git-version "3.1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/wmk69/Medieval-Sharp")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1r300591pra4nxpm5kppl5q3ihsp01wk2zh24f9pvv0jgf1ik87x"))))
(build-system font-build-system)
(home-page "https://github.com/wmk69/Medieval-Sharp")
(synopsis "Font based on gothic letters")
(description
"Medieval Sharp is a font created for inscriptions on stone, based on
gothic letters.")
(license license:silofl1.1))))
(define-public font-microsoft-cascadia
(package
(name "font-microsoft-cascadia")
+53 -6
View File
@@ -47,6 +47,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages datastructures)
@@ -69,7 +70,6 @@
#:use-module (gnu packages linux)
#:use-module (gnu packages man)
#:use-module (gnu packages mc)
#:use-module (gnu packages ninja)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
@@ -96,7 +96,6 @@
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix utils)
#:use-module (srfi srfi-1))
@@ -473,6 +472,53 @@ font design software, it allows you to join, split, offset, and perform many
other operations on paths.")
(license license:expat)))
(define-public python-booleanoperations
(package
(name "python-booleanoperations")
(version "0.9.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/typemytype/booleanOperations")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0ahfgamyq1ndwbr9n8sdx8qhqc2195xnbahylgjpk877hbr2gxav"))))
(build-system pyproject-build-system)
(arguments
(list
;; Some tests fail due to small differences in the expected result (see:
;; <https://github.com/typemytype/booleanOperations/issues/69>).
#:test-flags
#~(list "-k"
(string-join
(list "not test_QTail_reversed_difference"
"test_QTail_reversed_intersection"
"test_QTail_reversed_union"
"test_QTail_reversed_xor"
"test_Q_difference"
"test_Q_intersection"
"test_Q_union"
"test_Q_xor")
" and not "))))
(native-inputs
(list python-defcon-bootstrap
python-fontpens-bootstrap
python-pytest
python-setuptools
python-setuptools-scm))
(propagated-inputs
(list python-fonttools-minimal
python-pyclipper))
(home-page "https://github.com/typemytype/booleanOperations")
(synopsis "Boolean operations on paths")
(description
"Boolean operations on paths which uses a super fast
@url{http://www.angusj.com/delphi/clipper.php, polygon clipper library by
Angus Johnson}.")
(license license:expat)))
(define-public python-cffsubr
(package
(name "python-cffsubr")
@@ -574,7 +620,6 @@ for fontTools.")
(list python-cython
python-defcon
python-pytest
python-pytest-runner
python-setuptools
python-setuptools-scm
python-wheel
@@ -701,8 +746,7 @@ implementing the pen protocol for manipulating glyphs.")
(modify-inputs native-inputs
(append python-fontparts-bootstrap
python-fontpens-bootstrap
python-pytest
python-pytest-runner))))))
python-pytest))))))
;;; A variant used to break a cycle with python-fontpens.
(define-public python-fontparts-bootstrap
@@ -983,7 +1027,6 @@ suite of the @code{psautohint} package.")
(native-inputs
(list psautohint-font-data
python-pytest
python-pytest-cov
python-pytest-xdist
python-setuptools-scm
python-setuptools
@@ -1827,6 +1870,10 @@ definitions.")
pango
potrace
python
;; XXX: Python 3.12 lacks distutils:
;; ModuleNotFoundError: No module named 'distutils'
;; Remove when package is updated.
python-setuptools-bootstrap
zlib))
(arguments
(append
+42 -37
View File
@@ -75,7 +75,6 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system qt)
#:use-module (guix search-paths)
@@ -1379,41 +1378,43 @@ For information about libevdev, see:
(license license:expat)))
(define-public python-pyxdg
(package
(name "python-pyxdg")
(version "0.28")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyxdg" version))
(sha256
(base32
"1d48bqwkbnpid80cpwz6h62i112laxl0ivpj58hdyd79fhqbnrrj"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; Tests failing with error: AssertionError: 'image' != 'inode'
#~(list "--deselect=test/test_mime.py::MimeTest::test_get_type"
"--deselect=test/test_mime.py::MimeTest::test_get_type2")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
(setenv "XDG_DATA_DIRS"
(string-append #$(this-package-native-input "shared-mime-info")
"/share/")))))))
(native-inputs
(list shared-mime-info
hicolor-icon-theme
python-pytest
python-setuptools))
(home-page "https://www.freedesktop.org/wiki/Software/pyxdg")
(synopsis "Implementations of freedesktop.org standards in Python")
(description
"PyXDG is a collection of implementations of freedesktop.org standards in
;; Latest unreleased commits add Python 3.12, 3.14 and 3.15 support.
(let ((commit "63033ac306aa26d32e1439417e59ae8f8a4c9820")
(revision "0"))
(package
(name "python-pyxdg")
(version "0.28")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.freedesktop.org/xdg/pyxdg")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"10wk95rmcr2fglmvmv1a6ad9hkw9587r0rlww0gq6kbfz85whgmd"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
(setenv "XDG_DATA_DIRS"
(string-append #$(this-package-native-input "shared-mime-info")
"/share/")))))))
(native-inputs
(list shared-mime-info
hicolor-icon-theme
python-pytest
python-setuptools))
(home-page "https://www.freedesktop.org/wiki/Software/pyxdg")
(synopsis "Implementations of freedesktop.org standards in Python")
(description
"PyXDG is a collection of implementations of freedesktop.org standards in
Python.")
(license license:lgpl2.0)))
(license license:lgpl2.0))))
(define-public hyprland-protocols
(package
@@ -1971,6 +1972,10 @@ message bus.")
"-Dsystemdsystemunitdir=/tmp/empty")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-python-incompatibilities
(lambda _
(substitute* (find-files "tests" "\\.py$")
(("assertEquals") "assertEqual"))))
(add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "meson_post_install.py"
@@ -2178,7 +2183,7 @@ which speak the Qualcomm MSM Interface (QMI) protocol.")
libxslt ;for xsltproc
pkg-config
python-minimal
python-dbus-1.2 ;for test
python-dbus ;for test
python-pygobject ;for test
vala))
(propagated-inputs
@@ -2372,7 +2377,7 @@ different sorts of messages in different formats.")
(base32 "02wb61h2k3hhis5y2xi5rhc6pmikd13x722hk620sqb9b3m5pn3s"))))
(build-system gnu-build-system)
(native-inputs (list autoconf automake libtool pkg-config))
(inputs (list libxslt python-wrapper python-dbus-1.2))
(inputs (list libxslt python-wrapper python-dbus))
(propagated-inputs (list telepathy-glib))
(home-page "https://telepathy.freedesktop.org/")
(synopsis "Telepathy IRC connection manager")
+7 -5
View File
@@ -70,7 +70,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system renpy)
#:use-module (guix build-system scons)
#:use-module (gnu packages)
@@ -1751,13 +1750,16 @@ color switches, and many more, with multiple options to customize.")
(define-public python-pygame-ce
(package
(name "python-pygame-ce")
(version "2.5.5")
(version "2.5.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pygame_ce" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/pygame-community/pygame-ce")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0sxfchimdg606z65qychgvm66mq0aybs2isxsqb5zqy64g19gwm7"))))
(base32 "1awvs4wa9fgm8xldsxzdx1knijjpzz560lzj3rjvks3gcw8szhzx"))))
(build-system pyproject-build-system)
(arguments
(list
+113 -55
View File
@@ -98,6 +98,7 @@
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu>
;;; Copyright © 2026 Nikita Alkhovik <forgoty13@gmail.com>
;;; Copyright © 2026 bdunahu <bdunahu@operationnull.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -200,7 +201,6 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages netpbm)
#:use-module (gnu packages networking)
#:use-module (gnu packages ninja)
#:use-module (gnu packages ocaml)
#:use-module (gnu packages oneapi)
#:use-module (gnu packages opencl)
@@ -1957,7 +1957,7 @@ real-time combat.")
(define-public golly
(package
(name "golly")
(version "4.2")
(version "5.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/golly/golly/golly-"
@@ -1965,47 +1965,53 @@ real-time combat.")
"-src.tar.gz"))
(sha256
(base32
"0pg9cp83nxc354lizgza5bqdy7z5wh36863203zw6r6s4flji4an"))))
"049n634abxfpgh4imh3s5qqfn9nbwmcl6jm91f29ngqm53jcsdaq"))))
(build-system gnu-build-system)
(arguments
'(#:make-flags (list "CC=gcc"
(string-append "GOLLYDIR="
(assoc-ref %outputs "out")
"/share/golly"))
#:tests? #f ; no check target
#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'build
(lambda* (#:key make-flags outputs #:allow-other-keys)
(with-directory-excursion "gui-wx"
(apply invoke `("make" ,@make-flags "-f" "makefile-gtk")))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(doc (string-append out "/share/doc/golly"))
(pixmaps (string-append out "/share/pixmaps"))
(share (string-append out "/share/golly")))
(for-each (lambda (binary)
(install-file binary bin))
'("bgolly" "golly"))
(for-each (lambda (document)
(install-file
(string-append "docs/" document ".html")
doc))
'("License" "ReadMe" "ToDo"))
(install-file "gui-wx/icons/appicon.xpm" pixmaps)
(for-each (lambda (folder)
(copy-recursively
folder
(string-append share "/" folder)))
'("Help" "Patterns" "Rules" "Scripts")))
#t)))))
(list
#:make-flags
#~(list "CC=gcc"
(string-append "GOLLYDIR="
#$output
"/share/golly"))
#:tests? #f ; no check target
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(with-directory-excursion "gui-wx"
(apply invoke `("make" ,@make-flags "-f" "makefile-gtk")))))
(replace 'install
(lambda _
(let* ((bin (string-append #$output "/bin"))
(doc (string-append #$output "/share/doc/golly"))
(pixmaps (string-append #$output "/share/pixmaps"))
(share (string-append #$output "/share/golly")))
(for-each (lambda (binary)
(install-file binary bin))
(list "bgolly" "golly"))
(for-each (lambda (document)
(install-file
(string-append "docs/" document ".html")
doc))
(list "License" "ReadMe" "ToDo"))
(install-file "gui-wx/icons/appicon.xpm" pixmaps)
(for-each (lambda (folder)
(copy-recursively
folder
(string-append share "/" folder)))
(list "Help" "Patterns" "Rules" "Scripts"))))))))
(native-inputs
(list lua))
(list lua
python-setuptools))
(inputs
(list glu mesa python sdl2 wxwidgets zlib))
(list glu
mesa
python
sdl2
wxwidgets
zlib))
(home-page "https://golly.sourceforge.net/")
(synopsis "Software for exploring cellular automata")
(description
@@ -3982,27 +3988,26 @@ that beneath its ruins lay buried an ancient evil.")
(base32 "0hgzdvlh0j42w4q9kch9xvhnbvcrypac01xhpksw35gj9my887cp"))
(modules '((guix build utils)))
(snippet
;; So, some of the sounds/graphics/tilesets are under different
;; licenses... some of them even nonfree! This is a console-only
;; version of this package so we just remove them.
;; In the future, if someone tries to make a graphical variant of
;; this package, they can deal with that mess themselves. :)
'(begin
(for-each (lambda (subdir)
(let ((lib-subdir (string-append "lib/" subdir)))
(delete-file-recursively lib-subdir)))
'("fonts" "icons" "sounds" "tiles"))
(substitute* "lib/Makefile"
;; And don't try to invoke makefiles in the directories we removed.
(("gamedata customize help screens fonts tiles sounds icons user")
"gamedata customize help screens user"))
;; Remove nonfree .dll files too.
(delete-file-recursively "src/win")))))
(for-each delete-file-recursively
'("lib/tiles/shockbolt" ;nonfree
"src/win")) ;contains .dlls!
;; Don't build the shockbolt directory either.
(substitute* "lib/tiles/Makefile"
(("shockbolt") ""))))
(patches (search-patches "angband-remove-nonfree-tile-options.patch"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list (string-append "--bindir=" %output "/bin"))
`(#:configure-flags (list (string-append "--bindir=" %output "/bin")
"--disable-x11")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-graphics-and-sounds
(lambda _
(substitute* "lib/Makefile"
;; Do not build any graphics for this version.
(("gamedata customize help screens fonts tiles sounds icons user")
"gamedata customize help screens user"))))
(add-before 'build 'fix-infinite-loop-on-sighup
;; XXX Release 4.2.6 has a major bug where sending the process a
;; SIGHUP when closing the terminal causes it to infinite loop
@@ -4052,6 +4057,59 @@ the depths below Angband, seeking riches, fighting monsters, and preparing to
fight Morgoth, the Lord of Darkness.")
(license license:gpl2)))
(define-public angband-sdl2
(package
(inherit angband)
(name "angband-sdl2")
(arguments
(substitute-keyword-arguments
(package-arguments angband)
((#:configure-flags flags)
#~(cons* "--enable-sdl2" #$flags))
((#:phases phases)
#~(modify-phases #$phases
(delete 'disable-graphics-and-sounds)
(add-after 'unpack 'patch-sdl-wrapper-headers
(lambda _
(with-directory-excursion "src"
(substitute* '("snd-sdl.c"
"main-sdl2.c"
"sdl2/pui-win.h")
(("\"SDL_image.h\"") "\"SDL2/SDL_image.h\"")
(("\"SDL_mixer.h\"") "\"SDL2/SDL_mixer.h\"")
(("\"SDL_ttf.h\"") "\"SDL2/SDL_ttf.h\"")))))
(add-after 'unpack 'patch-desktop-file
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "lib/icons/angband-sdl2.desktop"
(("Exec=angband" _)
(string-append "Exec=" #$output "/bin/angband-sdl2"))))))
(add-after 'install 'rename-binary
(lambda _
(with-directory-excursion #$output
;; allows parallel installation with angband
(rename-file "bin/angband"
"bin/angband-sdl2"))))))))
(inputs
(modify-inputs inputs
(prepend sdl2
sdl2-image
sdl2-mixer
sdl2-ttf)))
(description "Angband is a Classic dungeon exploration roguelike. Explore
the depths below Angband, seeking riches, fighting monsters, and preparing to
fight Morgoth, the Lord of Darkness.
This version includes the SDL2 frontend, providing tilesets and sounds which
can be enabled through in-game options.")
;; XXX: fonts and adam bolt tileset are free but being clarified:
;; https://github.com/angband/angband/issues/6608
;; For the rest, see:
;; https://github.com/angband/angband/blob/master/docs/copying.rst
(license (list license:gpl2 ;code, nomad+old tilesets
license:cc-by-sa3.0 ;david gervais tileset
license:cc-by-sa4.0)))) ;sounds
(define-public pingus
;; Latest release is from 2021-12-24.
(let ((commit "7d65221e1cd1026053c8a5a08ad911fbdd13d3ed")
+2 -2
View File
@@ -80,14 +80,14 @@
(define-public gdb-17
(package
(name "gdb")
(version "17.1")
(version "17.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/gdb/gdb-"
version ".tar.xz"))
(sha256
(base32
"0xnqqv3j463r5rnfmblj3zwhf0l0lyy4bp1zaid8zxn9fignz68l"))))
"1312lccryan1jfkjwkbw9mpxgyfnmlr8dj4lbkxx3cz4f86nq0qw"))))
(build-system gnu-build-system)
(outputs '("out" "debug"))
(arguments
+52 -14
View File
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2026 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,13 +19,15 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages genealogy)
#:use-module (guix build-system pyproject)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system pyproject)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (gnu packages fonts)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages geo)
@@ -34,6 +37,7 @@
#:use-module (gnu packages gnome)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
@@ -57,15 +61,42 @@
(build-system pyproject-build-system)
(arguments
(list
#:imported-modules
`((guix build glib-or-gtk-build-system)
,@%pyproject-build-system-modules)
#:imported-modules (append %glib-or-gtk-build-system-modules
%pyproject-build-system-modules)
#:modules
`((ice-9 match)
(srfi srfi-1)
(guix build pyproject-build-system)
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
(guix build utils))
;; tests: 32408 passed, 44 skipped, 9 deselected, 1 warning, 65730 subtests passed
#:test-flags
;; Tests failing during collection.
#~(list "--ignore=gramps/gen/merge/test/merge_ref_test.py"
"--ignore=po/test/po_test.py"
"--ignore=test/LosHawlos_db_test.py"
"--ignore=test/blob_to_json_test.py"
;; Assertions are not equal for these tests.
#$@(map (lambda (ls) (string-append "--deselect=gramps/"
(string-join ls "::")))
'(("gen/proxy/test/proxies_test.py"
"LivingProxyTest" "test_person_count")
("gen/proxy/test/proxies_test.py"
"LivingPrivateProxyTest" "test_person_count")
("plugins/test/reports_test.py"
"TestDynamic" "test_export_gedcom")
("plugins/test/reports_test.py"
"TestDynamic" "test_export_gpkg")
("plugins/test/reports_test.py"
"TestDynamic" "test_indiv_complete")
("plugins/test/reports_test.py"
"TestDynamic" "test_navwebpage")
("plugins/test/reports_test.py"
"TestDynamic" "test_tool_check")
("plugins/test/tools_test.py"
"ToolControl" "test_tcg_and_check_and_repair")
("plugins/test/db_undo_and_signals_test.py"
"TestSQLite" "test_one"))))
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'fix-gexiv2-dependency
@@ -73,15 +104,19 @@
;; Use our own version
(substitute* (find-files "." ".*\\.py$")
(("\"GExiv2\", \"0.10\"") "\"GExiv2\", \"0.16\""))))
(add-after 'unpack 'swap-bsddb3-with-berkeleydb
;; bsddb3 was renamed upstream to berkeleydb.
(lambda _
(substitute* (find-files "." ".*\\.py")
(("bsddb3") "berkeleydb"))))
(add-before 'check 'prepare-tests
(lambda _
(setenv "HOME" (getenv "TMPDIR"))
(setenv "GDK_BACKEND" "-")
(setenv "HOME" "/tmp")
;; Presence of .git directory is used to determine whether this
;; is a final installation. Without it, tests fail to determine
;; resource path.
(mkdir ".git")
;; Test is failing
(delete-file "gramps/gen/utils/test/file_test.py")))
(mkdir ".git")))
(add-before 'wrap 'wrap-with-GI_TYPELIB_PATH
(lambda* (#:key inputs #:allow-other-keys)
(wrap-program (string-append #$output "/bin/gramps")
@@ -98,8 +133,11 @@
(add-after 'wrap 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(native-inputs
(list gettext-minimal intltool
glibc-utf8-locales ;for one test
(list gettext-minimal
intltool
python-jsonschema
python-mock
python-pytest
python-setuptools))
(inputs
(list bash-minimal
@@ -115,12 +153,12 @@
(librsvg-for-system)
osm-gps-map
pango
python-bsddb3
python-jsonschema
python-lxml
python-berkeleydb
python-imagesize
python-orjson
python-pillow
python-pycairo
python-pycountry
python-pygobject
python-pyicu
rcs
+48 -89
View File
@@ -55,7 +55,6 @@
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix build-system r)
#:use-module (guix build-system zig)
@@ -129,7 +128,6 @@
#:use-module (gnu packages mpi)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages ninja)
#:use-module (gnu packages pcre)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
@@ -298,7 +296,7 @@ than 600 operators available.")
(define-public h3
(package
(name "h3")
(version "4.1.0")
(version "4.4.1")
(source
(origin
(method git-fetch)
@@ -307,7 +305,7 @@ than 600 operators available.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0x764xzna8ka6yhgv2y4hb158a61y3g9a6835qckqp7wfkpqvb7f"))))
(base32 "1ijnbr4a54ph7bkn8waqwgnxmxlylv9yly9mwjdj69lkmdfjgaml"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")))
@@ -319,48 +317,25 @@ combining the benefits of a hexagonal grid with S2's hierarchical
subdivisions.")
(license license:asl2.0)))
;; For python-timezonefinder, remove it when it starts supporting newer
;; version.
(define-public h3-3
(package
(inherit h3)
(name "h3")
(version "3.7.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/uber/h3")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0bvsljfxmjvl23v9gxykc4aynjzh5xfy3wg02bxad7cknr1amx9j"))))))
(define-public python-h3
(package
(name "python-h3")
(version "4.0.0b2")
(version "4.4.2")
(source
(origin
(method git-fetch) ; no tests data in PyPi package
(method git-fetch)
(uri (git-reference
(url "https://github.com/uber/h3-py")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1k1n256hhlh05gjcj64pqh08zlaz6962jkb6nk1aazsgg8p41zs0"))
(base32 "02gry51hn8x2bl80y1ipcyrg0ghcif4vjch26qil215wdzz1yrzv"))
(modules '((guix build utils)))
;; Remove bundled H3 lib.
(snippet #~(begin (delete-file-recursively "src/h3lib")))))
(build-system pyproject-build-system)
(arguments
(list
;; FIXME: Check why these tests are failing.
;; test_versions - assert (4, 1) == (4, 0)
;; test_resolution - h3._cy.error_system.H3Failed
#:test-flags #~(list "-k" (string-append
"not test_versions"
" and not test_resolution"))
#:phases
#~(modify-phases %standard-phases
;; Use packaged in Guix h3 source.
@@ -381,10 +356,7 @@ subdivisions.")
python-cython
python-numpy
python-pytest
python-scikit-build
python-setuptools
python-setuptools-scm
python-wheel))
python-scikit-build-core))
(inputs (list h3))
(home-page "https://uber.github.io/h3-py")
(synopsis "Python bindings for H3")
@@ -392,26 +364,6 @@ subdivisions.")
hierarchical hexagonal geospatial indexing system")
(license license:asl2.0)))
;; For python-timezonefinder, remove it when it starts supporting newer
;; version.
(define-public python-h3-3
(package
(inherit python-h3)
(name "python-h3")
(version "3.7.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/uber/h3-py")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "16gxa1sivghxw179rik87r918mjasars2qkzidlwq83qfa4axn20"))))
(inputs
(modify-inputs inputs
(replace "h3" h3-3)))))
(define-public geos
(package
(name "geos")
@@ -1124,7 +1076,6 @@ for seismology.")
(inputs (list gdal))
(native-inputs (list python-cython
python-pytest
python-pytest-cov
python-setuptools
python-tomli
python-versioneer
@@ -1224,7 +1175,7 @@ projections and coordinate transformations library.")
(define-public python-fiona
(package
(name "python-fiona")
(version "1.9.6")
(version "1.10.1")
(source
(origin
(method git-fetch)
@@ -1233,24 +1184,38 @@ projections and coordinate transformations library.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "08whhjrspp194qasjhr9kf70fl342ms47k78rwpcf5q6ikf0rfii"))))
(base32 "0xribbcy5wvrm5y3bq281dry86vhjcnphg9772yp9s3y30y7mlz4"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 757 passed, 161 skipped, 24 deselected, 1 xfailed, 6 xpassed
#:test-flags
#~(list "-m" "not network and not wheel"
;; FIXME: Find why the
;; test_no_append_driver_cannot_append[PCIDSK] test is failing.
"-k" "not test_no_append_driver_cannot_append")
#$@(map (lambda (test) (string-append "--deselect=tests/" test))
;; UserWarning: The parameter --where is used more than
;; once. Remove its duplicate as parameters should be
;; unique.
(list "test_fio_cat.py::test_bbox_json_yes"
"test_fio_cat.py::test_bbox_no"
"test_fio_cat.py::test_bbox_where"
"test_fio_cat.py::test_bbox_yes"
"test_fio_cat.py::test_bbox_yes_two_files"
"test_fio_cat.py::test_dst_crs_epsg3857"
"test_fio_cat.py::test_multi_layer"
"test_fio_cat.py::test_one"
"test_fio_cat.py::test_two"
"test_fio_cat.py::test_vfs"
"test_fio_cat.py::test_where_no"
"test_fio_cat.py::test_where_yes"
"test_fio_cat.py::test_where_yes_two_files"
;; FileNotFoundError:
;; https://github.com/Toblerity/Fiona/files/\
;; 11151652/coutwildrnp.zip
"test_pyopener.py::test_opener_fsspec_zip_http_fs")))
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'set-configure-flags
(add-before 'check 'remove-local-source
(lambda _
(setenv "CFLAGS" "-Wno-error=incompatible-pointer-types")))
(add-before 'check 'remove-local-fiona
(lambda _
;; This would otherwise interfere with finding the installed
;; fiona when running tests.
(delete-file-recursively "fiona"))))))
(inputs
(list gdal))
@@ -1258,19 +1223,19 @@ projections and coordinate transformations library.")
(list python-attrs
python-certifi
python-click
python-click-plugins-1
python-click-plugins
python-cligj))
(native-inputs
(list gdal ; for gdal-config
python-boto3
python-cython
python-fsspec
python-pytest
python-pytest-cov
python-pytz
python-setuptools))
python-setuptools
python-shapely))
(home-page "https://github.com/Toblerity/Fiona")
(synopsis
"Fiona reads and writes spatial data files")
(synopsis "Fiona reads and writes spatial data files")
(description
"Fiona is GDALs neat and nimble vector API for Python programmers. Fiona
is designed to be simple and dependable. It focuses on reading and writing
@@ -1533,7 +1498,6 @@ street bearings/orientations, and speed/travel time.")
python-pyproj
python-pyyaml
python-pytest
python-pytest-cov
python-pytest-httpserver
python-pytz
python-requests
@@ -1865,10 +1829,7 @@ utilities for data translation and processing.")
;; This test requires internet access.
'(list "--deselect" "test_shapefile.py::test_reader_url")))
(native-inputs
(list python-pytest
python-pytest-runner
python-setuptools
python-wheel))
(list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/GeospatialPython/pyshp")
(synopsis "Read/write support for ESRI Shapefile format")
(description
@@ -3578,10 +3539,9 @@ orienteering sport.")
(list
#:tests? #f ; No tests
#:modules `((guix build gnu-build-system)
((guix build python-build-system) #:prefix python:)
((guix build pyproject-build-system) #:prefix python:)
(guix build utils))
#:imported-modules `(,@%default-gnu-imported-modules
(guix build python-build-system))
#:imported-modules %pyproject-build-system-modules
#:configure-flags
#~(list "--with-blas"
"--with-bzlib"
@@ -3753,13 +3713,13 @@ growing set of geoscientific methods.")
(build-system cmake-build-system)
(arguments
(list
#:imported-modules (append %cmake-build-system-modules
%pyproject-build-system-modules
'((guix build qt-utils)))
#:modules '((guix build cmake-build-system)
((guix build python-build-system) #:prefix python:)
((guix build pyproject-build-system) #:prefix py:)
(guix build qt-utils)
(guix build utils))
#:imported-modules `(,@%cmake-build-system-modules
(guix build python-build-system)
(guix build qt-utils))
#:configure-flags
#~(list "-DWITH_QTWEBKIT=NO")
#:phases
@@ -3920,11 +3880,10 @@ growing set of geoscientific methods.")
;; Configure correct path to PyQt5 SIP directory
(add-after 'unpack 'configure-pyqt5-sip-path
(lambda* (#:key inputs #:allow-other-keys)
(let ((sip-dir (string-append
(assoc-ref inputs "python-pyqt+qscintilla")
"/lib/python"
(python:python-version (assoc-ref inputs "python"))
"/site-packages/PyQt5/bindings")))
(let* ((pyqt (assoc-ref inputs "python-pyqt+qscintilla"))
(sip-dir (string-append
(py:site-packages inputs `(("out" . ,pyqt)))
"/PyQt5/bindings")))
(substitute* "cmake/FindPyQt5.py"
(("sip_dir = cfg.default_sip_dir")
(string-append "sip_dir = \"" sip-dir "\"")))
@@ -3954,7 +3913,7 @@ SET\\(PYQT5_SIP_DIR \"\\$\\{Python_SITEARCH\\}/PyQt5/bindings\"\\)")
"-E" (string-join ignored-tests "|")))
(format #t "test suite not run~%"))))
(add-after 'install 'wrap-python
(assoc-ref python:%standard-phases 'wrap))
(assoc-ref py:%standard-phases 'wrap))
(add-after 'wrap-python 'wrap-qt
(lambda* (#:key inputs #:allow-other-keys)
(wrap-qt-program "qgis" #:output #$output #:inputs inputs)))
+43 -9
View File
@@ -476,17 +476,31 @@ inverse fourier transform.")
(package
(name "libmypaint")
(version "1.6.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/mypaint/libmypaint/"
"releases/download/v" version "/libmypaint-"
version ".tar.xz"))
(sha256
(base32
"0priwpmc7dizccqvn21ig6d649bprl3xl1hmjj7nddznjgr585vl"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mypaint/libmypaint")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1ppgpmnhph9h8ayx9776f79a0bxbdszfw9c6bw7c3ffy2yk40178"))))
(build-system gnu-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'bootstrap 'overwrite-automake-and-aclocal-versions
(lambda _
(setenv "AUTOMAKE" "automake")
(setenv "ACLOCAL" "aclocal"))))))
(native-inputs
(list intltool pkg-config))
(list autoconf
automake
intltool
libtool
pkg-config
python))
;; As needed by 'libmypaint.pc'.
(propagated-inputs
(list json-c gobject-introspection))
@@ -498,6 +512,26 @@ brushstrokes which is used by MyPaint and GIMP.")
(home-page "http://mypaint.org")
(license license:isc)))
;; To update mypaint, remove when a fresh version is released.
(define-public libmypaint-next
(package
(inherit libmypaint)
(name "libmypaint")
(properties '((commit . "551dfb9ca5d2b82f2361a5a8a9e7f386f35fd320")
(revision . "0")))
(version (git-version "1.6.1"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mypaint/libmypaint")
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32 "0pl8cma6gfkrqx364fs1xw7f491f7y6pzxqjq1cdqlrf9r8gg0sk"))))))
(define-public mypaint-brushes
(package
(name "mypaint-brushes")
+14 -10
View File
@@ -79,7 +79,6 @@
#:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
@@ -1420,8 +1419,8 @@ original glmark benchmark by Ben Smith.")
(license license:bsd-2)))
(define-public piglit
(let ((revision "1")
(commit "814046fe6942eac660ee4a6cc5fcc54011a49945"))
(let ((revision "2")
(commit "040ed91f234abb6a502d3a6910f1b0e54bd239a7"))
(package
(name "piglit")
(version (git-version "0.0.0" revision commit))
@@ -1432,7 +1431,7 @@ original glmark benchmark by Ben Smith.")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1bzaalcxskckfnwprw77sbbmfqi59by2j8imaq8ghnlzhlxv7mk7"))))
(base32 "1j5dmkym1mmz410xgwygimnjk2aswsqmcpjwz4s98pgmymh1yjvf"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags #~(list "-DPIGLIT_SSE2=OFF")
@@ -1451,16 +1450,21 @@ original glmark benchmark by Ben Smith.")
"'")))))
(add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
(wrap-script (string-append (assoc-ref outputs "out")
"/bin/piglit")
(wrap-script (string-append #$output "/bin/piglit")
`("GUIX_PYTHONPATH" prefix
(,(getenv "GUIX_PYTHONPATH")))))))))
(inputs (list guile-3.0 ; for wrap-script
(inputs (list glslang
guile-3.0 ; for wrap-script
libxkbcommon
python python-lxml python-mako python-numpy-1
glslang vulkan-headers vulkan-loader
python
wayland-protocols
vulkan-headers
vulkan-loader
waffle))
(native-inputs (list pkg-config))
(native-inputs (list pkg-config
python-lxml
python-mako
python-numpy))
(home-page "https://piglit.freedesktop.org/")
(synopsis "Test OpenGL implementations")
(description "Piglit is a collection of automated tests for OpenGL and
+13 -12
View File
@@ -320,7 +320,11 @@ You can also use it to fall asleep in a noisy environment.")
(lambda* (#:key inputs #:allow-other-keys)
(wrap-program (string-append #$output "/bin/cartridges")
`("GUIX_PYTHONPATH" =
(,(string-append #$output "/lib/python3.11/site-packages:"
(,(string-append #$output
"/lib/python"
#$(version-major+minor
(package-version python))
"/site-packages:"
(getenv "GUIX_PYTHONPATH"))))
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
`("GDK_PIXBUF_MODULE_FILE" =
@@ -682,17 +686,17 @@ and a high score table.")
(define-public komikku
(package
(name "komikku")
(version "50.3.0")
(version "50.4.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/valos/Komikku/")
(commit (string-append "v" version))))
(url "https://codeberg.org/valos/Komikku/")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0hm1infvdsms193g2yp7qw7lrsxjsx5zziib8hgch34y6dbhfhf1"))))
"0skkb1b6jgfzy3v1bhbgxkgxmjvnxdi442asp5gdm7j8j9cv5wxv"))))
(build-system meson-build-system)
(arguments
(list
@@ -738,21 +742,18 @@ and a high score table.")
python
python-beautifulsoup4
python-brotli
python-cloudscraper
python-colorthief
;; python-curl-cffi ;not packaged yet in Guix
python-dateparser
python-ebooklib
python-emoji
python-keyring
python-jxlpy
python-keyring
python-lxml
python-magic
python-natsort
python-piexif
python-pillow
python-pillow-heif-0.22
python-pure-protobuf
python-pycairo
python-pygobject
python-pyjwt
python-pypdf
@@ -774,8 +775,8 @@ and a high score table.")
developed with the aim of being used with the Librem 5 phone.")
(license license:gpl3+)
(native-search-paths (list (search-path-specification
(variable "KOMIKKU_SERVERS_PATH")
(files '("lib/komikku/servers")))))))
(variable "KOMIKKU_SERVERS_PATH")
(files '("lib/komikku/servers")))))))
(define-public komikku-servers
(package
+2 -4
View File
@@ -51,7 +51,6 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
@@ -851,7 +850,7 @@ intellihide and multimonitor support.")
(define-public gnome-shell-extension-gsconnect
(package
(name "gnome-shell-extension-gsconnect")
(version "71")
(version "72")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -861,7 +860,7 @@ intellihide and multimonitor support.")
(file-name (git-file-name name version))
(sha256
(base32
"0i6zrvb40h0af96md7jb4y3f2c1g37h5qp649xk68gp6gwn1401s"))))
"06ps946q53jfqi4ycapjb9755763z8p0dvd7jssw6l8h8ma11ly3"))))
(build-system meson-build-system)
(arguments
(list
@@ -936,7 +935,6 @@ intellihide and multimonitor support.")
(list
at-spi2-core
bash-minimal
caribou
evolution-data-server
gjs
glib
+142 -126
View File
@@ -250,7 +250,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module ((guix config) #:select (%storedir))
#:use-module (guix deprecation)
@@ -2530,7 +2529,7 @@ forgotten when the session ends.")
(define-public evince
(package
(name "evince")
(version "48.1")
(version "48.4")
(source
(origin
(method url-fetch)
@@ -2538,7 +2537,7 @@ forgotten when the session ends.")
(version-major version) "/"
"evince-" version ".tar.xz"))
(sha256
(base32 "047s8d4qh9jijk1kp4kfzy4afwwcd0kr11a8j1dkypd0ldprm2vx"))))
(base32 "0s46prlb55ghnz136ra8whmrirydmz08lzjrrpa3arl8cb3cb5pj"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
@@ -2759,7 +2758,7 @@ schemas for settings shared by various components of the GNOME desktop.")
(invoke "./run-tests")))))))
(native-inputs (list python-pytest python-setuptools xorg-server-for-tests))
(inputs (list gtk+))
(propagated-inputs (list python-pygobject))
(propagated-inputs (list python-pygobject-3.50))
(home-page "https://getting-things-gnome.github.io/liblarch")
(synopsis "Library to easily handle complex data structures")
(description
@@ -2818,7 +2817,7 @@ and how they are displayed (View).")
gtksourceview-4
pango
python
python-dbus-1.2
python-dbus
python-liblarch
python-lxml
python-pycairo
@@ -2986,7 +2985,7 @@ guidelines.")
python
cups
gtk+
python-dbus-1.2
python-dbus
python-pygobject
python-pycups
python-requests
@@ -5000,6 +4999,7 @@ as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps.")
(arguments
(list
#:configure-flags #~(list "-Ddocs=disabled")
#:parallel-tests? #f ;hsts-db-test might hang otherwise.
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'adjust-tests
@@ -5041,7 +5041,7 @@ as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps.")
zlib))
(inputs
(list samba/pinned)) ; For ntlm_auth support
(home-page "https://wiki.gnome.org/Projects/libsoup")
(home-page "https://libsoup.gnome.org")
(synopsis "GLib-based HTTP Library")
(description
"LibSoup is an HTTP client/server library for GNOME. It uses GObjects
@@ -5157,7 +5157,7 @@ and the GLib main loop, to integrate well with GNOME applications.")
libxslt
pkg-config
python
python-dbus-1.2
python-dbus
python-pygobject-3.50
vala))
(propagated-inputs
@@ -8158,12 +8158,6 @@ to display dialog boxes from the commandline and shell scripts.")
(build-system meson-build-system)
(arguments
(list
#:modules '((guix build meson-build-system)
((guix build python-build-system) #:prefix python:)
(guix build utils)
(ice-9 match))
#:imported-modules `(,@%meson-build-system-modules
(guix build python-build-system))
#:glib-or-gtk? #t
#:configure-flags
#~(list
@@ -8510,67 +8504,78 @@ Evolution (hence the name), but is now used by other packages as well.")
(license license:lgpl2.0)))
(define-public caribou
(package
(name "caribou")
(version "0.4.21")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
(build-system glib-or-gtk-build-system)
(arguments
(list
#:configure-flags
;; Relax gcc-14's strictness.
#~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
#:phases
#~(modify-phases %standard-phases
(add-before
'build 'pre-build
(lambda _
;; Use absolute shared library path in Caribou-1.0.typelib.
(substitute* "libcaribou/Makefile"
(("--shared-library=libcaribou.so")
(string-append "--shared-library="
#$output "/lib/libcaribou.so")))))
(add-after 'install 'wrap-programs
(lambda* (#:key outputs #:allow-other-keys)
(let ((python-path (getenv "GUIX_PYTHONPATH"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
(for-each
(lambda (prog)
(wrap-program prog
`("GUIX_PYTHONPATH" ":" prefix (,python-path))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
(list (string-append #$output "/bin/caribou-preferences")
(string-append #$output "/libexec/antler-keyboard")))))))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool)
("pkg-config" ,pkg-config)
("python" ,python)
("vala" ,vala)
("xsltproc" ,libxslt)))
(propagated-inputs
;; caribou-1.0.pc refers to all these.
(list libgee libxklavier libxtst gtk+))
(inputs
`(("bash" ,bash-minimal) ; for wrap-program
("clutter" ,clutter)
("dconf" ,dconf)
("gtk+-2" ,gtk+-2)
("python-pygobject" ,python-pygobject)))
(synopsis "Text entry and UI navigation application")
(home-page "https://wiki.gnome.org/Projects/Caribou")
(description
"Caribou is an input assistive technology intended for switch and pointer
;; Latest tag does not work with recent vala versions.
(let ((commit "9c900f0139af225bb35bf34bb2aee83f47495ba5")
(revision "0"))
(package
(name "caribou")
(version (git-version "0.4.21" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.gnome.org/Archive/caribou")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"066z098gfqyrjscbchbjlwkd5sakrrmwm4k2s76vjl5ir62w0mxg"))))
(build-system glib-or-gtk-build-system)
(arguments
(list
#:configure-flags
;; Relax gcc-14's strictness.
#~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
#:phases
#~(modify-phases %standard-phases
(add-before
'build 'pre-build
(lambda _
;; Use absolute shared library path in Caribou-1.0.typelib.
(substitute* "libcaribou/Makefile"
(("--shared-library=libcaribou.so")
(string-append "--shared-library="
#$output "/lib/libcaribou.so")))))
(add-after 'install 'wrap-programs
(lambda* (#:key outputs #:allow-other-keys)
(let ((python-path (getenv "GUIX_PYTHONPATH"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
(for-each
(lambda (prog)
(wrap-program prog
`("GUIX_PYTHONPATH" ":" prefix (,python-path))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
(list
(string-append #$output "/bin/caribou-preferences")
(string-append #$output "/libexec/antler-keyboard")))))))))
(native-inputs
(list autoconf
automake
`(,glib "bin") ;for glib-compile-schemas, etc.
gobject-introspection
gnome-common ;for gnome-autogen.sh
intltool
libtool
libxslt
pkg-config
python
vala
which))
(propagated-inputs
;; caribou-1.0.pc refers to all these.
(list libgee libxklavier libxtst gtk+))
(inputs
(list bash-minimal ; for wrap-program
clutter
dconf
gtk+-2
python-pygobject))
(synopsis "Text entry and UI navigation application")
(home-page "https://wiki.gnome.org/Projects/Caribou")
(description
"Caribou is an input assistive technology intended for switch and pointer
users.")
(license license:lgpl2.1)))
(license license:lgpl2.1))))
(define-public network-manager
(package
@@ -8686,7 +8691,7 @@ users.")
libxslt
perl
pkg-config
python-dbus-1.2
python-dbus
python-pygobject-3.50
python-wrapper
vala))
@@ -12402,7 +12407,6 @@ advanced image management tool")
intltool
pkg-config
python-psutil
python-pytest-runner
python-pytest))
(inputs
(list bash-minimal ;for wrap-program
@@ -12411,7 +12415,7 @@ advanced image management tool")
gsettings-desktop-schemas
gtk+
python-wrapper
python-dbus-1.2
python-dbus
python-notify2
python-pycairo
python-pygobject
@@ -13696,59 +13700,71 @@ useful to navigate and edit translation messages and comments.")
(package
(name "ocrfeeder")
(version "0.8.5")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/ocrfeeder/"
(version-major+minor version) "/"
"ocrfeeder-" version ".tar.xz"))
(sha256
(base32
"1vaaphzk6zn7pp2x9scphdzlbsma910wnbhd9xry50nx95cjlgdh"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.gnome.org/GNOME/ocrfeeder")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "11xj5vidvppfd34hrvadz8fljsasljrgq7smfjx7asf88hv79d60"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after
'install 'wrap-program
(lambda* (#:key outputs #:allow-other-keys)
(let ((prog (string-append (assoc-ref outputs "out")
"/bin/" "ocrfeeder"))
(pylib (string-append (assoc-ref outputs "out")
"/lib/python"
,(version-major+minor
(package-version python))
"/site-packages")))
(wrap-program prog
`("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-configure-on-python-3.12
(lambda _
(substitute* "m4/m4_ax_python_module.m4"
(("import imp; imp\\.find_module\\((.*)\\)" all target)
(format #f "import importlib.util; \
exit(0 if importlib.util.find_spec(~a) else 1)"
target)))))
(add-after 'install 'wrap-program
(lambda _
(wrap-program (string-append #$output "/bin/ocrfeeder")
`("PYTHONPATH" =
(,(getenv "GUIX_PYTHONPATH")
,(string-append #$output "/lib/python"
#$(version-major+minor
(package-version python))
"/site-packages")))
`("GI_TYPELIB_PATH" =
(,(getenv "GI_TYPELIB_PATH")))))))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-resources
("gobject-introspection" ,gobject-introspection)
("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
("intltool" ,intltool)
("itstool" ,itstool)
("pkg-config" ,pkg-config)
("xmllint" ,libxml2)))
(list autoconf
automake
`(,glib "bin") ;for glib-compile-resources
gobject-introspection
`(,gtk+ "bin") ;for gtk-update-icon-cache
intltool
itstool
gnome-common
libxml2
pkg-config
which
yelp-tools))
(inputs
`(("bash" ,bash-minimal) ; for wrap-program
("enchant" ,enchant)
("glib" ,glib)
("goocanvas" ,goocanvas)
("gtk" ,gtk+)
("gtkspell3" ,gtkspell3)
("libjpeg" ,libjpeg-turbo)
("libtiff" ,libtiff)
("libraw" ,libraw)
("ocrad" ,ocrad)
("python" ,python-wrapper)
("python-pygobject" ,python-pygobject)
("python-odfpy" ,python-odfpy)
("python-pillow" ,python-pillow)
("python-pyenchant" ,python-pyenchant)
("python-reportlab" ,python-reportlab)
("python-sane" ,python-sane)
("sane" ,sane)
("tesseract-ocr" ,tesseract-ocr)))
(list bash-minimal ;for wrap-program
enchant
glib
goocanvas
gtk+
gtkspell3
libjpeg-turbo
libtiff
libraw
ocrad
python-wrapper
python-pygobject
python-odfpy
python-pillow
python-pyenchant
python-reportlab
python-sane
sane
tesseract-ocr))
(home-page "https://wiki.gnome.org/Apps/OCRFeeder")
(synopsis "Complete OCR Suite")
(description "OCRFeeder is a complete Optical Character Recognition and
+45 -103
View File
@@ -82,13 +82,11 @@
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (gnu packages)
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -436,16 +434,16 @@ libskba (working with X.509 certificates and CMS data).")
(substitute* "checks/Makefile.in"
(("/bin/sh") (which "sh"))))))))))
(define-public gpgme-2
(define-public gpgme
(package
(name "gpgme")
(version "2.0.1")
(version "1.24.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnupg/gpgme/gpgme-" version ".tar.bz2"))
(sha256
(base32 "0rj9g0kablnmj7vh6hfhmmz0qhdhj869i09afm8snbl4bilv06l2"))))
(base32 "0px87fbp90xp8vf1wms02flk14zmrqsfr135f5his1kiiqjx01ga"))))
(build-system gnu-build-system)
(arguments
(list
@@ -457,7 +455,7 @@ libskba (working with X.509 certificates and CMS data).")
(propagated-inputs
;; As required by the pkg-config's Requires.private.
(list libgpg-error libassuan))
(home-page "https://gnupg.org/software/gpgme/index.html")
(home-page "https://www.gnupg.org/related_software/gpgme/")
(synopsis "Library providing simplified access to GnuPG functionality")
(description
"GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
@@ -471,107 +469,57 @@ instead. This way bug fixes or improvements can be done at a central place
and every application benefits from this.")
(license license:lgpl2.1+)))
(define-public gpgme-1
(package
(inherit gpgme-2)
(version "1.24.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnupg/gpgme/gpgme-" version ".tar.bz2"))
(sha256
(base32 "0px87fbp90xp8vf1wms02flk14zmrqsfr135f5his1kiiqjx01ga"))))))
(define-public gpgme gpgme-1)
(define-public gpgmepp
(package
(name "gpgmepp")
(version "2.0.0")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnupg/gpgmepp/gpgmepp-" version ".tar.xz"))
(sha256
(base32 "10jkaqzjr5gy04bmcw75q6iy2isk17plixwn61ps4237q14n0yfl"))))
(build-system cmake-build-system)
(arguments
(list
;; FIXME: BUILD_TESTING variable is enabled by deault, but still no tests
;; are found.
#:tests? #f))
(propagated-inputs
;; As required by the pkg-config's Requires.private.
(list gpgme-2 libgpg-error))
(home-page "https://gnupg.org/software/gpgme/index.html")
(synopsis "C++ bindings/wrapper for GPGME")
(description
"GPGME++ is a C++ wrapper (or C++ bindings) for the GnuPG project's
@acronym{GPGME, GnuPG Made Easy} library.")
(license license:lgpl2.1+)))
(define-public qgpgme-qt5
(package
(inherit gpgme)
(name "qgpgme-qt5")
(version "2.0.0")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnupg/qgpgme/qgpgme-" version ".tar.xz"))
(sha256
(base32 "1bb198dk49bd7yx4cf4w07acjhllilx1nczdna7139ncflj5nr0m"))))
(build-system qt-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda _
(setenv "HOME" (getcwd))
(invoke "gpg-agent" "--daemon"))))))
(propagated-inputs
(list gpgme-2 ;for FindGpgme.cmake and QGpgmeQt6Config.cmake
gpgmepp ;for QGpgmeQt6Config.cmake
libgpg-error)) ;for FindLibGpgError.cmake and QGpgmeQt6Config.cmake
`(#:phases
(modify-phases %standard-phases
(add-before 'build 'chdir-and-symlink
(lambda* (#:key inputs #:allow-other-keys)
(let ((gpgme (assoc-ref inputs "gpgme")))
(symlink (string-append gpgme "/lib/libgpgmepp.la")
"lang/cpp/src/libgpgmepp.la")
(symlink (string-append gpgme "/lib/libgpgme.la")
"src/libgpgme.la"))
(chdir "lang/qt"))))))
(propagated-inputs (list gpgme)) ;required by QGpgmeConfig.cmake
(native-inputs
(list gnupg ;for tests
pkg-config))
(home-page "https://gnupg.org/software/gpgme/index.html")
(modify-inputs native-inputs
(prepend pkg-config)))
(inputs
(modify-inputs inputs
(prepend qtbase-5)))
(synopsis "Qt API bindings for gpgme")
(description "QGpgme provides a very high level Qt API around GpgMEpp.
QGpgME was originally developed as part of libkleo and incorporated into
gpgpme starting with version 1.7.")
(license license:gpl2+)))
(license license:gpl2+))) ;; Note: this differs from gpgme
(define-public qgpgme
(package
(inherit gpgme)
(name "qgpgme")
(version "2.0.0")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnupg/qgpgme/qgpgme-" version ".tar.xz"))
(sha256
(base32 "1bb198dk49bd7yx4cf4w07acjhllilx1nczdna7139ncflj5nr0m"))))
(build-system qt-build-system)
(arguments
(list
#:qtbase qtbase
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda _
(setenv "HOME" (getcwd))
(invoke "gpg-agent" "--daemon"))))))
(propagated-inputs
(list gpgme-2 ;for FindGpgme.cmake and QGpgmeQt6Config.cmake
gpgmepp ;for QGpgmeQt6Config.cmake
libgpg-error)) ;for FindLibGpgError.cmake and QGpgmeQt6Config.cmake
`(#:phases
(modify-phases %standard-phases
(add-before 'build 'chdir-and-symlink
(lambda* (#:key inputs #:allow-other-keys)
(let ((gpgme (assoc-ref inputs "gpgme")))
(symlink (string-append gpgme "/lib/libgpgmepp.la")
"lang/cpp/src/libgpgmepp.la")
(symlink (string-append gpgme "/lib/libgpgme.la")
"src/libgpgme.la"))
(chdir "lang/qt"))))))
(propagated-inputs (list gpgme)) ;required by QGpgmeConfig.cmake
(native-inputs
(list gnupg ;for tests
pkg-config))
(home-page "https://gnupg.org/software/gpgme/index.html")
(modify-inputs native-inputs
(prepend pkg-config)))
(inputs
(modify-inputs inputs
(prepend qtbase)))
(synopsis "Qt API bindings for gpgme")
(description "QGpgme provides a very high level Qt API around GpgMEpp.")
(license license:gpl2+)))
@@ -635,20 +583,21 @@ interface (FFI) of Guile.")
(define-public python-gpg
(package
(name "python-gpg")
(version "2.0.0")
(version "1.10.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "gpg" version))
(patches (search-patches "python-gpg-setup-72.patch"))
(sha256
(base32
"0f2l0iyc8gp49i604c5wpliaa1dsyj0i0p9xc9zfj4z7fwaavdsf"))))
"1ji3ynhp36m1ccx7bmaq75dhij9frpn19v9mpi4aajn8csl194il"))))
(build-system pyproject-build-system)
(arguments
(list
#:tests? #f ; No test suite.
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'patch-setup.py
(add-before 'build 'set-environment
(lambda _
;; GPGME is built with large file support, so we need to set
;; _FILE_OFFSET_BITS to 64 in all users of the GPGME library.
@@ -658,16 +607,9 @@ interface (FFI) of Guile.")
"extra_macros = { \"_FILE_OFFSET_BITS\": 64 }")))
#~())
(substitute* "setup.py"
(("cc") (which "gcc"))
(("\\/usr\\/lib\\/x86_64-linux-gnu( -lgpg-error)" _ keep)
(string-append #$(this-package-input "libgpg-error") "/lib"
keep))
(("\\/usr\\/lib\\/x86_64-linux-gnu( -lgpgme)" _ keep)
(string-append #$(this-package-input "gpgme") "/lib" keep))
(("\\/usr\\/local(', 'include', 'gpgme\\.h')" _ keep)
(string-append #$(this-package-input "gpgme") keep))))))))
(("cc") (which "gcc"))))))))
(inputs
(list gpgme-2 libgpg-error))
(list gpgme))
(native-inputs
(list swig-4.0 python-setuptools))
(home-page (package-home-page gpgme))
+17 -14
View File
@@ -2,8 +2,9 @@
;;; Copyright © 2023 JOULAUD François <Francois.JOULAUD@radiofrance.com>
;;; Copyright © 2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2025-2026 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2025 jgart <jgart@dismail.de>
;;; Copyright © 2026 Ankit Gadiya <git@argp.in>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -48,7 +49,7 @@
(define-public go-chroma
(package
(name "go-chroma")
(version "2.20.0")
(version "2.24.1")
(source
(origin
(method git-fetch)
@@ -57,7 +58,7 @@
(commit (string-append "v" version ))))
(file-name (git-file-name name version))
(sha256
(base32 "05w4hnfcxqdlsz7mkc0m3jbp1aj67wzyhq5jh8ldfgnyjnlafia3"))))
(base32 "0kww0yhwqzzgl8n3alislf0136rk7kh507bbvr32a30wmk5dzi81"))))
(build-system go-build-system)
(arguments
(list
@@ -83,17 +84,16 @@ translators for Pygments lexers and styles.")
(define-public go-fxlint
(package
(name "go-fxlint")
(version "0.0.0-20251227140935-d5da5b04ac90")
(version "1.24.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/uber-go/fx")
(commit (go-version->git-ref version
#:subdir "tools"))))
(commit (string-append "v" version ))))
(file-name (git-file-name name version))
(sha256
(base32 "0yw9x95v82dcxh0zf13inz8c3q7p2hmzqzgja360b1yifi01rvrc"))))
(base32 "0iifq4gjd873l444qh32x2zzsz2yinrvpjsdfphxsfk1h0cyk4q9"))))
(build-system go-build-system)
(arguments
(list
@@ -115,7 +115,7 @@ that handle none of the event types.")
(define-public go-jsonnet
(package
(name "go-jsonnet")
(version "0.21.0")
(version "0.22.0")
(source
(origin
(method git-fetch)
@@ -124,7 +124,7 @@ that handle none of the event types.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0d05f16qxabfhaj0l3da3x7zl5g8jbvkcyn39bidd2a278sb3p97"))))
(base32 "1c7h14rvavgadvbsyfa9j4rchsgxb5j363f53rhcvghvmblzddiv"))))
(build-system go-build-system)
(arguments
(list
@@ -276,19 +276,20 @@ import of a 3rd party package at runtime).")
(name "gopls")
;; XXX: Starting from 0.14.0 gppls needs golang.org/x/telemetry, which
;; needs to be discussed if it may be included in Guix.
(version "0.19.1")
(version "0.22.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/tools")
(commit (go-version->git-ref version #:subdir "gopls"))))
(url "https://go.googlesource.com/tools")
(commit (go-version->git-ref version #:subdir "gopls"))))
(file-name (git-file-name name version))
(sha256
(base32 "1dihdw4nzp21hlbwxf6qyhyfgavi1a55lmlyk36czd85v0jcp6a0"))))
(base32 "0n5ixvk6c8hww5z9lvf74dx6p4j573bq3ssvp77n6033l0fcbv94"))))
(build-system go-build-system)
(arguments
(list
#:go go-1.26
#:install-source? #f
#:import-path "golang.org/x/tools/gopls"
#:unpack-path "golang.org/x/tools"
@@ -311,11 +312,13 @@ import of a 3rd party package at runtime).")
(setenv "GODEBUG" "gotypesalias=1"))))))
(native-inputs
(list go-github-com-fatih-gomodifytags
go-github-com-fsnotify-fsnotify
go-github-com-google-go-cmp
go-github-com-google-jsonschema-go
go-github-com-jba-templatecheck
go-github-com-modelcontextprotocol-go-sdk
go-golang-org-x-mod
go-golang-org-x-sync
go-golang-org-x-sys
go-golang-org-x-telemetry
go-golang-org-x-text
go-golang-org-x-tools
+115
View File
@@ -150,6 +150,31 @@ the @code{c2go} tool at
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
(define-public go-github-com-blakesmith-ar
(package
(name "go-github-com-blakesmith-ar")
(version "0.0.0-20190502131153-809d4375e1fb")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/blakesmith/ar")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "00fxkc04b9cb53xxzw5gdqqpwlqv9n5kk0yn2lb5w4rgj5gm8ph1"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/blakesmith/ar"
#:test-flags #~(list "-vet=off")))
(home-page "https://github.com/blakesmith/ar")
(synopsis "Golang archive file reader")
(description
"This package provides a Golang file reader for archive files generated
with @code{ar}.")
(license license:expat)))
(define-public go-github-com-bodgit-sevenzip
(package
(name "go-github-com-bodgit-sevenzip")
@@ -221,6 +246,31 @@ blocks allowing it to only read the compressed blocks required.")
(license (list license:bsd-3
license:expat))))
(define-public go-github-com-cavaliergopher-cpio
(package
(name "go-github-com-cavaliergopher-cpio")
(version "1.0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cavaliergopher/cpio")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0b1ix8z9kwfpwqi0q08ivcfcimlqk781jbzbfw7qbqavh702w3m2"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/cavaliergopher/cpio"))
(home-page "https://github.com/cavaliergopher/cpio")
(synopsis "Readers and writers for CPIO archives")
(description
"This package provides readers and writers for CPIO archives. Currently,
only the SVR4 (New ASCII) format is supported, both with and without
checksums.")
(license license:bsd-3)))
(define-public go-github-com-containerd-stargz-snapshotter-estargz
(package
(name "go-github-com-containerd-stargz-snapshotter-estargz")
@@ -385,6 +435,37 @@ Implements the XFLATE format, an random-access extension to DEFLATE.
compression format.")
(license license:bsd-3)))
(define-public go-github-com-google-rpmpack
(package
(name "go-github-com-google-rpmpack")
(version "0.7.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/rpmpack")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "17h2s1g191cvbs16fnclkpb42d9mx6mdmhd04kxzv8bss7m59pr4"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/google/rpmpack"))
(native-inputs
(list go-github-com-google-go-cmp))
(propagated-inputs
(list go-github-com-cavaliergopher-cpio
go-github-com-klauspost-compress
go-github-com-klauspost-pgzip
go-github-com-ulikunitz-xz))
(home-page "https://github.com/google/rpmpack")
(synopsis "Pack files to rpm files")
(description
"Package rpmpack packs files to rpm files. It is designed to be simple
to use and deploy, not requiring any filesystem access to create rpm files.")
(license license:asl2.0)))
(define-public go-github-com-hhrutter-lzw
(package
(name "go-github-com-hhrutter-lzw")
@@ -884,6 +965,40 @@ format's \"Extra Fields\". The intention is to eventually support and provide
a low-level API for the majority of PKWARE's and Info-ZIP's extra fields.")
(license license:expat)))
(define-public go-github-com-sassoftware-go-rpmutils
(package
(name "go-github-com-sassoftware-go-rpmutils")
(version "0.4.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sassoftware/go-rpmutils")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "06ymwjn6xvc4cpxcsh5achwgma4i075ikbzq8jm143m0pck4pmfi"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/sassoftware/go-rpmutils"))
(native-inputs
(list go-github-com-stretchr-testify
go-go-uber-org-goleak))
(propagated-inputs
(list go-github-com-datadog-zstd
go-github-com-klauspost-compress
go-github-com-protonmail-go-crypto
go-github-com-ulikunitz-xz
go-github-com-xi2-xz
go-golang-org-x-sys))
(home-page "https://github.com/sassoftware/go-rpmutils")
(synopsis "Parse RPM packages in Golang")
(description
"This package provides some Golang interfaces for handling RPM packages,
such extracting RPM header and CPIO content.")
(license license:asl2.0)))
(define-public go-github-com-sorairolake-lzip-go
(package
(name "go-github-com-sorairolake-lzip-go")
+251
View File
@@ -0,0 +1,251 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2026 Sughosha <sughosha@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages golang-graphics)
#:use-module (guix build-system go)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (gnu packages glib)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages gtk)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xorg))
;;; Commentary:
;;;
;;; Please: Try to add new module packages in alphabetic order.
;;;
;;; Code:
;;;
;;; Libraries:
;;;
(define-public go-github-com-diamondburned-gotk4
(package
(name "go-github-com-diamondburned-gotk4")
;; 0.3.1 (2024-08-03); the latest commit includes fixes for tests, revert
;; back to git tag when released.
(properties '((commit . "d44ab4b5b24e200c90c6a9ffb6632ada7e166a79")
(revision . "0")))
(version (git-version "0.3.1"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/diamondburned/gotk4")
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32 "0xwsl5n3hksrbyap11zhm4jp2hx1v8zqk796bh87qplw7468pn51"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/diamondburned/gotk4"
#:test-flags #~(list "-vet=off")
;; XXX: Code is generated with "go generate", but the atemp to
;; re-generate it before build/test fails, see:
;; <https://github.com/diamondburned/gotk4/issues/174>.
;; #:phases
#;
#~(modify-phases %standard-phases
(add-before 'build 'go-generate
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "generate" "-v" "-n")))))))
(native-inputs
(list at-spi2-core
cairo
gdk-pixbuf
glib
go-github-com-alecthomas-assert-v2
gobject-introspection
graphene
gtk
gtk+
pango
pkg-config))
(propagated-inputs
(list go-github-com-davecgh-go-spew
go-github-com-fatih-color
go-github-com-karpeleslab-weak ;for gotk4/pkg/go.mod
go-go4-org-unsafe-assume-no-moving-gc ;for gotk4/pkg/go.mod
go-golang-org-x-sync))
(home-page "https://github.com/diamondburned/gotk4")
(synopsis "GTK4 bindings generator for Go")
(description
"gotk4 is a GTK4 bindings generator for Go. It also provides generated
bindings for ATK, Cairo, GdkPixbuf, GLib, Graphene, GTK4, GTK+3 and Pango.")
(license (list license:agpl3+ ;used by gotk4/gir
license:mpl2.0 ;used by gotk4/pkg
license:expat)))) ;used by gotk4/pkg/cairo
(define-public go-github-com-diamondburned-gotk4-layer-shell
;; There are no tags or releases upstream.
(let ((commit "6efa9f6dc438e10869f9ef0b8f7b5197e585bac1")
(revision "0"))
(package
(name "go-github-com-diamondburned-gotk4-layer-shell")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/diamondburned/gotk4-layer-shell")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "03kch2g9fzgbd7q2lnp7xhdbi9rsh1fd997nw1phdvw80xshsvlr"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/diamondburned/gotk4-layer-shell"
#:embed-files #~(list "capitalized.txt" "replaced.txt")
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'go-generate
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "generate" "-v" "-n")))))))
(native-inputs
(list at-spi2-core
cairo
gdk-pixbuf
glib
go-github-com-davecgh-go-spew
gobject-introspection
graphene
gtk
gtk+
gtk-layer-shell
gtk4-layer-shell
pango
pkg-config))
(propagated-inputs
(list go-github-com-diamondburned-gotk4
go-github-com-fatih-color
go-github-com-mattn-go-colorable
go-github-com-mattn-go-isatty
go-github-com-pkg-errors
go-golang-org-x-sync
go-golang-org-x-sys))
(home-page "https://github.com/diamondburned/gotk4-layer-shell")
(synopsis "Layer Shell bindings generator for Go and gotk4")
(description
"gotk4-layer-shell is a GTK Layer Shell and GTK4 Layer Shell bindings
generator for Go and gotk4. It also provides generated bindings.")
(license (list license:agpl3 ;used by the generator
license:mpl2.0))))) ;used by the generated code
(define-public go-github-com-dlasky-gotk3-layershell
;; There are no tags or releases upstream.
(let ((commit "5c5115f0d77479c452ef686e3d7f327f2a341b3c")
(revision "0"))
(package
(name "go-github-com-dlasky-gotk3-layershell")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dlasky/gotk3-layershell")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0k7flgwmkwfq3lki4fjwx0868nxv2wa2igbqxjgqfm6150mnhmp8"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/dlasky/gotk3-layershell"))
(native-inputs
(list cairo
gdk-pixbuf
glib
gtk+
gtk-layer-shell
pango
pkg-config))
(propagated-inputs
(list go-github-com-gotk3-gotk3))
(home-page "https://github.com/dlasky/gotk3-layershell")
(synopsis "gotk3 addon module for GTK Layer Shell compatibility")
(description
"gotk3-layershell is a simple golang library to provide bindings for
GTK Layer Shell library which can also be consumed in the gotk3 library.")
(license license:expat))))
(define-public go-github-com-gotk3-gotk3
(package
(name "go-github-com-gotk3-gotk3")
(version "0.6.4.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gotk3/gotk3")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1hbqy4skn56xi69wqbys9rc1g46cx9sazj5n8ckq9638wphnp202"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/gotk3/gotk3"
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'start-xorg-server
(lambda* (#:key inputs #:allow-other-keys)
;; The test suite requires opening a display server.
(system "Xvfb :1 &")
(setenv "DISPLAY" ":1"))))))
(native-inputs
(list cairo
gdk-pixbuf
glib
gtk+
pango
pkg-config
xorg-server))
(home-page "https://github.com/gotk3/gotk3")
(synopsis "Go bindings for GTK+3")
(description
"gotk3 provides Go bindings for GTK+3 and dependent projects.
Partial binding support for the following libraries is currently implemented:
@itemize
@item GTK 3 (3.12 and later)
@item GDK 3 (3.12 and later)
@item GLib 2 (2.36 and later)
@item Cairo (1.10 and later)
@end itemize
Functions use the same names as the native C function calls, but use
CamelCase. In cases where native GTK uses pointers to values to simulate
multiple return values, Go's native multiple return values are used instead.
Whenever a native GTK call could return an unexpected NULL pointer, an
additional error is returned in the Go binding.")
(license license:isc)))
+24
View File
@@ -607,6 +607,30 @@ Actions} locally.")
It's a static checker for GitHub Actions workflow files.")
(license license:expat)))
(define-public go-gitlab-com-digitalxero-go-conventional-commit
(package
(name "go-gitlab-com-digitalxero-go-conventional-commit")
(version "1.0.7")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/digitalxero/go-conventional-commit.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1191j3k9ma5sv8w2zsw8gb1407561zll0ca8hwy0dja6s0b3z0xy"))))
(build-system go-build-system)
(arguments
(list
#:import-path "gitlab.com/digitalxero/go-conventional-commit"))
(home-page "https://gitlab.com/digitalxero/go-conventional-commit")
(synopsis "Go parser for conventional commits")
(description
"This package provides a Go parser for conventional-commit messages
@url{https://www.conventionalcommits.org/}.")
(license license:expat)))
(define-public go-github-com-xanzy-go-gitlab
(package
(name "go-github-com-xanzy-go-gitlab")
+85 -4
View File
@@ -10796,6 +10796,33 @@ dhcpv6 and dhcpv4
@end itemize")
(license license:bsd-3)))
(define-public go-github-com-invopop-jsonschema
(package
(name "go-github-com-invopop-jsonschema")
(version "0.14.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/invopop/jsonschema")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0y881agfaycn5l5qn2y2jmiskchi0cvn5v602hna4ljy9rv5jxw2"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/invopop/jsonschema"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-pb33f-ordered-map-v2))
(home-page "https://github.com/invopop/jsonschema")
(synopsis "Go JSON Schema Reflection")
(description
"Package jsonschema uses reflection to generate JSON Schemas from Go types.")
(license license:expat)))
(define-public go-github-com-ipfs-go-cid
(package
(name "go-github-com-ipfs-go-cid")
@@ -16985,9 +17012,11 @@ kinds of referrer URLs (search, social, ...).")
(list
#:skip-build? #t
#:import-path "github.com/sigstore/rekor"
;; XXX: Remove when all inputs are packaged.
#:embed-files #~(list ".*\\.json")
;; ;; XXX: Remove when all inputs are packaged.
#:test-subdirs
#~(list "pkg/events/newentry"
#~(list "pkg/client"
"pkg/events/newentry"
"pkg/indexstorage/mysql"
"pkg/pki/minisign"
"pkg/pki/pgp"
@@ -16995,7 +17024,10 @@ kinds of referrer URLs (search, social, ...).")
"pkg/pki/tuf"
"pkg/pki/x509"
"pkg/pubsub/gcp"
"pkg/util")))
"pkg/tle"
"pkg/types"
"pkg/util"
"pkg/verify")))
(native-inputs
(list go-github-com-asaskevich-govalidator
go-github-com-data-dog-go-sqlmock
@@ -17023,6 +17055,7 @@ kinds of referrer URLs (search, social, ...).")
go-github-com-go-openapi-validate
go-github-com-go-sql-driver-mysql
go-github-com-go-viper-mapstructure-v2
go-github-com-google-rpmpack
go-github-com-google-trillian
go-github-com-grpc-ecosystem-go-grpc-middleware
go-github-com-hashicorp-go-cleanhttp
@@ -17066,7 +17099,6 @@ kinds of referrer URLs (search, social, ...).")
;; go-github-com-adamkorcz-go-fuzz-headers-1
;; go-github-com-cavaliercoder-go-rpm
;; go-github-com-go-redis-redismock-v9
;; go-github-com-google-rpmpack
;; go-github-com-sassoftware-relic
;; go-github-com-sassoftware-relic-v7
;; go-go-step-sm-crypto
@@ -18549,6 +18581,31 @@ Tailscale for access control.")
Tailscale.")
(license license:bsd-3)))
(define-public go-github-com-tcnksm-go-httpstat
(package
(name "go-github-com-tcnksm-go-httpstat")
(version "0.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tcnksm/go-httpstat")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "18jn40ra97waxx1mf23pkh6rq46y0nqd7vi3zcx9cwc39zqaf9bc"))))
(build-system go-build-system)
(arguments
(list
#:tests? #f ;Tests require network connection
#:import-path "github.com/tcnksm/go-httpstat"))
(home-page "https://github.com/tcnksm/go-httpstat")
(synopsis "Trace HTTP latency information in Go")
(description
"Package httpstat traces HTTP latency infomation, such as DNSLookup and
TCP Connection, on any Golang HTTP request with no big code modification.")
(license license:expat)))
(define-public go-github-com-tdewolff-minify-v2
(package
(name "go-github-com-tdewolff-minify-v2")
@@ -19080,6 +19137,30 @@ caching protocol. It provides support to programmatically store and retrieve
build caches, instead of relying on the standard actions/cache YAML step.")
(license license:expat)))
(define-public go-github-com-toqueteos-webbrowser
(package
(name "go-github-com-toqueteos-webbrowser")
(version "1.2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/toqueteos/webbrowser")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0bnn02zcfc9xkxc2qvv4q6wy5sipcwc0hwmx7hdhvv3lsw177flw"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/toqueteos/webbrowser"))
(home-page "https://github.com/toqueteos/webbrowser")
(synopsis "Simple API for opening web pages")
(description
"This package provides a simple API for opening web pages on your default
browser.")
(license license:expat)))
(define-public go-github-com-transparency-dev-tessera
(package
(name "go-github-com-transparency-dev-tessera")
+513 -32
View File
@@ -77,6 +77,7 @@
;;; Copyright © 2026 Evgeny Pisemsky <mail@pisemsky.site>
;;; Copyright © 2026 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2026 Daniel Littlewood <dan@danielittlewood.xyz>
;;; Copyright © 2026 Sughosha <sughosha@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -113,6 +114,7 @@
#:use-module (gnu packages golang-compression)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-maths)
#:use-module (gnu packages golang-vcs)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages graph)
#:use-module (gnu packages imagemagick)
@@ -1760,6 +1762,30 @@ strings for a safe use as command line arguments in the most common POSIX
shells.")
(license license:expat)))
(define-public go-github-com-aleksi-pointer
(package
(name "go-github-com-aleksi-pointer")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/AlekSi/pointer")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0rncmanv62wwy7ihvjhvb695mkvy4kdzhgnn90zygs9yrfzzk0wk"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/AlekSi/pointer"))
(home-page "https://github.com/AlekSi/pointer")
(synopsis "Helper Go library to convert between pointers and values")
(description
"This package provides helpers to convert between pointers and values of
built-in and, with generics, of any types.")
(license license:expat)))
(define-public go-github-com-alexflint-go-filemutex
(package
(name "go-github-com-alexflint-go-filemutex")
@@ -1788,6 +1814,32 @@ shells.")
synchronizes across processes.")
(license license:expat)))
(define-public go-github-com-allan-simon-go-singleinstance
(package
(name "go-github-com-allan-simon-go-singleinstance")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/allan-simon/go-singleinstance")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1q0s03cmp488d4pyxjysfingzisj4r5n8vy4cffapr6rcr9rfj1h"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/allan-simon/go-singleinstance"
#:test-flags #~(list "-vet=off")))
(home-page "https://github.com/allan-simon/go-singleinstance")
(synopsis "Go library to have only one instance of a software")
(description
"@code{go-singleinstance} is a Go library to have only one instance of a
software (based on Python's
@uref{https://github.com/pycontribs/tendo, tendo}).")
(license license:expat)))
(define-public go-github-com-alsm-ioprogress
(package
(name "go-github-com-alsm-ioprogress")
@@ -4045,38 +4097,6 @@ Supported Barcode Types:
"This is a memcache client library for the Go programming language.")
(license license:asl2.0)))
(define-public go-github-com-bradfitz-iter
;; XXX Report to the users of this package, note from maintainer:
;;
;; This package was intended to be an educational joke when it was released
;; in 2014. People didn't get the joke part and started depending on
;; it. That's fine, I guess. (This is the Internet.) But it's kinda
;; weird. It's one line, and not even idiomatic Go style. I encourage you
;; not to depend on this or write code like this, but I do encourage you to
;; read the code and think about the representation of Go slices and why it
;; doesn't allocate.
(package
(name "go-github-com-bradfitz-iter")
(version "0.0.0-20191230175014-e8f45d346db8")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bradfitz/iter")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "1qqy1fhmlrsfz6l1arsxmkpfj30s090j1a3ij0lap6h45pc1z509"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/bradfitz/iter"))
(home-page "https://github.com/bradfitz/iter")
(synopsis "Syntactically different way to iterate over integers")
(description
"This package provides a syntactically different way to iterate over integers.")
(license license:bsd-3)))
(define-public go-github-com-bradfitz-parentdeath
(package
(name "go-github-com-bradfitz-parentdeath")
@@ -4414,6 +4434,29 @@ information for Golang.")
variables into structs.")
(license license:expat)))
(define-public go-github-com-caarlos0-go-version
(package
(name "go-github-com-caarlos0-go-version")
(version "0.2.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/caarlos0/go-version")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0kp78am3yzffz8r70f1skq0m2vms0wk37f76hqbfg1r29hay1ban"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/caarlos0/go-version"))
(home-page "https://github.com/caarlos0/go-version")
(synopsis "Fetch Go module version")
(description
"Package goversion provides utilities to get the Go module version information.")
(license license:expat)))
(define-public go-github-com-calebcase-tmpfile
(package
(name "go-github-com-calebcase-tmpfile")
@@ -4466,6 +4509,36 @@ color palette} for Go applications. Catppuccin is a community-driven pastel
theme with four flavors: Latte, Frappe, Macchiato, and Mocha.")
(license license:expat)))
(define-public go-github-com-ccojocar-zxcvbn-go
(package
(name "go-github-com-ccojocar-zxcvbn-go")
(version "1.0.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ccojocar/zxcvbn-go")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0dlrd6afpfwnpj6cbbvjhwbf33ldr0nzffl8p43jrmn62mwf7cn7"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/ccojocar/zxcvbn-go"))
(native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/ccojocar/zxcvbn-go")
(synopsis "Password-strength generator in Go")
(description
"This package provides a password strength generators written in Golang.
It attempts to give sound password advice through pattern matching and
conservative entropy calculations. It finds 10k common passwords, common
American names and surnames, common English words, and common patterns like
dates, repeats (aaa), sequences (abcd), and QWERTY patterns. It's an active
fork of @url{https://github.com/nbutton23/zxcvbn-go}.")
(license license:expat)))
(define-public go-github-com-cention-sany-utf7
(package
(name "go-github-com-cention-sany-utf7")
@@ -11731,6 +11804,33 @@ native Go structure.")
(description "Package yaml implements YAML support for the Go language.")
(license license:asl2.0)))
(define-public go-github-com-gobuffalo-flect
(package
(name "go-github-com-gobuffalo-flect")
(version "1.0.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gobuffalo/flect")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0lyb1876byv9q52y6dlq17aahwl108mhp67cmxykckjpxxykb442"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/gobuffalo/flect"))
(native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/gobuffalo/flect")
(synopsis "Inflection engine for Golang")
(description
"This package provides a new inflection engine to replace
@url{https://github.com/markbates/inflect,} designed to be more modular,
readable, and easier to fix issues on than the original.")
(license license:expat)))
(define-public go-github-com-gobwas-glob
(package
(name "go-github-com-gobwas-glob")
@@ -12574,6 +12674,41 @@ color (24-bit, RGB)
@end itemize")
(license license:expat)))
(define-public go-github-com-goreleaser-chglog
(package
(name "go-github-com-goreleaser-chglog")
(version "0.7.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/goreleaser/chglog")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "09ni4y644zhp3bf9nwy9qc9wkxrn2hla6nczg3zpn0ls8qaxjd40"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/goreleaser/chglog"))
(native-inputs
(list go-github-com-go-git-go-billy-v5
go-github-com-google-go-cmp
go-github-com-smartystreets-goconvey
go-github-com-spf13-cobra
go-github-com-spf13-viper))
(propagated-inputs
(list go-github-com-go-git-go-git-v5
go-github-com-masterminds-semver-v3
go-github-com-masterminds-sprig-v3
go-gitlab-com-digitalxero-go-conventional-commit
go-go-yaml-in-yaml-v3))
(home-page "https://github.com/goreleaser/chglog")
(synopsis "Changelog management Go library")
(description
"This package provides Go functions to manage changelogs.")
(license license:expat)))
(define-public go-github-com-goreleaser-fileglob
(package
(name "go-github-com-goreleaser-fileglob")
@@ -12604,6 +12739,66 @@ underneath and returns only matching files or directories, depending on the
configuration.")
(license license:expat)))
(define-public go-github-com-goreleaser-nfpm-v2
(package
(name "go-github-com-goreleaser-nfpm-v2")
(version "2.44.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/goreleaser/nfpm")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "17dmzkvy3ihjjaxi10l9xc1mcg9vmlr2v1xc4a361fa22aqigz0v"))))
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:import-path "github.com/goreleaser/nfpm/v2"
#:unpack-path "github.com/goreleaser/nfpm/v2"
;; Tests fail due to read-only filesystem when trying to manipulate mode
;; of the files.
#:test-flags
#~(list "-skip" "TestPrepareForPackager|TestDeepPathsWithGlobAndUmask")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
(lambda* (#:key unpack-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" unpack-path)
(substitute* "rpm/rpm_test.go"
(("/bin/bash") (which "bash")))))))))
(native-inputs
(list go-github-com-caarlos0-go-version
go-github-com-invopop-jsonschema
go-github-com-muesli-mango-cobra
go-github-com-muesli-roff
go-github-com-sassoftware-go-rpmutils
go-github-com-stretchr-testify))
(propagated-inputs
(list go-dario-cat-mergo
go-github-com-aleksi-pointer
go-github-com-blakesmith-ar
go-github-com-google-rpmpack
go-github-com-goreleaser-chglog
go-github-com-goreleaser-fileglob
go-github-com-klauspost-compress
go-github-com-klauspost-pgzip
go-github-com-masterminds-semver-v3
go-github-com-protonmail-go-crypto
go-github-com-protonmail-gopenpgp-v2
go-github-com-spf13-cobra
go-github-com-ulikunitz-xz
go-gopkg-in-yaml-v3))
(home-page "https://github.com/goreleaser/nfpm")
(synopsis "Go library to package programs in various Linux formats")
(description
"nFPM is Not FPM -- provides ways to package programs in popular Linux
packaging formats, such as @code{deb}, @code{rpm}, @code{apk}, @code{ipk} and
Arch.")
(license license:expat)))
(define-public go-github-com-gorhill-cronexpr
(package
(name "go-github-com-gorhill-cronexpr")
@@ -15783,6 +15978,67 @@ called concurrently with themselves and each other.")
"This package provides an easy access to native byte order.")
(license license:expat)))
(define-public go-github-com-joshuarubin-go-sway
(package
(name "go-github-com-joshuarubin-go-sway")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/joshuarubin/go-sway")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1a4h34m5l2fjxp4s5ps66rjwpkvccvbqk4hr86cd2ajh127icvyv"))))
(build-system go-build-system)
(arguments
(list
#:tests? #f ;require sway running
#:import-path "github.com/joshuarubin/go-sway"))
(propagated-inputs
(list go-github-com-joshuarubin-lifecycle
go-go-uber-org-multierr))
(home-page "https://github.com/joshuarubin/go-sway")
(synopsis "Sway client for Go")
(description
"This package simplifies working with the sway IPC from Go.
The @env{SWAYSOCK} environment variable must be set properly and
@command{sway} must be running with the same byteorder as the client.")
(license license:expat)))
(define-public go-github-com-joshuarubin-lifecycle
(package
(name "go-github-com-joshuarubin-lifecycle")
(version "1.2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/joshuarubin/lifecycle")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0k2siagdyh1v99hlnykd0ldi9icfsaq19rjfz0npvjczza52dg3z"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/joshuarubin/lifecycle"))
(propagated-inputs
(list go-golang-org-x-sync))
(home-page "https://github.com/joshuarubin/lifecycle")
(synopsis "Goroutines management helper for Golang applications")
(description
"@code{lifecycle} helps manage goroutines at the application
level. @code{context.Context} has been great for propagating cancellation
signals, but not for getting any feedback about when goroutines actually
finish.
This package works with @code{context.Context} to ensure that applications
don't quit before their goroutines do.")
(license license:expat)))
(define-public go-github-com-jpillora-backoff
(let ((commit "fab01a9d9810a410d2d95a0a697f0afb604658f9")
(revision "1"))
@@ -16141,6 +16397,32 @@ resources located relative to the executable file.")
using reflink operations on compatible filesystems such as btrfs and xfs.")
(license license:expat)))
(define-public go-github-com-karpeleslab-weak
(package
(name "go-github-com-karpeleslab-weak")
(version "0.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/KarpelesLab/weak")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1jjyd04iqwhk1mjjw7fbxn91qvf8z2a370gpkm3wg6caym4s99sm"))))
(build-system go-build-system)
(arguments
(list #:import-path "github.com/KarpelesLab/weak"))
(home-page "https://github.com/KarpelesLab/weak")
(synopsis "Weak reference map for Go 1.18+")
(description
"This is a weakref map for Go 1.18, with some inspiration from
@uref{https://github.com/xeus2001/go-weak, xeus2001's weakref implementation}.
This provides both a @code{weak.Ref} object to store weak references, and a
@code{weak.Map} object for maps.")
(license license:expat)))
(define-public go-github-com-karrick-godirwalk
(package
(name "go-github-com-karrick-godirwalk")
@@ -20438,6 +20720,90 @@ for any given struct and a set of its potential member values. This can be
used to generate extensive test matrixes among other things.")
(license license:expat)))
(define-public go-github-com-muesli-mango
(package
(name "go-github-com-muesli-mango")
(version "0.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/muesli/mango")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "16d0sga6cbdxzlqkibcgw0civkw11fpkcjpgv21i0q5j9mjbsjw4"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/muesli/mango"))
(propagated-inputs
(list go-github-com-muesli-roff))
(home-page "https://github.com/muesli/mango")
(synopsis "Golang man-page generator")
(description
"This package provides a man-page generator for the Go flag, pflag, cobra, coral,
and kong packages. It extracts commands, flags, and arguments from the target
program and enables it to self-document.")
(license license:expat)))
(define-public go-github-com-muesli-mango-cobra
(package
(name "go-github-com-muesli-mango-cobra")
(version "1.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/muesli/mango-cobra")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "11vvm3f2mq8yaqbfrjbzdcyvkn9f75rp4kygxyvqwc5jsw1kdwal"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/muesli/mango-cobra"))
(propagated-inputs
(list go-github-com-muesli-mango
go-github-com-muesli-mango-pflag
go-github-com-muesli-roff
go-github-com-spf13-cobra))
(home-page "https://github.com/muesli/mango-cobra")
(synopsis "Cobra adapter for mango")
(description
"This package provides a cobra adapter for the
@url{https://github.com/muesli/mango,mango} man-page generator.")
(license license:expat)))
(define-public go-github-com-muesli-mango-pflag
(package
(name "go-github-com-muesli-mango-pflag")
(version "0.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/muesli/mango-pflag")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1k4m88i9shs36a8n86k3a1vlxmdf5vwavkih2f2j3xj718hnhpw0"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/muesli/mango-pflag"))
(propagated-inputs
(list go-github-com-muesli-mango
go-github-com-muesli-roff
go-github-com-spf13-pflag))
(home-page "https://github.com/muesli/mango-pflag")
(synopsis "Pflag adapter for mango")
(description
"This package provides a pflag adapter for the
@url{https://github.com/muesli/mango, mango} man-page generator.")
(license license:expat)))
(define-public go-github-com-muesli-reflow
(package
(name "go-github-com-muesli-reflow")
@@ -20465,6 +20831,32 @@ used to generate extensive test matrixes among other things.")
helping you to transform blocks of text.")
(license license:expat)))
(define-public go-github-com-muesli-roff
(package
(name "go-github-com-muesli-roff")
(version "0.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/muesli/roff")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0l263rqwq2ccr1lpamsvs48dddsr70xim8mv6rsj2x9y3prcq3yh"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/muesli/roff"
;; Expected title heading, got:
;; .TH TITLE 1 "2026-05-22" "Title" "A short description"
#:test-flags #~(list "-skip" "TestTitleHeading")))
(home-page "https://github.com/muesli/roff")
(synopsis "Write roff documents in Go")
(description "This package provides tools to write @code{roff}
documents in Golang.")
(license license:expat)))
(define-public go-github-com-muesli-termenv
(package
(name "go-github-com-muesli-termenv")
@@ -22424,6 +22816,36 @@ expiration times, it doesn't need to serialize or transmit its contents over
the network.")
(license license:expat)))
(define-public go-github-com-pb33f-ordered-map-v2
(package
(name "go-github-com-pb33f-ordered-map-v2")
(version "2.3.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pb33f/ordered-map")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1k4r1rvlziddaszm1jvgz27nkrk1jfka0zik16f4b3gmhdnmd9vc"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/pb33f/ordered-map/v2"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-bahlo-generic-list-go
go-github-com-buger-jsonparser
go-go-yaml-in-yaml-v4))
(home-page "https://github.com/pb33f/ordered-map")
(synopsis "Ordered maps in Golang")
(description
"This package provides a Golang implementation of an ordered map, which
is a map that also keeps track of the order in which keys were inserted.")
(license license:asl2.0)))
(define-public go-github-com-pbnjay-memory
(let ((commit "7b4eea64cf580186c0eceb10dc94ba3a098af46c")
(revision "2"))
@@ -30874,6 +31296,33 @@ for locating directories
pass & access either a read-only @code{[]byte} or a @code{string}.")
(license license:asl2.0)))
(define-public go-go4-org-unsafe-assume-no-moving-gc
;; XXX: No release and not published in <https://pkg.go.dev/>.
(let ((commit "b99613f794b6b2f6d80da53bb131c5c98ea2fdd2")
(revision "0"))
(package
(name "go-go4-org-unsafe-assume-no-moving-gc")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go4org/unsafe-assume-no-moving-gc")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "00ny3qha8k9nnx37ryvls2n5r7lw3bnldz6kwdmjxk8s19mxqim7"))))
(build-system go-build-system)
(arguments
(list
#:import-path "go4.org/unsafe/assume-no-moving-gc"))
(home-page "https://github.com/go4org/unsafe-assume-no-moving-gc")
(synopsis "Declare that Go package plays @code{unsafe} games")
(description
"This package provides a Go library which helps to declare that which
of imported modules uses @code{unsafe} and report back as error trace.")
(license license:bsd-3))))
(define-public go-golang-org-rainycape-unidecode
(let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
(revision "1"))
@@ -33528,6 +33977,22 @@ library.")
;;; Executables:
;;;
(define-public chglog
(package/inherit go-github-com-goreleaser-chglog
(name "chglog")
(arguments
(substitute-keyword-arguments arguments
((#:tests? _ #t) #f)
((#:install-source? _ #t) #f)
((#:import-path _) "github.com/goreleaser/chglog/cmd/chglog")
((#:unpack-path _ "") "github.com/goreleaser/chglog")))
(native-inputs
(append
(package-native-inputs go-github-com-goreleaser-chglog)
(package-propagated-inputs go-github-com-goreleaser-chglog)))
(inputs '())
(propagated-inputs '())))
(define-public containers-storage
(package/inherit go-github-com-containers-storage
(name "containers-storage")
@@ -34068,6 +34533,22 @@ various modes for analyzing and transforming YAML data.")))
(propagated-inputs '())
(inputs '())))
(define-public nfpm
(package/inherit go-github-com-goreleaser-nfpm-v2
(name "nfpm")
(arguments
(substitute-keyword-arguments arguments
((#:import-path _) "github.com/goreleaser/nfpm/v2/cmd/nfpm")
((#:install-source? _ #t) #f)
((#:tests? _ #t) #f)
((#:unpack-path _ "") "github.com/goreleaser/nfpm/v2")))
(native-inputs
(append
(package-native-inputs go-github-com-goreleaser-nfpm-v2)
(package-propagated-inputs go-github-com-goreleaser-nfpm-v2)))
(inputs '())
(propagated-inputs '())))
(define-public oci-runtime-tool
(package/inherit go-github-com-opencontainers-runtime-tools
(name "oci-runtime-tool")
-1
View File
@@ -29,7 +29,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+1 -2
View File
@@ -36,7 +36,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system r)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -667,7 +666,7 @@ contains supporting code for evaluation and parameter tuning.")
(not (member file ignored))))))))
(format #t "test suite not run~%"))))))))
(native-inputs
(list python-scipy))
(list python-scipy python-setuptools))
(inputs
(list faiss openblas python-wrapper swig-4.0))
(propagated-inputs
+153 -71
View File
@@ -43,6 +43,7 @@
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2025 James Smith <jsubuntuxp@disroot.org>
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
;;; Copyright © 2026 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -110,7 +111,6 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ninja)
#:use-module (gnu packages opencl)
#:use-module (gnu packages oneapi)
#:use-module (gnu packages pciutils)
@@ -146,7 +146,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system qt)
#:use-module (guix download)
@@ -700,17 +699,40 @@ It was developed by DreamWorks Animation for use in volumetric applications
typically encountered in feature film production.")
(license license:mpl2.0)))
(define-public blender-assets
(package
(name "blender-assets")
(version "4.4.3")
(source
(origin
(method git-fetch/lfs) ;Needs LFS because .blender files are dummies
(uri (git-reference
(url "https://projects.blender.org/blender/blender-assets.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet '(begin
(delete-file-recursively "working")))
(sha256
(base32 "1011zn4g1f5hs4dqar4sa7mh02kl4jnrwkpl6gfsi6sc0qhrxxdz"))))
(build-system copy-build-system)
(home-page "https://www.blender.org/")
(synopsis "Bundled assets for Blender")
(description
"Assets bundled with Blender releases in the Essentials assets library.")
(license license:cc0)))
(define-public blender
(package
(name "blender")
(version "3.6.23") ;4.2.x+ requires Python >= 3.12
(version "4.5.10") ;5.1.x+ requires Python >= 3.13
(source (origin
(method url-fetch)
(uri (string-append "https://download.blender.org/source/"
"blender-" version ".tar.xz"))
(sha256
(base32
"16ah70kqznxz60n39d4hnlnwh1vi7xn9kx37di708n03l5bn6mmw"))))
"1z4sq4rmg5lx0502i2kgalmdyw3a4kc3lw70kwnwkih5wkjnrbyx"))))
(build-system cmake-build-system)
(arguments
(list
@@ -737,37 +759,50 @@ typically encountered in feature film production.")
"-DWITH_SYSTEM_GLOG=ON"
"-DWITH_SYSTEM_LZO=ON"
(string-append "-DPYTHON_LIBRARY=python" #$python-version)
(string-append "-DPYTHON_LIBPATH="
(assoc-ref %build-inputs "python")
"/lib")
(string-append "-DPYTHON_INCLUDE_DIR="
(assoc-ref %build-inputs "python")
(string-append "-DPYTHON_LIBPATH=" #$python "/lib")
(string-append "-DPYTHON_INCLUDE_DIR=" #$python
"/include/python" #$python-version)
(string-append "-DPYTHON_VERSION=" #$python-version)
(string-append "-DPYTHON_NUMPY_INCLUDE_DIRS="
(assoc-ref %build-inputs "python-numpy")
#$(this-package-input "python-numpy")
"/lib/python" #$python-version
"/site-packages/numpy/core/include/")
(string-append "-DPYTHON_NUMPY_PATH="
(assoc-ref %build-inputs "python-numpy")
#$(this-package-input "python-numpy")
"/lib/python" #$python-version
"/site-packages/")))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'install-assets
(lambda _
(copy-recursively #$(this-package-input "blender-assets")
"./release/datafiles/assets")))
(add-after 'install 'link-python-binary
(lambda _
(let* ((blender-dir (string-append #$output "/share/blender/"
#$(version-major+minor version)))
(blender-python-dir (string-append blender-dir "/python")))
(mkdir-p blender-dir)
(symlink #$(this-package-input "python")
blender-python-dir))))
(add-after 'install 'wrap-bin
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(python-path (getenv "GUIX_PYTHONPATH")))
(wrap-program (string-append out "/bin/blender")
`("GUIX_PYTHONPATH" ":" prefix (,python-path)))))))))
(lambda _
(let ((python-path (getenv "GUIX_PYTHONPATH")))
(when python-path
(wrap-program (string-append #$output "/bin/blender")
`("GUIX_PYTHONPATH" ":" prefix (,python-path))))))))))
(native-inputs
(list pkg-config))
(inputs
(list bash-minimal
blender-assets
boost
bullet
eigen
embree
ffmpeg-6
fftw
fftwf
freetype-with-brotli
glew
glog
@@ -795,6 +830,9 @@ typically encountered in feature film production.")
pugixml
python
python-numpy-1
shaderc
vulkan-headers
vulkan-loader
zlib
`(,zstd "lib")))
(home-page "https://www.blender.org/")
@@ -959,24 +997,17 @@ baking tools to produce normal maps.")
(string-append "-DLLVM_BC_GENERATOR="
#$(this-package-native-input "clang")
"/bin/clang++"))
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke
"ctest" "--exclude-regex"
(string-join
(list
"osl-imageio" ; file does not exist
"osl-imageio.opt" ; file does not exist
"osl-imageio.opt.rs_bitcode" ; file does not exist
"texture-udim" ; file does not exist
"texture-udim.opt" ; file does not exist
"texture-udim.opt.rs_bitcode" ; file does not exist
"example-deformer" ; could not find OSLConfig
"python-oslquery") ; no module oslquery
"|"))))))))
#:test-exclude (string-join
(list
"osl-imageio" ; file does not exist
"osl-imageio.opt" ; file does not exist
"osl-imageio.opt.rs_bitcode" ; file does not exist
"texture-udim" ; file does not exist
"texture-udim.opt" ; file does not exist
"texture-udim.opt.rs_bitcode" ; file does not exist
"example-deformer" ; could not find OSLConfig
"python-oslquery") ; no module oslquery
"|")))
(native-inputs
(list bison
clang
@@ -1212,7 +1243,7 @@ quaternions and other useful 2D and 3D math functions. Iex is an
exception-handling library.")
(license license:bsd-3)))
(define-public lib2geom
(define-public lib2geom/pinned
(package
(name "lib2geom")
(version "1.3")
@@ -1290,52 +1321,38 @@ basic geometries.")
;; Because the library is linked with the GNU Scientific Library
;; (GPLv3+), the combined work must be licensed as GPLv3+ (see:
;; https://gitlab.com/inkscape/inkscape/issues/784).
(license license:gpl3+)))
(license license:gpl3+)
(properties '((hidden? . #t)))))
(define-public python-booleanoperations
(define-public lib2geom
(package
(name "python-booleanoperations")
(version "0.9.0")
(inherit lib2geom/pinned)
(name "lib2geom")
(version "1.4")
(source
(origin
(inherit (package-source lib2geom/pinned))
(method git-fetch)
(uri (git-reference
(url "https://github.com/typemytype/booleanOperations")
(url "https://gitlab.com/inkscape/lib2geom")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0ahfgamyq1ndwbr9n8sdx8qhqc2195xnbahylgjpk877hbr2gxav"))))
(build-system pyproject-build-system)
(base32 "0gfgzwm5s50caj5s6l7irgmlifpmypd0fnm6ckzli1fdziwjgdwi"))))
(arguments
(list
;; Some tests fail due to small differences in the expected result (see:
;; <https://github.com/typemytype/booleanOperations/issues/69>).
#:test-flags
#~(list "-k"
(string-join
(list "not test_QTail_reversed_difference"
"test_QTail_reversed_intersection"
"test_QTail_reversed_union"
"test_QTail_reversed_xor"
"test_Q_difference"
"test_Q_intersection"
"test_Q_union"
"test_Q_xor")
" and not "))))
(propagated-inputs (list python-fonttools-minimal python-pyclipper))
(native-inputs
(list python-defcon-bootstrap
python-fontpens-bootstrap
python-pytest
python-setuptools
python-setuptools-scm))
(home-page "https://github.com/typemytype/booleanOperations")
(synopsis "Boolean operations on paths")
(description
"Boolean operations on paths which uses a super fast
@url{http://www.angusj.com/delphi/clipper.php, polygon clipper library by
Angus Johnson}.")
(license license:expat)))
;; https://gitlab.com/inkscape/lib2geom/-/work_items/82
(if (or (target-aarch64?)
(target-riscv64?)
(target-ppc64le?))
(substitute-keyword-arguments arguments
((#:phases phases #~%standard-phases)
#~(modify-phases #$phases
(add-after 'unpack 'disable-polynomial-test
(lambda _
(substitute* "tests/CMakeLists.txt"
(("polynomial-test") "")))))))
arguments))
(properties '((hidden? . #f)))))
(define-public pstoedit
(package
@@ -2380,6 +2397,71 @@ and engineering community.")
(define-deprecated coin3D-4 coin3d)
(export coin3D-4)
(define-public skcms
;; No tags are available.
(let ((commit "a7a3b15f06355692d86a3b8373c579a521598f4c")
(revision "0"))
(package
(name "skcms")
(version (git-version "0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://skia.googlesource.com/skcms")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0ylrsm7cinw59ilgbffazbgifax81kkya5cxq8q8wybnxx6z6ps6"))))
(build-system gnu-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-includes
(lambda _
(substitute* "skcms.h"
(("src\\/skcms_public\\.h") "skcms/skcms_public.h"))))
(delete 'configure)
(replace 'build
(lambda _
;; Some CPUs may not support these features.
(let ((cflags (append '("-DSKCMS_DISABLE_HSW=1"
"-DSKCMS_DISABLE_SKX=1")
(if #$(target-mingw?)
'("-DSKCMS_HAS_MUSTTAIL=0")
'())))
(ldflags '("-lstdc++")))
(apply invoke #$(cc-for-target)
`("-O2" "-g" "-fPIC" ,@cflags
"skcms.cc"
"src/skcms_TransformBaseline.cc"
"src/skcms_TransformHsw.cc"
"src/skcms_TransformSkx.cc"
"-shared" ,@ldflags
"-o" "libskcms.so"))
(apply invoke #$(cc-for-target)
`(,@cflags
"tests.c" "test_only.c"
"-Wl,-rpath=." "-L." "-lskcms" ,@ldflags
"-o" "tests")))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "./tests"))))
(replace 'install
(lambda _
(install-file "libskcms.so" (string-append #$output "/lib"))
(install-file "skcms.h" (string-append #$output "/include"))
(install-file "src/skcms_public.h"
(string-append #$output "/include/skcms")))))))
(native-inputs (list ninja))
(home-page "https://skia.org/")
(synopsis "Color management engine")
(description
"skcms is the color management engine. It is a part of @code{skia}.")
(license license:bsd-3))))
(define-public skia
;; Releases follow those of Chromium, about every 6 weeks. The release
;; version can be found on this page:
+33 -21
View File
@@ -35,7 +35,6 @@
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
@@ -152,32 +151,46 @@ interfaces for other technical domains.")
(define-public python-graphviz
(package
(name "python-graphviz")
(version "0.20.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "graphviz" version ".zip"))
(sha256
(base32
"0pcjnnhprs1hb4r9jr7r4qjxc7lzsjlka8d5gcp3kym9ws0vrmh9"))))
(version "0.21")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/xflr6/graphviz")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "00hgh1ab54h2jhqnwn5vrggg0hqbwmjn0cx2a9nw4vi1wmijib53"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list "--ignore=tests/backend/")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-pytest-options
(lambda _
(substitute* "setup.cfg"
((".*doctest.*") "")
(("--cov.*") ""))))
(replace 'check
(lambda* (#:key tests? test-flags #:allow-other-keys)
(substitute* "pyproject.toml"
((".*--cov-report=term.*") ""))))
(add-before 'check 'pre-check
(lambda _
(setenv "HOME" "/tmp")))
(add-after 'check 'test-backend
(lambda* (#:key tests? #:allow-other-keys)
;; Running tests together fails with error:
;;
;; import file mismatch:
;; imported module 'conftest' has this __file__ attribute:
;; /<...>/source/tests/backend/conftest.py
;; which is not the same as the test file we want to collect:
;; /<...>/source/tests/conftest.py
;;
;; HINT: remove __pycache__ / .pyc files and/or use a unique
;; basename for your test file modules
(when tests?
(setenv "HOME" "/tmp")
(apply invoke "python" "run-tests.py" test-flags)))))))
(invoke "pytest" "-v" "tests/backend/")))))))
(native-inputs
(list unzip
;; For tests.
graphviz
(list graphviz
python-mock
python-pytest
python-pytest-mock
@@ -246,7 +259,6 @@ layout algorithms.")
(list graphviz
python-defusedxml
python-pytest
python-pytest-cov
python-setuptools
python-typing-extensions))
(propagated-inputs
@@ -329,7 +341,7 @@ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/predicates_init.c \
(define-public xdot
(package
(name "xdot")
(version "1.4")
(version "1.6")
(source
(origin
;; PyPI tarball is missing some test files.
@@ -339,7 +351,7 @@ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/predicates_init.c \
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1l34ahvcz90j3j7aspp9wqvxpq10mzgq7l0sanrj142ihdnbahvy"))))
(base32 "0gg54k6zhdviz17aa3harc82f7bx4mpwnj292q066dzamvr87svq"))))
(build-system pyproject-build-system)
(arguments
(list
+16 -11
View File
@@ -71,7 +71,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system waf)
#:use-module (gnu packages)
@@ -1120,7 +1119,7 @@ application suites.")
(define-public gtk
(package
(name "gtk")
(version "4.20.3")
(version "4.22.1")
(source
(origin
(method url-fetch)
@@ -1128,9 +1127,11 @@ application suites.")
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32 "0ly1gqc6ybxv5f2a9hvjp5k6l9mfzy2yv8iy2xqnr9l8628g4wr8"))
(base32 "1z2mkmazc2d51jbg3qwwdycycqiwswm88nhw6bxscz8j86f5lyyd"))
(patches
(search-patches "gtk4-respect-GUIX_GTK4_PATH.patch"))
(search-patches "gtk4-demo-reproducible.patch"
"gtk4-needs-udmabuf.patch"
"gtk4-respect-GUIX_GTK4_PATH.patch"))
(modules '((guix build utils)))))
(build-system meson-build-system)
(outputs '("out" "bin" "doc"))
@@ -1172,7 +1173,8 @@ application suites.")
'("--no-suite=gsk-compare-gl"
"--no-suite=gsk-compare-cairo"
"--no-suite=gsk-compare-ngl"
"--no-suite=gsk-compare-vulkan")
"--no-suite=gsk-compare-vulkan"
"--no-suite=svg")
'()))
#:phases
#~(modify-phases %standard-phases
@@ -1254,8 +1256,10 @@ application suites.")
(setenv "XDG_CACHE_HOME" (getcwd))))
(add-before 'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)
;; Tests require a running X server.
(system "Xvfb :1 +extension GLX &")
;; Tests require a running X server. The '-noreset' option is
;; necessary to avoid spurious "Failed to open display" test
;; errors.
(system "Xvfb :1 +extension GLX -screen 0 1024x768x24 -noreset &")
(setenv "DISPLAY" ":1")
;; Tests write to $HOME.
(setenv "HOME" (getcwd))
@@ -1298,6 +1302,7 @@ application suites.")
docbook-xsl
gettext-minimal
`(,glib "bin")
glibc-utf8-locales ;some tests require en_US.UTF-8
gobject-introspection ;for building introspection data
graphene
gtk-doc/stable ;for building documentation
@@ -1365,8 +1370,8 @@ application suites.")
(native-search-paths
(list
(search-path-specification
(variable "GUIX_GTK4_PATH")
(files '("lib/gtk-4.0")))))
(variable "GUIX_GTK4_PATH")
(files '("lib/gtk-4.0")))))
(search-paths native-search-paths)
(home-page "https://www.gtk.org/")
(synopsis "Cross-platform widget toolkit")
@@ -2803,7 +2808,7 @@ to rename these directories if the locale changes.")
(define-public goocanvas
(package
(name "goocanvas")
(version "2.0.4")
(version "3.0.0")
(source
(origin
(method url-fetch)
@@ -2811,7 +2816,7 @@ to rename these directories if the locale changes.")
(version-major+minor version)
"/goocanvas-" version ".tar.xz"))
(sha256
(base32 "141fm7mbqib0011zmkv3g8vxcjwa7hypmq71ahdyhnj2sjvy4a67"))))
(base32 "06j05g2lmwvklmv51xsb7gm7rszcarhm01sal41jfp0qzrbpa2k7"))))
(build-system gnu-build-system)
(native-inputs
(list gettext-minimal
+12 -13
View File
@@ -155,6 +155,7 @@
#:use-module (guix git-download)
#:use-module (guix hg-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system emacs)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system guile)
@@ -2933,7 +2934,7 @@ user which package sets would they like to install from it.")
(define-public guile-wisp
(package
(name "guile-wisp")
(version "1.0.12")
(version "1.0.13")
(source (origin
(method hg-fetch)
(uri (hg-reference
@@ -2942,7 +2943,7 @@ user which package sets would they like to install from it.")
(file-name (git-file-name name version))
(sha256
(base32
"0m5ssl4ngk2jl1zk0fnsss0asyvwanjaa5rrcksldqnh2ikcr4bm"))))
"0fb4l0ww4rnkrsh4x46301j5xrqniny9b7yh7i6lp4wprwx0a7fs"))))
(build-system gnu-build-system)
(arguments
`(#:modules ((guix build gnu-build-system)
@@ -2951,9 +2952,7 @@ user which package sets would they like to install from it.")
(guix build emacs-utils)
(ice-9 rdelim)
(ice-9 popen))
#:imported-modules (,@%default-gnu-imported-modules
(guix build emacs-build-system)
(guix build emacs-utils))
#:imported-modules ,%emacs-build-system-modules
#:phases
(modify-phases %standard-phases
(replace 'bootstrap
@@ -2997,11 +2996,11 @@ user which package sets would they like to install from it.")
(inputs
(list guile-3.0))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("emacs" ,emacs-minimal)
("python" ,python)
("pkg-config" ,pkg-config)))
(list autoconf
automake
emacs-minimal
pkg-config
python))
(synopsis "Whitespace to lisp syntax for Guile")
(description "Wisp is a syntax for Guile which provides a Python-like
whitespace-significant language. It may be easier on the eyes for some
@@ -7814,8 +7813,8 @@ is an attempt to combine both into something useful.")
(license license:asl2.0))))
(define-public guile-knots
(let ((commit "49996c432a4616e03ecaf01cb42afc5fd78eafd5")
(revision "35"))
(let ((commit "d1cecc06fb96a193bb4bdbef159e4c3a83895436")
(revision "36"))
(package
(name "guile-knots")
(version (git-version "0.1" revision commit))
@@ -7826,7 +7825,7 @@ is an attempt to combine both into something useful.")
(commit commit)))
(sha256
(base32
"0i6vk432shy7qmsq1hli71a9kmgf8yy9hx3bck0r9qzsldv1m3m9"))
"1ssgkbnxfjvnvyrmyva40yywi5dybyqds1q9v9i674d6i435zlbl"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
+11
View File
@@ -529,6 +529,17 @@ without requiring the source code to be rewritten.")
;;; (security or else) and this deprecation could be removed.
(define-deprecated/public-alias guile-3.0/fixed guile-3.0/pinned)
(define-public guile-with-gmp
(package/inherit guile-3.0-latest
(name "guile-with-gmp")
(propagated-inputs
(modify-inputs propagated-inputs
(append gmp)))
(arguments
(substitute-keyword-arguments arguments
((#:configure-flags flags #~'())
#~(delete "--enable-mini-gmp" #$flags))))))
(define-public guile-3.0/pinned
;; A package of Guile that's rarely changed. It is the one used in the
;; `base' module, and thus changing it entails a full rebuild.
-1
View File
@@ -119,7 +119,6 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix download)
#:use-module (guix gexp)
-1
View File
@@ -43,7 +43,6 @@
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages anthy)

Some files were not shown because too many files have changed in this diff Show More