1
0
forked from tribes/guix

Compare commits

..

299 Commits

Author SHA1 Message Date
Sharlatan Hellseher 0e86b13553 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-04-16 09:59:21 +01:00
Sharlatan Hellseher 19ffbe53e6 gnu: libftdi: Fix build on python-3.12.
* gnu/packages/libftdi.scm (libftdi)[native-inputs]: Remove swig-4.0;
add python-setuptools and swig.

Change-Id: Idd7c1c616191778c7176ef50007404d1628c914e
2026-04-16 09:59:21 +01:00
Sharlatan Hellseher 4a8c88cd49 gnu: httpie: Skip one more test.
* gnu/packages/python-web.scm (httpie)[arguments] <test-flags>: Skip one
more test.

Relates-to: https://codeberg.org/guix/guix/issues/7707
Change-Id: I06bea4cbaae29c88436726398b849d0cc38727b4
2026-04-16 09:59:20 +01:00
Sharlatan Hellseher f0cd114773 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-04-16 09:59:20 +01:00
Sharlatan Hellseher 0fd098629d gnu: fdroidserver: Update to 2.4.3.
* gnu/packages/android.scm (fdroidserver): Update to 2.4.3.
[source]: Switch to git-fetch.
[propagated-inputs]: Remove python-argcomplete, python-docker,
python-mwclient, python-pyasn1, and python-pyasn1-modules.

Change-Id: I5f184eb4df48ee160091ffa55bb1e9a0ca8c0c40
2026-04-16 09:59:20 +01:00
Sharlatan Hellseher 87fa3dff54 gnu: sdkmanager: Adjust inputs and test backend.
* gnu/packages/android.scm (sdkmanager):
[arguments] <test-backend>: Use unittest.
[phases]{check}: Use default phase.
[inputs]:  Move from here ...
[propagated-inputs]: ... to here.

Change-Id: I6d976dbf7cee39beda89ea9719dcc1e340da66d9
2026-04-16 09:59:20 +01:00
Sharlatan Hellseher b45d4798a9 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-04-16 09:59:20 +01:00
Sharlatan Hellseher 307753bccf gnu: python-asyncinject: Update to 0.6.1.
* gnu/packages/python-xyz.scm (python-asyncinject): Update to 0.6.1.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-wheel.

Change-Id: I097308d486aa6dc0a60f696389413dba2fd79b09
2026-04-16 09:59:20 +01:00
Sharlatan Hellseher 0659b145ad gnu: cpplint: Fix tests.
* gnu/packages/cpp.scm (cpplint)[phases]{fix-pytest-config}: New phase.

Change-Id: I75ea1c39f57d79d42f376f00da83e0e4867bfd8b
2026-04-16 09:59:20 +01:00
Sharlatan Hellseher 41b5937cda 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-04-16 09:59:20 +01:00
Sharlatan Hellseher d9df7ceffc 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-04-16 09:59:19 +01:00
Sharlatan Hellseher ca45fe8bb6 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-04-16 09:59:19 +01:00
Sharlatan Hellseher 6d14175d50 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-04-16 09:59:19 +01:00
Sharlatan Hellseher 7ad2f6fe43 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-04-16 09:59:19 +01:00
Sharlatan Hellseher 441f81b99b 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-04-16 09:59:19 +01:00
Sharlatan Hellseher 69b7a6ea3f 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-04-16 09:59:19 +01:00
Sharlatan Hellseher a4a041e291 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-04-16 09:59:19 +01:00
Sharlatan Hellseher 70808d6fa1 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-04-16 09:59:19 +01:00
Sharlatan Hellseher 50c3a6cd52 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-04-16 09:59:18 +01:00
Hugo Buddelmeijer 46a2ae9f7f 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-04-16 09:59:18 +01:00
Hugo Buddelmeijer dbb3262b7f 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-04-16 09:59:18 +01:00
Hugo Buddelmeijer 8f80842f8b 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-04-16 09:59:18 +01:00
Hugo Buddelmeijer 064126ebaa 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-04-16 09:59:18 +01:00
Sharlatan Hellseher e548c09f9c 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-04-16 09:59:18 +01:00
Sharlatan Hellseher d6311e859d 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-04-16 09:59:18 +01:00
Sharlatan Hellseher 66afa79048 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-04-16 09:59:18 +01:00
Sharlatan Hellseher a3225a015c 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-04-16 09:59:17 +01:00
Hugo Buddelmeijer b2b8c7da58 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-04-16 09:59:17 +01:00
Nicolas Graves 51ad7d0f79 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-04-16 09:59:17 +01:00
Nicolas Graves 7fb0653e6b 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-04-16 09:59:17 +01:00
Nicolas Graves ee5078e893 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-04-16 09:59:17 +01:00
Sharlatan Hellseher 1d322ea750 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-04-16 09:59:17 +01:00
Sharlatan Hellseher f72d6b42f4 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-04-16 09:59:17 +01:00
Sharlatan Hellseher bd8d0e22da gnu: python-debugpy: Add python-versioneer.
* gnu/packages/python-xyz.scm (python-debugpy)[native-inputs]: Add
python-versioneer.

Change-Id: I2e9906742caa4edcb44dfc3236e75b36656cabcd
2026-04-16 09:59:16 +01:00
Sharlatan Hellseher 8bbebee269 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-04-16 09:59:16 +01:00
Sharlatan Hellseher 8e78ae1376 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-04-16 09:59:16 +01:00
Nicolas Graves b57b3de865 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-04-16 09:59:16 +01:00
Nicolas Graves e707ddc018 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-04-16 09:59:16 +01:00
Nicolas Graves ff9c2552d6 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-04-16 09:59:16 +01:00
Nicolas Graves de378f7769 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-04-16 09:59:16 +01:00
Nicolas Graves 13f05468a0 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-04-16 09:59:16 +01:00
Sharlatan Hellseher ba0fe496e9 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-04-16 09:59:15 +01:00
Sharlatan Hellseher e3d9e74aec gnu: python-pyscf: Update to 2.12.1.
* gnu/packages/chemistry.scm (python-pyscf): Update to 2.12.1.
[arguments] <modules>: Drop all.
[native-inputs]: Remove (canonical-package gcc) and python-wheel.

Change-Id: Ib139be65ee8b32a67fdba937c99acaa0636f42f4
2026-04-16 09:59:15 +01:00
Sharlatan Hellseher a79714f397 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-04-16 09:59:15 +01:00
Sharlatan Hellseher 7690d80766 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-04-16 09:59:15 +01:00
Sharlatan Hellseher 79c7484f74 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-04-16 09:59:15 +01:00
Sharlatan Hellseher db6fe2ec1e 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-04-16 09:59:15 +01:00
Hugo Buddelmeijer 244159baa3 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-04-16 09:59:15 +01:00
Sharlatan Hellseher 9b8ba8b9c3 gnu: Add libmypaint-next.
* gnu/packages/gimp.scm (libmypaint-next): New variable.

Change-Id: I1a5c1090d5eea1630934f95cef452d1a4896db69
2026-04-16 09:59:15 +01:00
Sharlatan Hellseher 01e3a224f9 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-04-16 09:59:15 +01:00
Sharlatan Hellseher 9d4a2ea2ba 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-04-16 09:59:14 +01:00
Sharlatan Hellseher c0fda1de3e 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-04-16 09:59:14 +01:00
Nicolas Graves 1f7ff47b7a 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-04-16 09:59:14 +01:00
Sharlatan Hellseher 87920f6f0c 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-04-16 09:59:14 +01:00
Sharlatan Hellseher 008c8ece44 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-04-16 09:59:14 +01:00
Sharlatan Hellseher 7dc1cadd17 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-04-16 09:59:13 +01:00
Sharlatan Hellseher 051c4802b6 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-04-16 09:59:13 +01:00
Sharlatan Hellseher 40ad2e990c 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-04-16 09:59:13 +01:00
Sharlatan Hellseher 5809711b4c gnu: python-pygments: Update to 2.19.2.
* gnu/packages/python-build.scm (python-pygments): Update to 2.19.2.

Change-Id: I494bc99b8c0af2316b7a0269fc320b417986d917
2026-04-16 09:59:13 +01:00
Sharlatan Hellseher 2ad032d5e6 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-04-16 09:59:13 +01:00
Nguyễn Gia Phong 32345a4cb4 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-04-16 09:59:13 +01:00
Sharlatan Hellseher 3d7a8f266b 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-04-16 09:59:13 +01:00
Hugo Buddelmeijer ce223b1251 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-04-16 09:59:13 +01:00
Nicolas Graves 404cd2afe1 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-04-16 09:59:12 +01:00
Nicolas Graves 6d07243198 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-04-16 09:59:12 +01:00
Nicolas Graves d1307e824e 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-04-16 09:59:12 +01:00
Nicolas Graves 3c8a769907 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-04-16 09:59:11 +01:00
Nicolas Graves 9d7198d77e 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-04-16 09:59:11 +01:00
Nicolas Graves 9e884b3734 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-04-16 09:59:11 +01:00
Nicolas Graves d86c6b433b 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-04-16 09:59:11 +01:00
Nicolas Graves 841b519019 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-04-16 09:59:11 +01:00
Nicolas Graves c2d03a928c 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-04-16 09:59:11 +01:00
Nicolas Graves db6225ca89 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-04-16 09:59:11 +01:00
Sharlatan Hellseher 0f5a526f7c 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-04-16 09:59:11 +01:00
Sharlatan Hellseher f85f654b73 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-04-16 09:59:11 +01:00
Sharlatan Hellseher f90ada02ef 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-04-16 09:59:11 +01:00
Sharlatan Hellseher 2743f0e3f4 gnu: h3: Update to 4.4.1.
* gnu/packages/geo.scm (h3): Update to 4.4.1.

Change-Id: I5b7149568a74aeced17fbc1f7befb639cc4a62fe
2026-04-16 09:59:10 +01:00
Sharlatan Hellseher 45b31de433 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-04-16 09:59:10 +01:00
Sharlatan Hellseher 1ef065cd25 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-04-16 09:59:10 +01:00
Sharlatan Hellseher cac4be5c06 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-04-16 09:59:10 +01:00
Nicolas Graves 0ee275d84e 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-04-16 09:59:10 +01:00
Nicolas Graves 2aaf9037c6 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-04-16 09:59:10 +01:00
Nicolas Graves a0228dea0f 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-04-16 09:59:10 +01:00
Nicolas Graves 4b641dc6f2 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-04-16 09:59:09 +01:00
Sharlatan Hellseher 67e38b8089 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-04-16 09:59:09 +01:00
Sharlatan Hellseher ae7c852681 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-04-16 09:59:09 +01:00
Sharlatan Hellseher 0d19aac3bc 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-04-16 09:59:09 +01:00
Sharlatan Hellseher 185d35d821 gnu: Add python-click-8.1.
* gnu/packages/python-xyz.scm (python-click-8.1): New variable.

Change-Id: Ib574dc4b1ec0d4dc06bb1fd844afbdbea345fc17
2026-04-16 09:59:09 +01:00
Sharlatan Hellseher 9248cfc181 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-04-16 09:59:09 +01:00
Sharlatan Hellseher 7dd22d87f4 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-04-16 09:59:09 +01:00
Sharlatan Hellseher 9d55c1568d 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-04-16 09:59:09 +01:00
Maxim Cournoyer d3e4e806c1 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-04-16 09:59:08 +01:00
Maxim Cournoyer ba1b4096df 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-04-16 09:59:08 +01:00
Nicolas Graves 00ebf6506d 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-04-16 09:59:08 +01:00
Nicolas Graves 6ca5390c42 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-04-16 09:59:08 +01:00
Nicolas Graves 576bffe800 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-04-16 09:59:08 +01:00
Nicolas Graves 8209ddfd72 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-04-16 09:59:08 +01:00
Nicolas Graves 3fe6d55ebc 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-04-16 09:59:08 +01:00
Nicolas Graves 4c05ebe674 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-04-16 09:59:07 +01:00
Nicolas Graves 82565b32d4 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-04-16 09:59:07 +01:00
Nicolas Graves 3e9a920776 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-04-16 09:59:07 +01:00
Nicolas Graves be4e376a54 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-04-16 09:59:07 +01:00
Nicolas Graves a45143f8ba 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-04-16 09:59:07 +01:00
Nicolas Graves 2cacbd37ca 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-04-16 09:59:07 +01:00
Nicolas Graves d635919e6f 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-04-16 09:59:07 +01:00
Nicolas Graves b2fe836fbd 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-04-16 09:59:07 +01:00
Nicolas Graves 50ed14f1bf 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-04-16 09:59:06 +01:00
Nicolas Graves d6908d648c 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-04-16 09:59:06 +01:00
Nicolas Graves 83be6ad326 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-04-16 09:59:06 +01:00
Nicolas Graves 4289ddc241 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-04-16 09:59:06 +01:00
Nicolas Graves 46cdcf328d 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-04-16 09:59:06 +01:00
Nicolas Graves 607a5dd191 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-04-16 09:59:06 +01:00
Nicolas Graves 831a8645aa 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-04-16 09:59:06 +01:00
Nicolas Graves 51659ba8e7 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-04-16 09:59:06 +01:00
Nicolas Graves 39350b3f5e 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-04-16 09:59:05 +01:00
Nicolas Graves aeb588edc1 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-04-16 09:59:05 +01:00
Nicolas Graves f7c5bc116b 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-04-16 09:59:05 +01:00
Nicolas Graves 9b9b37edcc 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-04-16 09:59:05 +01:00
Nicolas Graves 6349c9d933 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-04-16 09:59:05 +01:00
Nicolas Graves d15d7cf5c7 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-04-16 09:59:05 +01:00
Nicolas Graves 393c7d4530 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-04-16 09:59:05 +01:00
Nicolas Graves a093cb9fae 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-04-16 09:59:05 +01:00
Nicolas Graves a4adebde4a 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-04-16 09:59:05 +01:00
Nicolas Graves 22d44c8abb 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-04-16 09:59:04 +01:00
Nicolas Graves 7b032aebd3 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-04-16 09:59:04 +01:00
Nicolas Graves 32f4b364a8 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-04-16 09:59:04 +01:00
Nicolas Graves 5c937201b6 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-04-16 09:59:04 +01:00
Nicolas Graves 6f838ac92d 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-04-16 09:59:04 +01:00
Nicolas Graves f41f53cbe9 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-04-16 09:59:04 +01:00
Nicolas Graves 0afbe1561d 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-04-16 09:59:04 +01:00
Nicolas Graves ea706c1ba2 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-04-16 09:59:04 +01:00
Nicolas Graves c8257b2196 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-04-16 09:59:03 +01:00
Nicolas Graves 473bd2d022 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-04-16 09:59:03 +01:00
Nicolas Graves b7163e7887 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-04-16 09:59:03 +01:00
Nicolas Graves 24b2014daf 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-04-16 09:59:03 +01:00
Nicolas Graves d7f6a50b85 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-04-16 09:59:03 +01:00
Nicolas Graves 9efade7dd8 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-04-16 09:59:03 +01:00
Nicolas Graves dd8b6e844f 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-04-16 09:59:03 +01:00
Nicolas Graves 09166a7678 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-04-16 09:59:03 +01:00
Nicolas Graves a0402ca4c7 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-04-16 09:59:02 +01:00
Nicolas Graves 1637fd9843 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-04-16 09:59:02 +01:00
Nicolas Graves 59cccbcbd4 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-04-16 09:59:02 +01:00
Nicolas Graves 3333a9ec35 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-04-16 09:59:02 +01:00
Nicolas Graves 7b3aa45fc4 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-04-16 09:59:02 +01:00
Nicolas Graves c6edab29b4 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-04-16 09:59:02 +01:00
Nicolas Graves 996daa45c0 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-04-16 09:59:02 +01:00
Nicolas Graves 85819c3b29 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-04-16 09:59:02 +01:00
Nicolas Graves 705e13d7fd gnu: python-loguru: Remove python-pytest-mypy-plugins.
* gnu/packages/python-xyz.scm (python-loguru)
[arguments]: Add in {test-flags} to skip the concerned test file.
[native-inputs]: Remove python-pytest-mypy-plugins.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-16 09:59:01 +01:00
Nicolas Graves 96361fe9f9 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-04-16 09:59:01 +01:00
Nicolas Graves c39398c5b9 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-04-16 09:59:01 +01:00
Nicolas Graves 40febe59ed 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-04-16 09:59:01 +01:00
Nicolas Graves e5ea0c75fe 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-04-16 09:59:01 +01:00
Nicolas Graves 86d199a76a 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-04-16 09:59:01 +01:00
Nicolas Graves ecb5485994 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-04-16 09:59:00 +01:00
Nicolas Graves 14325eccca 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-04-16 09:59:00 +01:00
Nicolas Graves 01e58be593 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-04-16 09:59:00 +01:00
Nicolas Graves 02556f441d 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-04-16 09:59:00 +01:00
Nicolas Graves 5f0d284bf7 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-04-16 09:59:00 +01:00
Nicolas Graves f689a4abf7 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-04-16 09:59:00 +01:00
Nicolas Graves ffd94d68bf 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-04-16 09:59:00 +01:00
Nicolas Graves e0b39171dd 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-04-16 09:59:00 +01:00
Nicolas Graves 1154e0f020 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-04-16 09:58:59 +01:00
Nicolas Graves 1b08af4565 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-04-16 09:58:59 +01:00
Nicolas Graves 648646d7c9 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-04-16 09:58:59 +01:00
Nicolas Graves 7e05bfc56e 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-04-16 09:58:59 +01:00
Nicolas Graves a3c98d5b7b 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-04-16 09:58:59 +01:00
Nicolas Graves f2caf92e1f 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-04-16 09:58:59 +01:00
Nicolas Graves 564974f2df 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-04-16 09:58:59 +01:00
Nicolas Graves e6e4fb0c94 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-04-16 09:58:59 +01:00
Nicolas Graves 69cf310de7 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-04-16 09:58:58 +01:00
Nicolas Graves faa20d1fba 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-04-16 09:58:58 +01:00
Nicolas Graves f817ef5535 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-04-16 09:58:58 +01:00
Nguyễn Gia Phong db53005a36 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.
  (python-stpipe)[arguments]<#:phases>:
  Remove '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-04-16 09:58:58 +01:00
Nguyễn Gia Phong 4151a58d6d 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-04-16 09:58:58 +01:00
Nguyễn Gia Phong 18e8fdf8fa 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-04-16 09:58:58 +01:00
Sharlatan Hellseher 4a78b38245 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-04-16 09:58:58 +01:00
Sharlatan Hellseher 1530d27a96 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-04-16 09:58:58 +01:00
Sharlatan Hellseher af74742e5f 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-04-16 09:58:57 +01:00
Sharlatan Hellseher 3de4b8f706 gnu: python-clang: Add python-setuptools.
* gnu/packages/llvm.scm (python-clang)[native-inputs]: Add
python-setuptools.

Change-Id: I777aac2f15aaa99dd08719c8c7fbb515967bd214
2026-04-16 09:58:57 +01:00
Sharlatan Hellseher 162ce9ba8c 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-04-16 09:58:57 +01:00
Sharlatan Hellseher 1bfa2363c1 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-04-16 09:58:57 +01:00
Hugo Buddelmeijer 315eaf9a97 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-04-16 09:58:57 +01:00
Hugo Buddelmeijer 914ffc7b7f 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-04-16 09:58:57 +01:00
Sharlatan Hellseher ce5d652847 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-04-16 09:58:57 +01:00
Yelninei dab84d4819 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-04-16 09:58:57 +01:00
Sharlatan Hellseher 60e02c1f12 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-04-16 09:58:56 +01:00
Sharlatan Hellseher 2e4bf2bda1 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-04-16 09:58:56 +01:00
Sharlatan Hellseher ebe4b8d797 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-04-16 09:58:56 +01:00
Sharlatan Hellseher bc1c1d9f97 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-04-16 09:58:56 +01:00
Sharlatan Hellseher 3f9a8a89c7 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-04-16 09:58:56 +01:00
Sharlatan Hellseher aa1b2ce833 gnu: Add python-dirty-equals-bootstrap.
* gnu/packages/python-xyz.scm (python-dirty-equals-bootstrap): New variable.

Change-Id: I1f90def023d1a2cc64998fd92ed427431c6b00fc
2026-04-16 09:58:56 +01:00
Hugo Buddelmeijer 62c47b81ef 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-04-16 09:58:56 +01:00
Sharlatan Hellseher 254f891c6a 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-04-16 09:58:56 +01:00
Sharlatan Hellseher f0acd47f6d 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-04-16 09:58:55 +01:00
Sharlatan Hellseher 5599d5222a 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-04-16 09:58:55 +01:00
Sharlatan Hellseher df13fd5aab 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-04-16 09:58:55 +01:00
Sharlatan Hellseher e27dfea182 gnu: python-rich: Update to 14.3.3.
* gnu/packages/python-xyz.scm (python-rich): Update to 14.3.3.

Change-Id: I83512a4988f98a74e0d0b418a79a3b3f4b9481b9
2026-04-16 09:58:55 +01:00
Sharlatan Hellseher a4aefd9016 gnu: Remove python-rich-next.
* gnu/packages/python-xyz.scm (python-rich-next): Delete variable.

Change-Id: I7b37b4083d770452e4659a8b876976d824f3bed0
2026-04-16 09:58:55 +01:00
Sharlatan Hellseher b118b3e49a 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-04-16 09:58:55 +01:00
Hugo Buddelmeijer f0782036a7 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-04-16 09:58:55 +01:00
Hugo Buddelmeijer 1ef7581811 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-04-16 09:58:55 +01:00
Hugo Buddelmeijer a35dedb1e4 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-04-16 09:58:54 +01:00
Hugo Buddelmeijer 149696d069 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-04-16 09:58:54 +01:00
Hugo Buddelmeijer 1502fb4f89 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-04-16 09:58:54 +01:00
Hugo Buddelmeijer e8fadd71bb 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-04-16 09:58:54 +01:00
Hugo Buddelmeijer eb072c95a7 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-04-16 09:58:54 +01:00
Hugo Buddelmeijer 22ba3a7395 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-04-16 09:58:54 +01:00
Hugo Buddelmeijer e711f425b1 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-04-16 09:58:54 +01:00
Sharlatan Hellseher 995a0aed24 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-04-16 09:58:54 +01:00
Sharlatan Hellseher 75ed14bf15 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-04-16 09:58:54 +01:00
Sharlatan Hellseher 4852a7f7cf gnu: Add python-types-pyside6.
* gnu/packages/python-xyz.scm (python-types-pyside6): New variable.

Change-Id: I7c5e60cf38de37b1a127fd8aa2ce062f1da9ae54
2026-04-16 09:58:53 +01:00
Sharlatan Hellseher 535c87a628 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-04-16 09:58:53 +01:00
Sharlatan Hellseher 0276f1ef47 gnu: Add python-pytokens.
* gnu/packages/python-xyz.scm (python-pytokens): New variable.

Change-Id: I1757fc076cb104533e4fa4223215615ac9c82d53
2026-04-16 09:58:53 +01:00
Sharlatan Hellseher 730bee6fcc 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-04-16 09:58:53 +01:00
Reza Housseini 25817549ee 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-04-16 09:58:53 +01:00
Hugo Buddelmeijer afe1b1d3c0 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-04-16 09:58:53 +01:00
Andreas Enge d66835d123 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-04-16 09:58:53 +01:00
Andreas Enge 6560108894 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-04-16 09:58:53 +01:00
Andreas Enge 37ecb105b2 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-04-16 09:58:52 +01:00
Sharlatan Hellseher 12db42bcff gnu: python-msgspec: Adjust style and indentation.
* gnu/packages/serialization.scm (python-msgspec): Adjust style and
indentation.

Change-Id: I76fba5a2314febe4cddbc712fecf7a596a31915e
2026-04-16 09:58:52 +01:00
Nguyễn Gia Phong 8c443f70f8 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-04-16 09:58:52 +01:00
Sharlatan Hellseher 11e043e7c6 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-04-16 09:58:52 +01:00
Hugo Buddelmeijer 97c2c51b83 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-04-16 09:58:52 +01:00
Hugo Buddelmeijer 0cd615775c 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-04-16 09:58:52 +01:00
Hugo Buddelmeijer 8133fe614a 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-04-16 09:58:52 +01:00
Hugo Buddelmeijer e90023ac5a 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-04-16 09:58:52 +01:00
Hugo Buddelmeijer 12a1b173f7 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-04-16 09:58:51 +01:00
Hugo Buddelmeijer e98fae36aa gnu: rrdtool: Fix build on python-3.12.
* gnu/packages/rrdtool.scm (rrdtool): Fix build.
[native-inputs]: Add python-setuptools.

Change-Id: I87b91bd6e6a9bd7be2ee1d9719c7f4c592f84c6d
2026-04-16 09:58:51 +01:00
Hugo Buddelmeijer eb501cbd5a 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-04-16 09:58:51 +01:00
Hugo Buddelmeijer 22f4a6f6ed 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-04-16 09:58:51 +01:00
Sharlatan Hellseher 0c574c4d9f 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-04-16 09:58:51 +01:00
Sharlatan Hellseher b516789762 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-04-16 09:58:51 +01:00
Hugo Buddelmeijer 7216cba8b3 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-04-16 09:58:51 +01:00
Hugo Buddelmeijer a7d1cd9a3a 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-04-16 09:58:51 +01:00
Hugo Buddelmeijer 3c6e4c507e 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-04-16 09:58:50 +01:00
Hugo Buddelmeijer 9670f549d9 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-04-16 09:58:50 +01:00
Hugo Buddelmeijer b352249c57 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-04-16 09:58:50 +01:00
Hugo Buddelmeijer 3253b568ed 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-04-16 09:58:50 +01:00
Hugo Buddelmeijer 0bc7d7e78a 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-04-16 09:58:50 +01:00
Yan Abu Arab 7812bab584 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-04-16 09:58:50 +01:00
jgart 22dca3d462 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-04-16 09:58:50 +01:00
Nicolas Graves 4e96693d68 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-04-16 09:58:50 +01:00
Sharlatan Hellseher 5715df35ea gnu: Remove python-greenlet-2.
* gnu/packages/python-xyz.scm (python-greenlet-2): Delete variable.

Fixes: guix/guix#6801
Change-Id: Ib008ce81ca3af00d8c5c933d615b5a89effcc9ca
2026-04-16 09:58:49 +01:00
Hugo Buddelmeijer 2db81144e3 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-04-16 09:58:49 +01:00
Hugo Buddelmeijer 4ef20a42e4 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-04-16 09:58:49 +01:00
Hugo Buddelmeijer 29951f6b7a 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-04-16 09:58:49 +01:00
Sharlatan Hellseher 3622f69cba 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-04-16 09:58:49 +01:00
Sharlatan Hellseher 2247504e56 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-04-16 09:58:49 +01:00
Nicolas Graves 0839a558f5 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-04-16 09:58:49 +01:00
Nicolas Graves 7075473da9 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-04-16 09:58:49 +01:00
Nicolas Graves d0b004fec7 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-04-16 09:58:48 +01:00
Nicolas Graves 9a9e396cb7 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-04-16 09:58:48 +01:00
Nicolas Graves 5d2daa334a 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-04-16 09:58:48 +01:00
Nicolas Graves 5226d78d0c 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-04-16 09:58:48 +01:00
Nicolas Graves 50773a77cc 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-04-16 09:58:48 +01:00
Nicolas Graves 603b84127a 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-04-16 09:58:48 +01:00
Nicolas Graves 9550f726a4 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-04-16 09:58:48 +01:00
Cayetano Santos bc58ff51b8 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-04-16 09:58:48 +01:00
Aaron Covrig 0b612d27df 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-04-16 09:58:48 +01:00
Yan Abu Arab 65e6bccc83 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-04-16 09:58:47 +01:00
Sharlatan Hellseher 4d98881bc4 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-04-16 09:42:52 +01:00
Nicolas Graves 67747bdf26 gnu: ganeti: Switch to pyproject.
* gnu/packages/virtualization.scm (ganeti):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: I7ae1cfede7f6eea321deb35af2f1bb32c610e570
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-16 09:42:52 +01:00
Nicolas Graves fd7d396feb gnu: ganeti: Improve style.
* gnu/packages/virtualization.scm (ganeti): Run guix style.
[arguments]: Run guix style -S arguments.
<#:phases>: Improve phase 'create-vcs-version.
[native-inputs]: Add comment to explain why there are still labels.

Change-Id: I3dbdb93292076597bf73d580d5dac22e0e40311a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-16 09:42:52 +01:00
Nicolas Graves 746cd410c4 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-04-16 09:42:52 +01:00
Nicolas Graves 22216af205 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-04-16 09:42:52 +01:00
Nicolas Graves b8063abe48 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-04-16 09:42:52 +01:00
Nicolas Graves 1b07a4babb 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-04-16 09:42:52 +01:00
Nicolas Graves 242c6c7bd9 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-04-16 09:42:51 +01:00
Nicolas Graves 504c086702 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-04-16 09:42:51 +01:00
Nicolas Graves 66b3e99de0 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-04-16 09:42:51 +01:00
Nicolas Graves edc687521b 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-04-16 09:42:51 +01:00
Nicolas Graves c9f5cba191 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-04-16 09:42:51 +01:00
Nicolas Graves 1ccb996584 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-04-16 09:42:50 +01:00
Nicolas Graves 714f736bde 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-04-16 09:42:50 +01:00
Nicolas Graves d85de95099 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-04-16 09:42:50 +01:00
Nicolas Graves e8e9f70f80 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-04-16 09:42:50 +01:00
Nicolas Graves 6df00a88c0 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-04-16 09:42:50 +01:00
Nicolas Graves 8ac93ac8d2 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-04-16 09:42:50 +01:00
Andreas Enge 7095ca3038 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-04-16 09:42:49 +01:00
Andreas Enge d779660608 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-04-16 09:42:47 +01:00
John Kehayias f77bbf8016 gnu: steam-devices-udev-rules: Update to 1.0.0.61-2.7dde9ec.
* gnu/packages/games.scm (steam-devices-udev-rules): Update to 1.0.0.61-2.7dde9ec.

Change-Id: If5931e836978b27d09e128cb5b581292eebcde96
2026-04-15 23:47:42 -04:00
Ian Eure c26c3d0f53 gnu: autofs-service: Fix computing Shepherd requirements.
Handling of non-NFS/SMB mounts was buggy and did not work at all.

* gnu/services/nfs.scm (autofs-configuration->requirements): Add an `else' to
prevent losing the accumulator in the fold.
(autofs-configuration->requirements): Call `delete-duplicates' on the input,
not the output.

Fixes #7927.

Change-Id: I0cccde431d0bd19dc63be8754fb6dfa35a6f8a49
2026-04-15 15:06:05 -07:00
jgart 0d11c221b8 guix: scripts: gc: Give better error reporting when attempting to vacuum.
* guix/scripts/gc.scm (%options): Error out when a non-root user tries
to vacuum the database.

Change-Id: Iee7d626c43980640aa91a3ceeb95675016932c55
Signed-off-by: jgart <jgart@dismail.de>
2026-04-15 17:56:23 -04:00
bdunahu 6abb7bc422 gnu: emacs-xelb: Patch call to xauth with store path.
This ensures login cookies used to authenticate with the X server can be found
at runtime without requiring xauth be in the user's profile.

* gnu/packages/emacs-xyz.scm (emacs-xelb)[#:phases]: Add ‘patch-xauth-path’.
[inputs]: Add xauth.

Change-Id: Ic24cb12d6103a3f6dc24c89f2dd43c1e1f7dc95c
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:11:05 +02:00
Liliana Marie Prikler 03937c8724 gnu: Add papers.
* gnu/packages/gnome.scm (papers): New variable.
* gnu/packages/rust-crates.scm (rust-ashpd-0.12.1)
(rust-float-next-after-1.0.0, rust-formatx-0.2.4, rust-geo-0.30.0)
(rust-geo-types-0.7.18, rust-geographiclib-rs-0.2.5, rust-i-float-1.7.0)
(rust-i-key-sort-0.2.0, rust-i-overlay-2.0.5, rust-i-shape-1.7.0)
(rust-i-tree-0.8.3, rust-ink-stroke-modeler-rs-0.1.0, rust-oo7-0.5.0)
(rust-robust-1.2.0): New variables.
(lookup-cargo-inputs): Add ‘papers’.
2026-04-15 23:10:35 +02:00
Liliana Marie Prikler 7ff2ca1b5c gnu: Add poppler-next.
* gnu/packages/pdf.scm (poppler-next): New variable.
2026-04-15 23:10:25 +02:00
λx.x 380efb7408 gnu: emacs-bqn-mode: Update to 2026-02-08
* gnu/packages/emacs-xyz.scm (emacs-bqn-mode): Update to 2026-02-08.

Change-Id: I6e52ba929ba962832c96422f48e8b1aed447a3cf
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:25 +02:00
Nguyễn Gia Phong 589f4cc655 gnu: Add libfossil.
* gnu/packages/version-control.scm (libfossil): New variable.
* gnu/packages/patches/libfossil-skip-amalgamation.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I6e19c074587e17446ac213386a9143d503ebba57
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:25 +02:00
Nguyễn Gia Phong 05e669ac50 guix: Implement fossil-download.
* guix/fossil-download.scm: New file.
* guix/build/fossil.scm: New file.
* Makefile.am (MODULES): Add them.
* etc/teams.scm (core)[#:scope]: Add "guix/fossil-download.scm".
(vcs)[#:scope]: Add "guix/build/fossil.scm".
* CODEOWNERS: Regenerate file.
* doc/guix.texi (origin Reference): Document fossil-fetch
and fossil-reference.
* NEWS: Add entry about fossil-fetch.

Change-Id: Ia252bcbbb417159a842d5092a937e2aad55a1656
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:25 +02:00
coopi 08341ec277 gnu: Add emacs-nerd-icons-mode-line.
* gnu/packages/emacs-xyz.scm (emacs-nerd-icons-mode-line): New variable.

Change-Id: Id3f80fe2c094b1e0e3eead99cb9e3083b062319b
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:25 +02:00
coopi b725619636 gnu: Add emacs-nerd-icons-corfu.
* gnu/packages/emacs-xyz.scm (emacs-nerd-icons-corfu): New variable.

Change-Id: I487dc25bad6d0536a670c13626c1e18f4364c147
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:24 +02:00
coopi a3f6d396cd gnu: Add emacs-nerd-icons-completion.
* gnu/packages/emacs-xyz.scm (emacs-nerd-icons-completion): New variable.

Change-Id: Ib5b07704689f8a1af6e0dec7e0370d3afde4f7d6
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:24 +02:00
coopi 7d67cacad1 gnu: Add emacs-nerd-icons-ibuffer.
* gnu/packages/emacs-xyz.scm (emacs-nerd-icons-ibuffer): New variable.

Change-Id: Ia25dd10b7d3950cefec3ad4301cfebacdd4b8c74
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:24 +02:00
coopi 333d61cf5b gnu: Add emacs-nerd-icons-ivy-rich.
* gnu/packages/emacs-xyz.scm (emacs-nerd-icons-ivy-rich): New variable.

Change-Id: I2266c559c225d1f0bb499734eb6eef4a613436e9
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:24 +02:00
coopi 21a4d649b2 gnu: Add emacs-nerd-icons-dired.
* gnu/packages/emacs-xyz.scm (emacs-nerd-icons-dired): New variable.

Change-Id: Ib8b192a07e7acbd52cb1705f237ec5a1976b3060
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:24 +02:00
coopi 5ff9ca0339 gnu: emacs-nerd-icons: Patch out font installer.
* gnu/packages/emacs-xyz.scm (emacs-nerd-icons)[#:phases]: Add
‘disable-font-installer’.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:24 +02:00
Artyom V. Poptsov c4657c774b gnu: guile-pnm: Update to 0.2.0.
* gnu/packages/guile-xyz.scm (guile-pnm): Update to 0.2.0.

Change-Id: Icc2c71565e0100f82d22f57bfed3bba8d36ba353
2026-04-16 00:00:42 +03:00
Cayetano Santos b559fd6938 gnu: Add fsviewer.
* gnu/packages/gnustep.scm (fsviewer): New variable.

Merges guix/guix!7829

Change-Id: Ie9bc5f3eaed7a507c9aa031ab96e65ddaf69e6ad
2026-04-15 16:17:15 +02:00
Andreas Enge fa38888348 gnu: libnl: Update to 3.12.0.
* gnu/packages/linux.scm (libnl): Update to 3.12.0.

Change-Id: I3bfc0e8b6e63f43addf28966abd49fd42588888c
2026-04-15 13:52:09 +02:00
213 changed files with 10609 additions and 10936 deletions
+3
View File
@@ -68,6 +68,7 @@ guix/discovery\.scm @guix/core
guix/docker\.scm @guix/core guix/docker\.scm @guix/core
guix/download\.scm @guix/core guix/download\.scm @guix/core
guix/elf\.scm @guix/core guix/elf\.scm @guix/core
guix/fossil-download\.scm @guix/core
guix/ftp-client\.scm @guix/core guix/ftp-client\.scm @guix/core
guix/gexp\.scm @guix/core guix/gexp\.scm @guix/core
guix/git-authenticate\.scm @guix/core guix/git-authenticate\.scm @guix/core
@@ -333,6 +334,7 @@ guix/build-system/rakudo\.scm @guix/perl
guix/import/cpan\.scm @guix/perl guix/import/cpan\.scm @guix/perl
guix/scripts/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/django\.scm @guix/python
gnu/packages/jupyter\.scm @guix/python gnu/packages/jupyter\.scm @guix/python
gnu/packages/python(-.+|)\.scm$ @guix/python gnu/packages/python(-.+|)\.scm$ @guix/python
@@ -484,6 +486,7 @@ gnu/services/version-control\.scm @guix/vcs
gnu/tests/version-control\.scm @guix/vcs gnu/tests/version-control\.scm @guix/vcs
guix/build/bzr\.scm @guix/vcs guix/build/bzr\.scm @guix/vcs
guix/build/cvs\.scm @guix/vcs guix/build/cvs\.scm @guix/vcs
guix/build/fossil\.scm @guix/vcs
guix/build/git\.scm @guix/vcs guix/build/git\.scm @guix/vcs
guix/build/hg\.scm @guix/vcs guix/build/hg\.scm @guix/vcs
guix/build/svn\.scm @guix/vcs guix/build/svn\.scm @guix/vcs
+3
View File
@@ -104,6 +104,7 @@ MODULES = \
guix/discovery.scm \ guix/discovery.scm \
guix/android-repo-download.scm \ guix/android-repo-download.scm \
guix/bzr-download.scm \ guix/bzr-download.scm \
guix/fossil-download.scm \
guix/git-download.scm \ guix/git-download.scm \
guix/hg-download.scm \ guix/hg-download.scm \
guix/hash.scm \ guix/hash.scm \
@@ -236,6 +237,7 @@ MODULES = \
guix/build/asdf-build-system.scm \ guix/build/asdf-build-system.scm \
guix/build/bzr.scm \ guix/build/bzr.scm \
guix/build/copy-build-system.scm \ guix/build/copy-build-system.scm \
guix/build/fossil.scm \
guix/build/git.scm \ guix/build/git.scm \
guix/build/hg.scm \ guix/build/hg.scm \
guix/build/glib-or-gtk-build-system.scm \ guix/build/glib-or-gtk-build-system.scm \
@@ -484,6 +486,7 @@ AUX_FILES = \
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf \ 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/ovmf/51-edk2-ovmf-2m-raw-x64-nosb.json \
gnu/packages/aux-files/pack-audit.c \ 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/sanity-check.py \
gnu/packages/aux-files/python/sitecustomize.py \ gnu/packages/aux-files/python/sitecustomize.py \
gnu/packages/aux-files/renpy/renpy.in \ gnu/packages/aux-files/renpy/renpy.in \
+3
View File
@@ -20,6 +20,9 @@ Please send Guix bug reports to bug-guix@gnu.org.
*** New service for Fossil SCM *** New service for Fossil SCM
*** TeX Live updated to 2026.1 *** TeX Live updated to 2026.1
** Programming interfaces
*** New (guix fossil-download) module, for fetching Fossil repositories
* Changes in 1.5.0 (since 1.4.0) * Changes in 1.5.0 (since 1.4.0)
** Package management ** Package management
*** New rpm format for the guix pack command *** New rpm format for the guix pack command
+46
View File
@@ -8737,6 +8737,52 @@ The example below denotes a version of gnu-standards to fetch:
@end deftp @end deftp
For Fossil repositories, the module @code{(guix fossil-download)} defines
the @code{fossil-fetch} origin method and @code{fossil-reference} data type
for support of the Fossil @abbr{SCM, software configuration management} system.
@deffn {Procedure} fossil-fetch ref hash-algo hash [name]
Return a fixed-output derivation that fetches @var{ref}, a
@code{<fossil-reference>} object. The output is expected to have recursive
hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as
the file name, or a generic name if @code{#f}.
@end deffn
@deftp {Data Type} fossil-reference
This data type represents a Fossil reference
for @code{fossil-fetch} to retrieve.
@table @asis
@item @code{uri} (type: string)
The URI of a Fossil repository to clone, in one of the following forms,
in which @code{[...]} denotes optional elements:
@table @code
@item http[s]://[userid[:password]@@]host[:port][/path]
A HTTP/HTTPS URL.
@item [file://]path/to/repo.fossil
A file URI, where the path must have an extra leading @code{/}
to use an absolute path (without the URI scheme, the repository
is opened directly without cloning).
@end table
@item @code{check-in} (type: string)
A @url{https://fossil-scm.org/home/doc/trunk/www/checkin_names.wiki,
name of the check-in} to fetch, e.g.@: its canonical hexadecimal identifier,
associated tag and/or timestamp.
@end table
The example below denotes the @code{version-3.51.1} tag
of the SQLite repository:
@lisp
(fossil-reference
(uri "https://sqlite.org/src")
(check-in "version-3.51.1"))
@end lisp
@end deftp
@node Defining Package Variants @node Defining Package Variants
@section Defining Package Variants @section Defining Package Variants
+4 -1
View File
@@ -565,6 +565,7 @@ challenges"))
"guix/docker.scm" "guix/docker.scm"
"guix/download.scm" "guix/download.scm"
"guix/elf.scm" "guix/elf.scm"
"guix/fossil-download.scm"
"guix/ftp-client.scm" "guix/ftp-client.scm"
"guix/gexp.scm" "guix/gexp.scm"
"guix/git-authenticate.scm" "guix/git-authenticate.scm"
@@ -971,7 +972,8 @@ perl-build-system as well as the rakudo-build-system."
#:description #:description
"Python, Python packages, the \"pypi\" importer, and the python-build-system." "Python, Python packages, the \"pypi\" importer, and the python-build-system."
#:scope #:scope
(list "gnu/packages/django.scm" (list (make-regexp* "^gnu/packages/aux-files/python/.*\\.py$")
"gnu/packages/django.scm"
"gnu/packages/jupyter.scm" "gnu/packages/jupyter.scm"
(make-regexp* "^gnu/packages/python(-.+|)\\.scm$") (make-regexp* "^gnu/packages/python(-.+|)\\.scm$")
"gnu/packages/sphinx.scm" "gnu/packages/sphinx.scm"
@@ -1214,6 +1216,7 @@ the \"texlive\" importer."
"gnu/tests/version-control.scm" "gnu/tests/version-control.scm"
"guix/build/bzr.scm" "guix/build/bzr.scm"
"guix/build/cvs.scm" "guix/build/cvs.scm"
"guix/build/fossil.scm"
"guix/build/git.scm" "guix/build/git.scm"
"guix/build/hg.scm" "guix/build/hg.scm"
"guix/build/svn.scm"))) "guix/build/svn.scm")))
+6 -3
View File
@@ -1185,6 +1185,7 @@ dist_patch_DATA = \
%D%/packages/patches/date-output-pkg-config-files.patch \ %D%/packages/patches/date-output-pkg-config-files.patch \
%D%/packages/patches/dbacl-include-locale.h.patch \ %D%/packages/patches/dbacl-include-locale.h.patch \
%D%/packages/patches/dbacl-icheck-multiple-definitions.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/dblatex-inkscape-1.0.patch \
%D%/packages/patches/dbus-helper-search-path.patch \ %D%/packages/patches/dbus-helper-search-path.patch \
%D%/packages/patches/ddd-build.patch \ %D%/packages/patches/ddd-build.patch \
@@ -1453,7 +1454,6 @@ dist_patch_DATA = \
%D%/packages/patches/ghc-aeson-encodeDouble.patch \ %D%/packages/patches/ghc-aeson-encodeDouble.patch \
%D%/packages/patches/ghc-basement-fix-32bit.patch \ %D%/packages/patches/ghc-basement-fix-32bit.patch \
%D%/packages/patches/ghc-bytestring-handle-ghc9.patch \ %D%/packages/patches/ghc-bytestring-handle-ghc9.patch \
%D%/packages/patches/ghc-chell-quickcheck-enable-qc-2.15.patch \
%D%/packages/patches/ghc-clock-realfrag.patch \ %D%/packages/patches/ghc-clock-realfrag.patch \
%D%/packages/patches/ghc-language-haskell-extract-ghc-8.10.patch \ %D%/packages/patches/ghc-language-haskell-extract-ghc-8.10.patch \
%D%/packages/patches/ghc-memory-fix-32bit.patch \ %D%/packages/patches/ghc-memory-fix-32bit.patch \
@@ -1586,7 +1586,9 @@ dist_patch_DATA = \
%D%/packages/patches/gtk3-respect-GUIX_GTK3_PATH.patch \ %D%/packages/patches/gtk3-respect-GUIX_GTK3_PATH.patch \
%D%/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.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-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/gtk4-respect-GUIX_GTK4_PATH.patch \
%D%/packages/patches/gtkglext-disable-disable-deprecated.patch \ %D%/packages/patches/gtkglext-disable-disable-deprecated.patch \
%D%/packages/patches/gtksourceview-2-add-default-directory.patch \ %D%/packages/patches/gtksourceview-2-add-default-directory.patch \
@@ -1699,6 +1701,7 @@ dist_patch_DATA = \
%D%/packages/patches/libcss-check-format.patch \ %D%/packages/patches/libcss-check-format.patch \
%D%/packages/patches/libeb-gcc-14.patch \ %D%/packages/patches/libeb-gcc-14.patch \
%D%/packages/patches/libextractor-tidy-support.patch \ %D%/packages/patches/libextractor-tidy-support.patch \
%D%/packages/patches/libfossil-skip-amalgamation.patch \
%D%/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch \ %D%/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch \
%D%/packages/patches/libgeotiff-fix-tests-with-proj-9.1.1.patch \ %D%/packages/patches/libgeotiff-fix-tests-with-proj-9.1.1.patch \
%D%/packages/patches/libgeotiff-fix-tests-with-proj-9.3.0.patch \ %D%/packages/patches/libgeotiff-fix-tests-with-proj-9.3.0.patch \
@@ -2120,6 +2123,7 @@ dist_patch_DATA = \
%D%/packages/patches/python-pyreadstat-link-libiconv.patch \ %D%/packages/patches/python-pyreadstat-link-libiconv.patch \
%D%/packages/patches/python-sip-include-dirs.patch \ %D%/packages/patches/python-sip-include-dirs.patch \
%D%/packages/patches/python-scikit-build-setuptools-compat.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-sgmllib3k-assertions.patch \
%D%/packages/patches/python-sphobjinv-defer-ssl-import.patch \ %D%/packages/patches/python-sphobjinv-defer-ssl-import.patch \
%D%/packages/patches/python-sphinx-prompt-docutils-0.19.patch \ %D%/packages/patches/python-sphinx-prompt-docutils-0.19.patch \
@@ -2498,7 +2502,6 @@ dist_patch_DATA = \
%D%/packages/patches/texmacs-wayland-hidpi.patch \ %D%/packages/patches/texmacs-wayland-hidpi.patch \
%D%/packages/patches/tflite-micro_disable_download.patch \ %D%/packages/patches/tflite-micro_disable_download.patch \
%D%/packages/patches/thefuck-test-environ.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/tidy-CVE-2015-5522+5523.patch \
%D%/packages/patches/timewarrior-time-sensitive-tests.patch \ %D%/packages/patches/timewarrior-time-sensitive-tests.patch \
%D%/packages/patches/tinydir-fix-cbehave-test.patch \ %D%/packages/patches/tinydir-fix-cbehave-test.patch \
-1
View File
@@ -37,7 +37,6 @@
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix utils)) #:use-module (guix utils))
(define-public acl (define-public acl
+64 -45
View File
@@ -109,7 +109,6 @@
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system ruby) #:use-module (guix build-system ruby)
@@ -3917,6 +3916,18 @@ rules is done with the @code{auditctl} utility.")
(wrap-program (string-append ndiff "/bin/ndiff") (wrap-program (string-append ndiff "/bin/ndiff")
`("GUIX_PYTHONPATH" prefix `("GUIX_PYTHONPATH" prefix
(,(python-path ndiff))))))) (,(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. ;; These are the tests that do not require network access.
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
@@ -4046,51 +4057,59 @@ plug-in architecture to allow monitoring other system metrics.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public thefuck (define-public thefuck
(package ;; Latest release, 3.32, is not compatible with Python 3.12.
(name "thefuck") (let ((revision "0")
(version "3.32") (commit "c7e7e1d884d3bb241ea6448f72a989434c2a35ec"))
(source (package
(origin (name "thefuck")
(method git-fetch) (version (git-version "3.32" revision commit))
(uri (git-reference (source
(url "https://github.com/nvbn/thefuck") (origin
(commit version))) (method git-fetch)
(file-name (git-file-name name version)) (uri (git-reference
(sha256 (url "https://github.com/nvbn/thefuck")
(base32 "18ipa1bm6q1n5drbi8i65726hhqhl1g41390lfqrc11hkbvv443d")) (commit commit)))
(patches (search-patches "thefuck-test-environ.patch" (file-name (git-file-name name version))
"thefuck-remove-broken-tests.patch")))) (sha256
(build-system pyproject-build-system) (base32 "1l3i2cpdf3vznpbzqw7b18l23xikqs7andx6yzqvm5415snaqg06"))
(arguments (patches (search-patches "thefuck-test-environ.patch"))))
(list (build-system pyproject-build-system)
#:phases (arguments
#~(modify-phases %standard-phases (list
(add-before 'check 'pre-check #:test-flags
(lambda _ #~(list
;; Tests look for installed package "--deselect=tests/test_utils.py::TestGetValidHistoryWithoutCurrent"
;; Some tests need write access to $HOME. "--ignore=tests/functional/conftest.py")
(setenv "HOME" "/tmp") #:phases
;; Even with that, this function tries to mkdir /.config. #~(modify-phases %standard-phases
(substitute* "tests/test_utils.py" (add-before 'check 'pre-check
(("settings\\.init\\(\\)") ""))))))) (lambda _
(native-inputs ;; ModuleNotFoundError: No module named 'pytest_docker_pexpect'
(list go (delete-file "tests/functional/conftest.py")
python-mock ;; Tests look for installed package
python-pytest-8 ;; Some tests need write access to $HOME.
python-pytest-mock (setenv "HOME" "/tmp")
python-setuptools ;; Even with that, this function tries to mkdir /.config.
python-wheel)) (substitute* "tests/test_utils.py"
(inputs (("settings\\.init\\(\\)") "")))))))
(list python-colorama (native-inputs
python-decorator (list go
python-psutil python-mock
python-pyte)) ;; Uses test markers that are incompatible with pytest 9.
(home-page "https://github.com/nvbn/thefuck") python-pytest-8
(synopsis "Correct mistyped console command") python-pytest-mock
(description python-setuptools))
"The Fuck tries to match a rule for a previous, mistyped command, creates (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.") a new command using the matched rule, and runs it.")
(license license:x11))) (license license:x11))))
(define-public di (define-public di
(package (package
-1
View File
@@ -88,7 +88,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module ((guix build-system python) #:select (pypi-uri))
#:use-module (guix build-system r) #:use-module (guix build-system r)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
+12 -21
View File
@@ -41,7 +41,6 @@
#:use-module (guix build-system emacs) #:use-module (guix build-system emacs)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
@@ -765,7 +764,7 @@ file system.")
(sha256 (sha256
(base32 "0r3xwk8xsfxvmxyw3d57sy2i9by24g0l1jl40735jiac9mypcg7n")))) (base32 "0r3xwk8xsfxvmxyw3d57sy2i9by24g0l1jl40735jiac9mypcg7n"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(inputs (list python-requests python-argcomplete python-urllib3 (propagated-inputs (list python-requests python-argcomplete python-urllib3
python-looseversion gnupg)) python-looseversion gnupg))
(native-inputs (list python-setuptools python-wheel python-requests-cache (native-inputs (list python-setuptools python-wheel python-requests-cache
python-defusedxml)) python-defusedxml))
@@ -773,8 +772,7 @@ file system.")
(list $SSL_CERT_FILE)) (list $SSL_CERT_FILE))
(arguments (arguments
(list (list
#:test-flags #:test-backend #~'unittest
#~(list "-k" "test_*")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-tests (add-after 'unpack 'patch-tests
@@ -793,11 +791,7 @@ file system.")
(lambda _ (lambda _
(substitute* "sdkmanager.py" (substitute* "sdkmanager.py"
(("gpgv") (("gpgv")
(string-append #$(this-package-input "gnupg") "/bin/gpgv"))))) (string-append #$(this-package-input "gnupg") "/bin/gpgv"))))))))
(replace 'check
(lambda* (#:key tests? test-flags #:allow-other-keys)
(when tests?
(apply invoke "python" "-m" "unittest" test-flags)))))))
(home-page "https://gitlab.com/fdroid/sdkmanager") (home-page "https://gitlab.com/fdroid/sdkmanager")
(synopsis "Replacement for Android sdkmanager written in Python") (synopsis "Replacement for Android sdkmanager written in Python")
(description (description
@@ -1182,14 +1176,16 @@ for communicating with Xiaomi smart appliances over miIO and MIoT protocols.")
(define-public fdroidserver (define-public fdroidserver
(package (package
(name "fdroidserver") (name "fdroidserver")
(version "2.4.2") (version "2.4.3")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "fdroidserver" version)) (uri (git-reference
(url "https://gitlab.com/fdroid/fdroidserver")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1745fqxr2qfrls4wr6x9w1262b9pxmw9yvzd9b71ya2qmj74q17n"))))
"06xybginrwi5c7bw000wz5s5hzi0aqrxskzwh8qc6wv463w2djax"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
@@ -1200,22 +1196,17 @@ for communicating with Xiaomi smart appliances over miIO and MIoT protocols.")
(lambda _ (lambda _
(setenv "HOME" "/tmp")))))) (setenv "HOME" "/tmp"))))))
(propagated-inputs (propagated-inputs
(list python-androguard (list python-platformdirs
python-androguard
python-apache-libcloud python-apache-libcloud
python-argcomplete
python-asn1crypto python-asn1crypto
python-clint python-clint
python-defusedxml python-defusedxml
python-docker
python-gitpython python-gitpython
python-mwclient
python-oscrypto python-oscrypto
python-paramiko python-paramiko
python-pillow python-pillow
python-platformdirs
python-puremagic python-puremagic
python-pyasn1
python-pyasn1-modules
python-pyyaml python-pyyaml
python-qrcode python-qrcode
python-requests python-requests
+1 -29
View File
@@ -37,7 +37,6 @@
(define-module (gnu packages astronomy) (define-module (gnu packages astronomy)
#:use-module ((guix licenses) #:prefix license:) #: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 ant)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
@@ -3790,10 +3789,6 @@ bad pixel tracking throughout the reduction process.")
#~(list "-m" "not remote_data") #~(list "-m" "not remote_data")
#:phases #:phases
#~(modify-phases %standard-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-env (add-before 'check 'set-home-env
(lambda _ (lambda _
(setenv "HOME" (getcwd))))))) (setenv "HOME" (getcwd)))))))
@@ -4425,7 +4420,6 @@ Cesium.")
(native-inputs (native-inputs
(list python-pydot (list python-pydot
python-pytest python-pytest
python-pytest-cov
python-pytest-asdf-plugin python-pytest-asdf-plugin
python-pytest-doctestplus python-pytest-doctestplus
python-pytest-filter-subpackage python-pytest-filter-subpackage
@@ -4950,7 +4944,6 @@ files.")
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-pytest-cov
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm
python-wheel)) python-wheel))
@@ -5512,7 +5505,6 @@ across many files.")
(list python-mock (list python-mock
python-objgraph python-objgraph
python-pytest python-pytest
python-pytest-cov
;; python-pytest-faulthandler ;; python-pytest-faulthandler
python-setuptools python-setuptools
python-wheel python-wheel
@@ -6326,19 +6318,6 @@ files.")
(string-append (string-append
"from astropy.units.core import Unit, UnitBase\n" "from astropy.units.core import Unit, UnitBase\n"
"from astropy.units.errors import UnitTypeError\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 (add-before 'check 'prepare-test-environment
(lambda _ (lambda _
(setenv "HOME" "/tmp")))))) (setenv "HOME" "/tmp"))))))
@@ -9923,13 +9902,7 @@ implemented in the @acronym{JWST, James Webb Space Telescope} and
"test_step.py::test_build_config_pipe_kwarg" "test_step.py::test_build_config_pipe_kwarg"
"test_step.py::test_build_config_step_config_file" "test_step.py::test_build_config_step_config_file"
"test_step.py::test_build_config_step_kwarg" "test_step.py::test_build_config_step_kwarg"
"test_step.py::test_step_list_args"))) "test_step.py::test_step_list_args")))))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-version
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
#$(version-major+minor+point version)))))))
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-pytest-doctestplus python-pytest-doctestplus
@@ -10937,7 +10910,6 @@ cosmological simulations.")
(build-system pyproject-build-system) (build-system pyproject-build-system)
(propagated-inputs (list python-numpy python-scipy)) (propagated-inputs (list python-numpy python-scipy))
(native-inputs (list python-pytest (native-inputs (list python-pytest
python-pytest-cov
python-pytest-doctestplus python-pytest-doctestplus
python-setuptools-scm python-setuptools-scm
python-wheel)) python-wheel))
+58 -67
View File
@@ -179,7 +179,6 @@
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
@@ -3238,30 +3237,27 @@ synchronous execution of all clients, and low latency operation.")
(package (package
(inherit jack-1) (inherit jack-1)
(name "jack2") (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 (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/jackaudio/jack2") (url "https://github.com/jackaudio/jack2")
(commit (string-append "v" version)))) (commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0sbrffmdbajvrk7iqvsvrnwnpvmicvbjyq3f52r6ashdsznsz03b")))) "18dbjq9y8mcp27j9aaqdlg4976hrisr7b88lk84ck09gmzlwqalp"))))
(build-system waf-build-system) (build-system waf-build-system)
(arguments (arguments
`(#:tests? #f ; no check target `(#:tests? #f ; no check target
#:configure-flags '("--dbus" "--alsa") #:configure-flags '("--dbus" "--alsa")
#:phases #:phases
(modify-phases %standard-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 (add-before 'configure 'set-linkflags
(lambda _ (lambda _
;; Ensure -lstdc++ is the tail of LDFLAGS or the simdtests.cpp ;; Ensure -lstdc++ is the tail of LDFLAGS or the simdtests.cpp
@@ -3287,7 +3283,7 @@ synchronous execution of all clients, and low latency operation.")
expat expat
libsamplerate libsamplerate
opus opus
python-dbus-1.2 python-dbus
readline)) readline))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
@@ -4090,9 +4086,7 @@ one-dimensional sample-rate conversion library.")
(string-append "'" #$(this-package-input "libsndfile") (string-append "'" #$(this-package-input "libsndfile")
"/lib/libsndfile")))))))) "/lib/libsndfile"))))))))
(native-inputs (native-inputs
(list python-pytest (list python-pytest python-setuptools))
python-pytest-cov
python-setuptools))
(inputs (inputs
(list libsndfile (list libsndfile
portaudio)) portaudio))
@@ -7821,60 +7815,59 @@ Rate} 3600x2250 bit/s vocoder used in various radio systems.")
(delete-file-recursively "third_party") (delete-file-recursively "third_party")
(delete-file-recursively "modules"))))) (delete-file-recursively "modules")))))
(build-system cmake-build-system) (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 (native-inputs
(list catch-framework (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 (inputs
(list jack-1)) ;for JACK examples (list jack-1)) ;for JACK examples
(propagated-inputs (propagated-inputs
;; This is because include/ableton/platforms/asio/AsioWrapper.hpp ;; This is because include/ableton/platforms/asio/AsioWrapper.hpp
;; contains '#include <asio.hpp>'. ;; contains '#include <asio.hpp>'.
(list asio-1.28)) (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") (home-page "https://github.com/Ableton/link")
(synopsis "Synchronize musical beat, tempo, and phase across multiple applications") (synopsis "Synchronize musical beat, tempo, and phase across multiple applications")
(description (description
@@ -8060,7 +8053,7 @@ as sample rate, determining whether an audio file is silent, and much more.")
(propagated-inputs (propagated-inputs
(list python-numba python-numpy python-scipy python-six)) (list python-numba python-numpy python-scipy python-six))
(native-inputs (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") (home-page "https://github.com/bmcfee/resampy")
(synopsis "Efficient signal resampling") (synopsis "Efficient signal resampling")
(description (description
@@ -8090,8 +8083,7 @@ Home Page}.")
(list (list
#:test-flags #:test-flags
;; Ignore --mpl flag. ;; Ignore --mpl flag.
'(list "-c" "/dev/null" '(list "-k" (string-append
"-k" (string-append
;; Resampling tests require python-samplerate. ;; Resampling tests require python-samplerate.
"not resample" "not resample"
;; These tests use Pooch and download data files. ;; These tests use Pooch and download data files.
@@ -8116,7 +8108,6 @@ Home Page}.")
(list python-matplotlib (list python-matplotlib
python-packaging python-packaging
python-pytest python-pytest
python-pytest-cov
python-resampy python-resampy
python-setuptools python-setuptools
python-wheel)) python-wheel))
@@ -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="?")
+50 -47
View File
@@ -50,7 +50,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
@@ -107,6 +106,7 @@
#:use-module (gnu packages rsync) #:use-module (gnu packages rsync)
#:use-module (gnu packages ruby-xyz) #:use-module (gnu packages ruby-xyz)
#:use-module (gnu packages serialization) #:use-module (gnu packages serialization)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages ssh) #:use-module (gnu packages ssh)
#:use-module (gnu packages time) #:use-module (gnu packages time)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
@@ -137,7 +137,6 @@
python-paramiko python-paramiko
python-pexpect python-pexpect
python-pytest python-pytest
python-pytest-runner
python-setuptools-scm python-setuptools-scm
tzdata-for-tests tzdata-for-tests
python-mock)) python-mock))
@@ -632,41 +631,26 @@ rsnapshot uses hard links to deduplicate identical files.")
(define-public borg (define-public borg
(package (package
(name "borg") (name "borg")
(version "1.4.3") (version "1.4.4")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "borgbackup" version)) (uri (git-reference
(url "https://github.com/borgbackup/borg")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "07s4jqcv03s98hi6lvqpvmnnhl532qnvv11mjy2xc08rbmsgmfvr")) (base32 "0bk302lbjjz1y8dg78wqqys80bm7mzkj5yf6wgyqdwvbqpsnpim4"))))
(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"))))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:modules '((srfi srfi-26) ; for cut #:modules '((srfi srfi-26) ; for cut
(guix build utils) (guix build utils)
(guix build pyproject-build-system)) (guix build pyproject-build-system))
;; tests: 1318 passed, 293 skipped
#:test-flags #:test-flags
#~(list "--benchmark-skip" #~(list "--benchmark-skip"
"--numprocesses" (number->string (parallel-job-count)) "--numprocesses" (number->string (min 8 (parallel-job-count)))
"--pyargs" "borg.testsuite" "--pyargs" "borg.testsuite"
"-k" (string-join "-k" (string-join
;; These tests need to write to '/var'. ;; These tests need to write to '/var'.
@@ -687,7 +671,15 @@ rsnapshot uses hard links to deduplicate identical files.")
"test_mount_hardlinks " "test_mount_hardlinks "
"test_readonly_mount " "test_readonly_mount "
"test_fuse_versions_view " "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 ")) " and not "))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
@@ -703,46 +695,58 @@ rsnapshot uses hard links to deduplicate identical files.")
(setenv "BORG_LIBLZ4_PREFIX" lz4) (setenv "BORG_LIBLZ4_PREFIX" lz4)
(setenv "BORG_LIBXXHASH_PREFIX" xxhash) (setenv "BORG_LIBXXHASH_PREFIX" xxhash)
(setenv "BORG_LIBZSTD_PREFIX" zstd)))) (setenv "BORG_LIBZSTD_PREFIX" zstd))))
(add-after 'install 'install-doc (add-before 'build 'fix-testsuite-setuid-mode
(lambda _ (lambda _
(let ((man (string-append #$output "/share/man/man1")) (substitute* "src/borg/testsuite/archiver.py"
(misc (string-append #$output "/share/doc/borg-" (("0o4755") "0o0755"))))
#$(package-version this-package)))) (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) (for-each (cut install-file <> misc)
'("docs/misc/create_chunker-params.txt" '("docs/misc/create_chunker-params.txt"
"docs/misc/borg-data-flow.png" "docs/misc/borg-data-flow.png"
"docs/misc/internals-picture.txt" "docs/misc/internals-picture.txt"
"docs/misc/prune-example.txt")) "docs/misc/prune-example.txt"))
(copy-recursively "docs/man" man)))) (copy-recursively "docs/_build/man" man)
(add-after 'install-doc 'install-shell-completions (copy-recursively "docs/_build/singlehtml" html)
(copy-recursively "docs/_build/text" txt))))
(add-after 'build-and-install-docs 'install-shell-completions
(lambda _ (lambda _
(let ((etc (string-append #$output "/etc")) (let* ((etc (string-append #$output "/etc"))
(share (string-append #$output "/share"))) (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" (with-directory-excursion "scripts/shell_completions"
(install-file "bash/borg" (install-file "bash/borg" bash)
(string-append etc "/bash_completion.d")) (install-file "zsh/_borg" zsh)
(install-file "zsh/_borg" (install-file "fish/borg.fish" fish))))))))
(string-append share "/zsh/site-functions"))
(install-file "fish/borg.fish"
(string-append share "/fish/vendor_completions.d")))))))))
(native-inputs (native-inputs
(list python-cython (list python-cython
python-dateutil python-guzzle-sphinx-theme
python-pkgconfig
python-pytest python-pytest
python-pytest-benchmark python-pytest-benchmark
python-pytest-xdist python-pytest-xdist
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm
python-wheel)) python-sphinx
python-sphinxcontrib-jquery))
(inputs (inputs
(list acl (list acl
lz4 lz4
openssl openssl
;; This is the latest version of msgpack accepted by 'setup.py'. python-msgpack
python-msgpack-for-borg
;; FUSE 3 isn't working well, so we stick with FUSE 2 for now: ;; FUSE 3 isn't working well, so we stick with FUSE 2 for now:
;; <https://issues.guix.gnu.org/53407> ;; <https://issues.guix.gnu.org/53407>
python-llfuse python-llfuse
python-packaging
xxhash xxhash
`(,zstd "lib"))) `(,zstd "lib")))
(synopsis "Deduplicated, encrypted, authenticated and compressed backups") (synopsis "Deduplicated, encrypted, authenticated and compressed backups")
@@ -1299,7 +1303,6 @@ compression parameters used by Gzip.")
(native-inputs (native-inputs
(list python-flexmock (list python-flexmock
python-pytest python-pytest
python-pytest-cov
python-setuptools python-setuptools
python-wheel)) python-wheel))
(inputs (inputs
@@ -1363,9 +1366,9 @@ borgmatic is powered by borg.")
(assoc-ref qt:%standard-phases 'qt-wrap))))) (assoc-ref qt:%standard-phases 'qt-wrap)))))
(native-inputs (native-inputs
(list python-platformdirs (list python-platformdirs
python-pytest
python-pytest-mock python-pytest-mock
python-pytest-qt python-pytest-qt
python-pytest-runner
python-setuptools python-setuptools
python-setuptools-git)) python-setuptools-git))
(inputs (inputs
-1
View File
@@ -42,7 +42,6 @@
#:use-module (guix search-paths) #:use-module (guix search-paths)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (gnu packages) #:use-module (gnu packages)
+52 -57
View File
@@ -65,7 +65,6 @@
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system r) #:use-module (guix build-system r)
#:use-module (guix build-system ruby) #:use-module (guix build-system ruby)
@@ -2288,7 +2287,6 @@ version = ~s
(delete-file-recursively (delete-file-recursively
(string-append #$output "/.pytest_cache"))))))))) (string-append #$output "/.pytest_cache")))))))))
(native-inputs (list python-pytest (native-inputs (list python-pytest
python-pytest-cov
python-pytest-datadir python-pytest-datadir
python-pytest-doctestplus python-pytest-doctestplus
python-recommonmark python-recommonmark
@@ -3379,35 +3377,36 @@ encountered in PDB files prior to simulation tasks.")
(define-public python-peaks2utr (define-public python-peaks2utr
(package (package
(name "python-peaks2utr") (name "python-peaks2utr")
(version "1.4.1") (version "1.5.0")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "peaks2utr" version)) (method git-fetch)
(sha256 (uri (git-reference
(base32 (url "https://github.com/haessar/peaks2utr")
"104il0kk61q07b58g9xrss7xflwlbx4kzsmw9iih99lhfsii0wzg")))) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1b4qiccp5j394pzqd1d4ss3k90zv3kdr84lykl6p8izn3k85b2bl"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (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 #:phases
'(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements (add-after 'unpack 'relax-requirements
(lambda _ (lambda _
(substitute* "setup.cfg" (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 (propagated-inputs
(list python-asgiref (list python-asgiref
python-gffutils python-gffutils
python-importlib-resources python-importlib-resources
macs macs-3
python-numpy-1 python-numpy
python-psutil python-psutil
python-pybedtools python-pybedtools
python-pysam python-pysam
@@ -3415,7 +3414,6 @@ encountered in PDB files prior to simulation tasks.")
python-tqdm python-tqdm
python-typing-extensions python-typing-extensions
python-zipp)) python-zipp))
(native-inputs (list python-setuptools python-wheel))
(home-page "https://github.com/haessar/peaks2utr") (home-page "https://github.com/haessar/peaks2utr")
(synopsis "Python CLI for annotating three prime UTR") (synopsis "Python CLI for annotating three prime UTR")
(description (description
@@ -3864,7 +3862,6 @@ raw/ed14e050b2b75e7f4ddb73d512fbe928bbdb2b85")
python-scipy)) python-scipy))
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-pytest-cov
python-pytest-datadir python-pytest-datadir
python-pytest-doctestplus python-pytest-doctestplus
python-setuptools python-setuptools
@@ -4290,7 +4287,6 @@ e.g. microbiome samples, genomes, metagenomes.")
(native-inputs (native-inputs
(list python-cython (list python-cython
python-pytest python-pytest
python-pytest-cov
python-setuptools python-setuptools
python-wheel)) python-wheel))
(propagated-inputs (propagated-inputs
@@ -6966,7 +6962,6 @@ and v1.1 to v1.2.")
(list python-mypy-extensions (list python-mypy-extensions
python-pytest python-pytest
python-pytest-mock python-pytest-mock
python-pytest-runner
python-setuptools python-setuptools
python-wheel)) python-wheel))
(propagated-inputs (propagated-inputs
@@ -8846,7 +8841,8 @@ high-throughput sequencing (HTS) assays")
;; Needed by tests ;; Needed by tests
(add-after 'unpack 'set-HOME (add-after 'unpack 'set-HOME
(lambda _ (setenv "HOME" "/tmp")))))) (lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs (list python-appdirs (propagated-inputs (list mysql-connector-python
python-appdirs
python-biopython python-biopython
python-click python-click
python-colorama python-colorama
@@ -8854,7 +8850,6 @@ high-throughput sequencing (HTS) assays")
python-filelock python-filelock
python-loguru python-loguru
python-mygene python-mygene
python-mysql-connector-python
python-norns python-norns
python-numpy python-numpy
python-pandas python-pandas
@@ -9810,29 +9805,39 @@ sequencing tag position and orientation.")
(define-public macs-3 (define-public macs-3
(package (package
(name "macs") (name "macs")
(version "3.0.3") (version "3.0.4")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/macs3-project/MACS") (uri (git-reference
(commit (string-append "v" version)) (url "https://github.com/macs3-project/MACS")
(recursive? #true))) (commit (string-append "v" version))
(file-name (git-file-name name version)) (recursive? #true)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"08hi0a2a0md9gfg7jc75wxv69rggv2yqfd1hyrg4mi5bhi712m0v")))) (base32 "16cv6bvvppi0z69r5l357ai8x4jg61rx8xrvcapk1wz6mh9naf5s"))))
(build-system pyproject-build-system) (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 (propagated-inputs
(list python-cykhash (list python-cykhash
python-hmmlearn python-hmmlearn
python-numpy python-numpy
python-scikit-learn python-scikit-learn
python-scipy)) python-scipy))
(native-inputs
(list python-cython
python-pytest
python-setuptools
zlib))
(home-page "https://github.com/macs3-project/MACS") (home-page "https://github.com/macs3-project/MACS")
(synopsis "Model based analysis for ChIP-Seq data") (synopsis "Model based analysis for ChIP-Seq data")
(description (description
@@ -14305,11 +14310,7 @@ quality control are provided.")
(lambda _ (lambda _
(substitute* "setup.cfg" (substitute* "setup.cfg"
(("intervaltree~=3.0.2") "intervaltree") (("intervaltree~=3.0.2") "intervaltree")
(("termcolor~=1.1.0") "termcolor")))) (("termcolor~=1.1.0") "termcolor")))))))
(add-after 'unpack 'fix-pytest-config
(lambda _
(substitute* "pyproject.toml"
((" --cov=gdc_client --cov-report term") "")))))))
(native-inputs (native-inputs
(list python-flask (list python-flask
python-httmock python-httmock
@@ -20230,13 +20231,7 @@ fasta subsequences.")
" and not test_roundtrip" " and not test_roundtrip"
;; This test depends on ipytree, which contains a lot of ;; This test depends on ipytree, which contains a lot of
;; minified JavaScript. ;; minified JavaScript.
" and not test_print_trees")) " and not test_print_trees"))))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-pytest-config
(lambda _
(substitute* "pyproject.toml"
((".*--cov.*") "")))))))
(native-inputs (native-inputs
(list python-hatchling (list python-hatchling
python-pytest)) python-pytest))
+3 -3
View File
@@ -86,7 +86,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
@@ -533,8 +532,9 @@ and will take advantage of multiple processor cores where possible.")
(inputs (list boost-1.83 openssl)) (inputs (list boost-1.83 openssl))
(native-inputs (native-inputs
(list libfaketime (list libfaketime
python-wrapper pkg-config
pkg-config)) python-setuptools
python-wrapper))
(home-page "https://www.libtorrent.org/") (home-page "https://www.libtorrent.org/")
(synopsis "Feature-complete BitTorrent implementation") (synopsis "Feature-complete BitTorrent implementation")
(description (description
+53 -37
View File
@@ -83,9 +83,6 @@
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list (list
#:imported-modules %pyproject-build-system-modules
#:modules `(((guix build pyproject-build-system) #:select (python-version))
,@%default-gnu-modules)
#:tests? #f #:tests? #f
#:configure-flags #:configure-flags
#~(let ((icu (dirname (dirname (search-input-file #~(let ((icu (dirname (dirname (search-input-file
@@ -94,17 +91,26 @@
;; Auto-detection looks for ICU only in traditional ;; Auto-detection looks for ICU only in traditional
;; install locations. ;; install locations.
(string-append "--with-icu=" icu) (string-append "--with-icu=" icu)
;; Ditto for Python. ;; Ditto for Python. The Gexp can't be evaluated if python is not
#$@(if (%current-target-system) ;; in the inputs (e.g. boost-for-mysql), so delay its evaluation
#~() ;; after checking for python, rather than concurrently.
#~((let ((python (dirname (dirname (search-input-file #$@(force
%build-inputs (if (or (%current-target-system)
"bin/python"))))) (not (this-package-input "python-minimal-wrapper")))
(string-append "--with-python-root=" python) (delay
(string-append "--with-python=" python #~())
"/bin/python") (delay
(string-append "--with-python-version=" #~((let ((python (dirname (dirname (search-input-file
(python-version python))))) %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")) "--with-toolset=gcc"))
#:make-flags #:make-flags
#~(list "threading=multi" "link=shared" #~(list "threading=multi" "link=shared"
@@ -200,29 +206,39 @@
(replace 'install (replace 'install
(lambda* (#:key make-flags #:allow-other-keys) (lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "./b2" "install" make-flags))) (apply invoke "./b2" "install" make-flags)))
#$@(if (%current-target-system) #$@(force ; See above for why the force is necessary.
#~() (if (or (%current-target-system)
#~((add-after 'install 'provide-libboost_python (not (this-package-input "python-minimal-wrapper")))
(lambda* (#:key make-flags inputs outputs #:allow-other-keys) (delay
(let* ((static? (member "link=static" make-flags)) #~())
(libext (if static? ".a" ".so")) (delay
(python (dirname (dirname (search-input-file #~((add-after 'install 'provide-libboost_python
inputs "bin/python")))) (lambda* (#:key make-flags inputs outputs
(python-version (python-version python)) #:allow-other-keys)
(libboost_pythonNN (let* ((static? (member "link=static" make-flags))
(string-append "libboost_python" (ext (if static? ".a" ".so"))
(string-join (string-split (python (dirname
python-version #\.) (dirname (search-input-file
"") inputs "bin/python"))))
libext))) (python-version
(with-directory-excursion (string-append #$output "/lib") #$(version-major+minor
(symlink libboost_pythonNN (package-version
(string-append "libboost_python" libext)) (this-package-input
;; Some packages only look for the major version. "python-minimal-wrapper"))))
(symlink libboost_pythonNN (NN (string-join (string-split
(string-append "libboost_python" python-version #\.)
(string-take python-version 1) ""))
libext))))))))))) (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 (inputs
(append (append
(list icu4c zlib) (list icu4c zlib)
+2 -4
View File
@@ -94,7 +94,6 @@
#:use-module (guix build-system hare) #:use-module (guix build-system hare)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (guix deprecation) #:use-module (guix deprecation)
#:use-module (guix download) #:use-module (guix download)
@@ -432,9 +431,8 @@ files and generates build instructions for the Ninja build system.")
(arguments (arguments
(list (list
#:tests? #f ;disabled to avoid extra dependencies #:tests? #f ;disabled to avoid extra dependencies
;; Essentially a lighter copy of the former python-build-system. ;; Custom build steps to prevent using pyproject-build-system which
;; Using it rather than pyproject-build-system allows to edit the latter ;; allows to edit the latter without a C++ world rebuild.
;; without a C++ world rebuild.
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'bootstrap) (delete 'bootstrap)
-1
View File
@@ -54,7 +54,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix store) #:use-module (guix store)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
-1
View File
@@ -45,7 +45,6 @@
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module ((guix build-system python) #:select (pypi-uri))
#:use-module (gnu packages admin) #:use-module (gnu packages admin)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
-43
View File
@@ -131,7 +131,6 @@
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (ice-9 match) #:use-module (ice-9 match)
#:use-module (srfi srfi-1)) #:use-module (srfi srfi-1))
@@ -1882,7 +1881,6 @@ http server.")
(arguments (list #:tests? #false)) ;no tests included (arguments (list #:tests? #false)) ;no tests included
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-pytest-cov
python-setuptools python-setuptools
python-wheel python-wheel
python-xmlschema)) python-xmlschema))
@@ -1915,42 +1913,6 @@ XML output")
decorators from external files.") decorators from external files.")
(license license:expat))) (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 (define-public python-pytest-runner
(package (package
(name "python-pytest-runner") (name "python-pytest-runner")
@@ -2956,12 +2918,8 @@ mypy plugins.")
"and not upstream_url")))) "and not upstream_url"))))
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-pytest-black
python-pytest-checkdocs python-pytest-checkdocs
python-pytest-cov
python-pytest-enabler python-pytest-enabler
python-pytest-flake8
python-pytest-mypy
python-setuptools python-setuptools
python-wheel)) python-wheel))
(propagated-inputs (propagated-inputs
@@ -3086,7 +3044,6 @@ possible to write plugins to add your own checks.")
python-path python-path
python-pyhamcrest python-pyhamcrest
python-pytest python-pytest
python-pytest-html
python-setuptools)) python-setuptools))
(propagated-inputs (propagated-inputs
(list python-colorama (list python-colorama
+4 -17
View File
@@ -28,7 +28,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
@@ -826,7 +825,7 @@ colleagues, or to generate pre-rendered animations.")
(define-public python-pyscf (define-public python-pyscf
(package (package
(name "python-pyscf") (name "python-pyscf")
(version "2.9.0") (version "2.12.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@@ -835,14 +834,10 @@ colleagues, or to generate pre-rendered animations.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1lj48c749aqf9zd5xbshjsfr0y972r2nsm8lf3760jbfadg9jdsi")))) (base32 "00q5c0r5yzp05m65679164s7jzm9678b63msm8g7953vh8v9g25y"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:modules
'((guix build pyproject-build-system)
(guix build utils)
(ice-9 textual-ports))
;; Some tests take a very long time and libxc support is not enabled. ;; Some tests take a very long time and libxc support is not enabled.
#:tests? #f #:tests? #f
#:phases #:phases
@@ -868,16 +863,8 @@ colleagues, or to generate pre-rendered animations.")
"-DBUILD_XCFUN=OFF" "-DBUILD_XCFUN=OFF"
"-DBUILD_LIBCINT=OFF")))))))) "-DBUILD_LIBCINT=OFF"))))))))
(native-inputs (native-inputs
(list (list cmake-minimal
cmake-minimal python-setuptools))
;; HACK: Add gcc, make tune work.
;; build-system-with-tuning-compiler on guix/transformations.scm
;; want to find compiler on the build-inputs, but gcc is on the
;; python-build-system's host-inputs, so when tune it , will report:
;; "failed to determine which compiler is used"
(canonical-package gcc)
python-setuptools
python-wheel))
(inputs (inputs
(list (list
;; Use qcint when tuning for x86_64. ;; Use qcint when tuning for x86_64.
-1
View File
@@ -30,7 +30,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages admin) #:use-module (gnu packages admin)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
-1
View File
@@ -47,7 +47,6 @@
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system emacs) #:use-module (guix build-system emacs)
#:use-module (guix build-system pyproject) #: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 ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE))
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages backup) #:use-module (gnu packages backup)
-1
View File
@@ -49,7 +49,6 @@
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system cmake) #: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 pyproject)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (guix build-system go) #:use-module (guix build-system go)
+1 -3
View File
@@ -78,7 +78,6 @@
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system scons) #:use-module (guix build-system scons)
#:use-module (guix modules) #:use-module (guix modules)
@@ -1904,8 +1903,7 @@ using the string similarity calculations from FuzzyWuzzy.")
(add-after 'unpack 'fix-pytest-config (add-after 'unpack 'fix-pytest-config
(lambda _ (lambda _
(substitute* "pyproject.toml" (substitute* "pyproject.toml"
((" \"pytest-cov\", ") "") (("\"pytest-cov\", ") "")))))))
((" --cov-fail-under=90 --cov=cpplint") "")))))))
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-pytest-timeout python-pytest-timeout
-1
View File
@@ -105,7 +105,6 @@
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
-1
View File
@@ -62,7 +62,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
-1
View File
@@ -31,7 +31,6 @@
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages databases) #:use-module (gnu packages databases)
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module (gnu packages cpp) #:use-module (gnu packages cpp)
+114 -37
View File
@@ -200,7 +200,6 @@
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system ruby) #:use-module (guix build-system ruby)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
@@ -1252,6 +1251,98 @@ management system that supports the standardized Structured Query
Language.") Language.")
(license license:gpl2))) (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 (define-public mariadb
(package (package
(name "mariadb") (name "mariadb")
@@ -4653,33 +4744,24 @@ PickleShare.")
(define-public python-apsw (define-public python-apsw
(package (package
(name "python-apsw") (name "python-apsw")
(version "3.46.0.0") (version "3.50.4.0")
;; The compressed release has fetching functionality disabled.
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/rogerbinns/apsw/releases/download/" (url "https://github.com/rogerbinns/apsw")
version "/apsw-" version ".zip")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0r9awjgpl9cmqz5xd4zbqrpiv0rv5c36a18jkqnsfky6n6sgr424"))))
"10yfbasi4mq63g0svyl1h49ylwn9znjylq78id16dzxzk9q9ipdx"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs
(list unzip python-setuptools python-wheel))
(inputs (list sqlite-next)) ;SQLite 3.45.1 required.
(arguments (arguments
(list (list #:test-backend #~'custom
#:phases #:test-flags #~(list "-m" "apsw.tests")))
#~(modify-phases %standard-phases (native-inputs
(add-before 'build 'build-extensions (list python-setuptools))
(lambda _ (inputs
(invoke "python" "setup.py" "build" "--enable-all-extensions" (list sqlite-next)) ;SQLite 3.45.1 required.
"--enable=load_extension")))
(add-after 'build 'build-test-helper
(lambda _
(invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext"
"-I." "-Isqlite3" "src/testextension.c"))))))
(home-page "https://github.com/rogerbinns/apsw/") (home-page "https://github.com/rogerbinns/apsw/")
(synopsis "Another Python SQLite Wrapper") (synopsis "Another Python SQLite Wrapper")
(description (description
@@ -5608,7 +5690,6 @@ __version_tuple__ = version_tuple = (~a)~%" version version-tuple))))))
pkg-config pkg-config
python-cython python-cython
python-pytest python-pytest
python-pytest-runner
python-setuptools-scm python-setuptools-scm
python-setuptools)) python-setuptools))
(outputs '("out")) (outputs '("out"))
@@ -6205,7 +6286,7 @@ mechanism of @code{dogpile}.")
(define-public datasette (define-public datasette
(package (package
(name "datasette") (name "datasette")
(version "1.0a19") (version "1.0a26")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@@ -6214,23 +6295,20 @@ mechanism of @code{dogpile}.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0wb73iksrc5vg2lnq3q4vr7yhlzxwr711jfmjdndd0s77996zsfh")))) (base32 "1ra0yfrz9w3jx7ix3dmcsg0g8hjxkz37586g7ijmqshxpzczxfm7"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; tests: 1720 passed, 9 skipped, 8 xfailed, 13 xpassed, 3 warnings, 120
;; subtests passed
#:test-flags #:test-flags
;; See https://github.com/simonw/datasette/issues/2048 #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
#~(list "-k" (string-append "--ignore=tests/test_black.py")
;; These contain two unexpected extra items.
"not test_searchable"
" and not test_searchmode")
"--ignore=tests/test_black.py"
"-n" (number->string (parallel-job-count)))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements (add-after 'unpack 'relax-requirements
(lambda _ (lambda _
(substitute* "setup.py" (substitute* "pyproject.toml"
(("\"pip\",") ""))))))) (("\"pip\",") "")))))))
(propagated-inputs (propagated-inputs
(list python-aiofiles (list python-aiofiles
@@ -6245,7 +6323,6 @@ mechanism of @code{dogpile}.")
python-janus python-janus
python-jinja2 python-jinja2
python-mergedeep python-mergedeep
python-pint
python-pluggy python-pluggy
python-pyyaml python-pyyaml
python-sqlite-utils python-sqlite-utils
@@ -6254,9 +6331,9 @@ mechanism of @code{dogpile}.")
(list nss-certs-for-test (list nss-certs-for-test
python-beautifulsoup4 python-beautifulsoup4
python-cogapp python-cogapp
python-multipart-form-data-conformance
python-pytest python-pytest
python-pytest-asyncio-0.26 python-pytest-asyncio
python-pytest-runner
python-pytest-timeout python-pytest-timeout
python-pytest-xdist python-pytest-xdist
python-setuptools python-setuptools
-5
View File
@@ -27,7 +27,6 @@
(define-module (gnu packages dav) (define-module (gnu packages dav)
#:use-module (guix build-system cargo) #:use-module (guix build-system cargo)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
@@ -143,9 +142,6 @@ CardDAV server with a local folder or file.")
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-pytest-cov
python-pytest-flake8
python-pytest-isort
python-setuptools python-setuptools
python-waitress python-waitress
python-wheel)) python-wheel))
@@ -244,7 +240,6 @@ efficient syncing
(list python-aioresponses (list python-aioresponses
python-pytest python-pytest
python-pytest-asyncio python-pytest-asyncio
python-pytest-cov
python-pytest-httpserver python-pytest-httpserver
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm
+2 -2
View File
@@ -275,7 +275,7 @@ simple way to add custom protocol messages.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
(list flex python-pytest python-pytest-flake8)) (list flex python-pytest))
(inputs (inputs
(list bash-minimal clang llvm unifdef (list bash-minimal clang llvm unifdef
python python-pebble python-psutil python-chardet)) python python-pebble python-psutil python-chardet))
@@ -1213,7 +1213,7 @@ and input distributions can also be expressed in Fandango.")
;; Shorten paths to sockets in tests. ;; Shorten paths to sockets in tests.
(lambda _ (setenv "TMPDIR" "/tmp")))) (lambda _ (setenv "TMPDIR" "/tmp"))))
#:test-target "test")) #:test-target "test"))
(native-inputs (list python)) ; for tests (native-inputs (list python python-setuptools)) ; for tests
(synopsis "Fault injector in userspace") (synopsis "Fault injector in userspace")
(description "Fiu provides CLI utilities and a C library (description "Fiu provides CLI utilities and a C library
to mark points of failure inside your code to mark points of failure inside your code
+12 -10
View File
@@ -31,13 +31,13 @@
(define-public dhall (define-public dhall
(package (package
(name "dhall") (name "dhall")
(version "1.42.2") (version "1.41.2")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "dhall" version))
(uri (hackage-uri "dhall" version)) (sha256
(sha256 (base32
(base32 "0fvvqvh6diqi55dmncfs06rvcw8k0a1hs2gq228yxvsfbzcpv44s")))) "14m5rrvkid76qnvg0l14xw1mnqclhip3gjrz20g1lp4fd5p056ka"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "dhall"))) (properties '((upstream-name . "dhall")))
(inputs (list ghc-aeson (inputs (list ghc-aeson
@@ -73,8 +73,8 @@
ghc-text-manipulate ghc-text-manipulate
ghc-text-short ghc-text-short
ghc-th-lift-instances ghc-th-lift-instances
ghc-unix-compat
ghc-unordered-containers ghc-unordered-containers
ghc-uri-encode
ghc-vector ghc-vector
ghc-cryptohash-sha256 ghc-cryptohash-sha256
ghc-http-types ghc-http-types
@@ -86,6 +86,7 @@
ghc-quickcheck-instances ghc-quickcheck-instances
ghc-special-values ghc-special-values
ghc-spoon ghc-spoon
ghc-system-filepath
ghc-tasty ghc-tasty
ghc-tasty-expected-failure ghc-tasty-expected-failure
ghc-tasty-hunit ghc-tasty-hunit
@@ -96,8 +97,9 @@
ghc-mockery ghc-mockery
ghc-doctest)) ghc-doctest))
(arguments (arguments
`(#:cabal-revision ("2" `(#:tests? #f ; Tries to access httpbin.org
"1h9kxpn3kzwmxj07mqc0cxjj2ak3dyxnifb78z5vn34xn747j5bk"))) #:cabal-revision ("4"
"0innb3cn98ynb8bd83jdyrm64ij7wcvajg5qcwzdwbyzpr62anfx")))
(home-page "http://hackage.haskell.org/package/dhall") (home-page "http://hackage.haskell.org/package/dhall")
(synopsis "Configuration language guaranteed to terminate") (synopsis "Configuration language guaranteed to terminate")
(description (description
-1
View File
@@ -41,7 +41,6 @@
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (gnu packages) #:use-module (gnu packages)
-9
View File
@@ -67,7 +67,6 @@
#:use-module (gnu packages vim) #:use-module (gnu packages vim)
#:use-module (gnu packages web) #:use-module (gnu packages web)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
@@ -290,14 +289,6 @@ install.")
(for-each (lambda (file) (for-each (lambda (file)
(chmod file #o755)) (chmod file #o755))
(find-files #$output "autopkgtest-virt-.*")))) (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 (add-after 'unpack 'skip-most-tests
;; These tests require functionality not available in the guix ;; These tests require functionality not available in the guix
;; build environment ;; build environment
-1
View File
@@ -27,7 +27,6 @@
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages check) #:use-module (gnu packages check)
-1
View File
@@ -59,7 +59,6 @@
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system scons) #:use-module (guix build-system scons)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
+1 -5
View File
@@ -37,7 +37,6 @@
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix deprecation) #:use-module (guix deprecation)
#:use-module (guix search-paths) #:use-module (guix search-paths)
#:use-module (guix utils) #:use-module (guix utils)
@@ -329,7 +328,7 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
(base32 "1a5vd07wrnfbclvf6pz9p8ag9kdd1453lsl9q0bkyc45hq2xqd2a")))) (base32 "1a5vd07wrnfbclvf6pz9p8ag9kdd1453lsl9q0bkyc45hq2xqd2a"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (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") (home-page "https://github.com/epicserve/django-cache-url")
(synopsis "Configure Django cache settings from URLs") (synopsis "Configure Django cache settings from URLs")
(description (description
@@ -420,7 +419,6 @@ and adapters that are useful for non-trivial configuration scenarios.")
python-factory-boy python-factory-boy
python-pygments python-pygments
python-pytest python-pytest
python-pytest-cov ; runs by default
python-pytest-django python-pytest-django
python-setuptools python-setuptools
python-shortuuid python-shortuuid
@@ -1329,7 +1327,6 @@ server headers required for Cross-Origin Resource Sharing (CORS).")
python-mock python-mock
python-msgpack python-msgpack
python-pytest python-pytest
python-pytest-cov
python-pytest-django python-pytest-django
python-pytest-mock python-pytest-mock
python-setuptools python-setuptools
@@ -2186,7 +2183,6 @@ templates and not in python-level form definitions.")
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-pytest-cov ; runs by default
python-pytest-django python-pytest-django
python-setuptools python-setuptools
python-wheel)) python-wheel))
-1
View File
@@ -29,7 +29,6 @@
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
+2 -2
View File
@@ -53,7 +53,6 @@
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (srfi srfi-26)) #:use-module (srfi srfi-26))
;; The fetch-plan, install-plan and phases for docbook-xml tend to vary ;; The fetch-plan, install-plan and phases for docbook-xml tend to vary
@@ -666,7 +665,8 @@ the in DocBook SGML DTDs.")
(base32 (base32
"0yd09nypswy3q4scri1dg7dr99d7gd6r2dwx0xm81l9f4y32gs0n")) "0yd09nypswy3q4scri1dg7dr99d7gd6r2dwx0xm81l9f4y32gs0n"))
(patches (patches
(search-patches "dblatex-inkscape-1.0.patch")))) (search-patches "dblatex-importlib.patch"
"dblatex-inkscape-1.0.patch"))))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
-1
View File
@@ -39,7 +39,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
+2 -4
View File
@@ -41,7 +41,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix deprecation) #:use-module (guix deprecation)
@@ -472,9 +471,8 @@ inspired by Dash.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list (list
;; Essentially a lighter copy of the former python-build-system. ;; Custom build steps to prevent using pyproject-build-system which
;; Using it rather than pyproject-build-system allows to edit the latter ;; allows to edit the latter without a texlive + haskell world rebuild.
;; without a texlive + haskell world rebuild.
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'bootstrap) (delete 'bootstrap)
-1
View File
@@ -62,7 +62,6 @@
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (ice-9 match)) #:use-module (ice-9 match))
(define-public treecc (define-public treecc
-1
View File
@@ -25,7 +25,6 @@
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module ((guix build-system python) #:select (pypi-uri))
#:use-module (guix build-system r) #:use-module (guix build-system r)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
-1
View File
@@ -40,7 +40,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
-1
View File
@@ -91,7 +91,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (srfi srfi-1)) #:use-module (srfi srfi-1))
+16 -30
View File
@@ -64,7 +64,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix deprecation) #:use-module (guix deprecation)
#:use-module (guix download) #:use-module (guix download)
@@ -480,8 +479,10 @@ individual low-level driver modules.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list (list
#:imported-modules (append %default-gnu-imported-modules #:imported-modules %pyproject-build-system-modules
%python-build-system-modules) #:modules '((guix build gnu-build-system)
((guix build pyproject-build-system) #:prefix py:)
(guix build utils))
#:make-flags #:make-flags
#~(list (string-append "PREFIX=" #$output)) #~(list (string-append "PREFIX=" #$output))
#:phases #:phases
@@ -507,8 +508,7 @@ individual low-level driver modules.")
;; https://github.com/YosysHQ/eqy/actions/runs/18767539188/job/53545383858 ;; https://github.com/YosysHQ/eqy/actions/runs/18767539188/job/53545383858
(invoke "make" "-C" "examples/spm") (invoke "make" "-C" "examples/spm")
(invoke "make" "-C" "examples/simple")))) (invoke "make" "-C" "examples/simple"))))
(add-after 'install 'python:wrap (add-after 'install 'python:wrap py:wrap))))
(@@ (guix build python-build-system) wrap)))))
(native-inputs (native-inputs
(list clang python-minimal-wrapper python-sphinx texinfo yosys)) (list clang python-minimal-wrapper python-sphinx texinfo yosys))
(inputs (inputs
@@ -2072,7 +2072,10 @@ versus schematic} tests and can assist with automatic routing.")
(list (list
#:tests? #f ;there are no tests #:tests? #f ;there are no tests
#:imported-modules (append %qt-build-system-modules #: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 #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'build-info-documentation (add-after 'unpack 'build-info-documentation
@@ -2100,8 +2103,7 @@ versus schematic} tests and can assist with automatic routing.")
(chmod bin_ #o755))) (chmod bin_ #o755)))
(install-it "mcy") (install-it "mcy")
(install-it "mcy-dash"))) (install-it "mcy-dash")))
(add-after 'make-install 'python:wrap (add-after 'make-install 'python:wrap py:wrap))))
(@@ (guix build python-build-system) wrap)))))
(native-inputs (native-inputs
(list pkg-config (list pkg-config
python-sphinx python-sphinx
@@ -3008,7 +3010,6 @@ Numpy arrays for convenience.")
(setenv "PDM_BUILD_SCM_VERSION" #$version)))))) (setenv "PDM_BUILD_SCM_VERSION" #$version))))))
(native-inputs (native-inputs
(list python-pdm-backend (list python-pdm-backend
python-pytest-cov
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm
sby sby
@@ -3321,9 +3322,7 @@ Standard} data mode.")
(base32 "15nnydvr1a4ykh8cagi484sfgvdg0dnjxaw6c0ivhjbrbblpaqnw")))) (base32 "15nnydvr1a4ykh8cagi484sfgvdg0dnjxaw6c0ivhjbrbblpaqnw"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (native-inputs
(list python-pytest-cov (list python-setuptools python-setuptools-scm))
python-setuptools
python-setuptools-scm))
(home-page "http://pyvcd.readthedocs.io/") (home-page "http://pyvcd.readthedocs.io/")
(synopsis "Library to manipulate digital wave files") (synopsis "Library to manipulate digital wave files")
(description (description
@@ -3600,10 +3599,7 @@ Automation}.")
#$output "/share/info/hdlmake-figures"))))) #$output "/share/info/hdlmake-figures")))))
#:test-flags #~(list "test_all.py"))) #:test-flags #~(list "test_all.py")))
(native-inputs (native-inputs
(list python-pytest-cov (list python-setuptools python-sphinx texinfo))
python-setuptools
python-sphinx
texinfo))
(propagated-inputs (list python-networkx)) (propagated-inputs (list python-networkx))
(home-page "https://ohwr.gitlab.io/project/hdl-make/") (home-page "https://ohwr.gitlab.io/project/hdl-make/")
(synopsis "Generate multi-purpose makefiles for HDL projects") (synopsis "Generate multi-purpose makefiles for HDL projects")
@@ -3766,18 +3762,9 @@ design.")
;; Tests are expensive and may introduce race condition on systems with ;; Tests are expensive and may introduce race condition on systems with
;; high (more than 16) threads count; limit parallel jobs to 8x. ;; high (more than 16) threads count; limit parallel jobs to 8x.
#~(list #~(list
"--numprocesses" (number->string (min 8 (parallel-job-count)))) "--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.*") "")))))))
(native-inputs (native-inputs
(list python-pytest-cov (list python-pytest
python-pytest-html
python-pytest-xdist python-pytest-xdist
python-setuptools)) python-setuptools))
(propagated-inputs (propagated-inputs
@@ -4246,11 +4233,10 @@ them usable as simple logic analyzer and/or oscilloscope hardware.")
(list (list
#:parallel-tests? #f #:parallel-tests? #f
#:test-target "test" #:test-target "test"
#:imported-modules %pyproject-build-system-modules
#:modules `((guix build gnu-build-system) #:modules `((guix build gnu-build-system)
((guix build python-build-system) #:prefix python:) ((guix build pyproject-build-system) #:prefix python:)
(guix build utils)) (guix build utils))
#:imported-modules `(,@%default-gnu-imported-modules
(guix build python-build-system))
#:make-flags #~(list (string-append "PREFIX=" #$output)) #:make-flags #~(list (string-append "PREFIX=" #$output))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
+199 -4
View File
@@ -784,7 +784,7 @@ reading the extensive documentation about BookmarkPlus on the Emacs Wiki.")
(package (package
(name "emacs-bqn-mode") (name "emacs-bqn-mode")
;; Upstream releases are tagged by date. ;; Upstream releases are tagged by date.
(version "2025-07-06") (version "2026-02-08")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@@ -793,7 +793,7 @@ reading the extensive documentation about BookmarkPlus on the Emacs Wiki.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1b25k66nn4qa4ryhm8mzc53qvsvhgjzdngisw28cpdh109627iz3")))) (base32 "1m9l4if3a9i6r76v370gh6azgj2lwqcnpavfv2bkvm9ad56f3pa8"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
(list #:tests? #f)) ;No tests found in source. (list #:tests? #f)) ;No tests found in source.
@@ -13826,7 +13826,7 @@ generates it as a string. Please see the homepage for usage examples.")
#:imported-modules (append %emacs-build-system-modules #:imported-modules (append %emacs-build-system-modules
%pyproject-build-system-modules) %pyproject-build-system-modules)
#:modules '((guix build emacs-build-system) #: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 emacs-utils)
(guix build utils)) (guix build utils))
#:phases #:phases
@@ -24580,6 +24580,13 @@ Meows motions.")
#:tests? #f ; no test suite #:tests? #f ; no test suite
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'patch-el-files 'patch-xauth-path
;; Uses xauth directly at runtime to authenticate with the X server.
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "xcb.el"
(("xauth list")
(string-append (search-input-file inputs "/bin/xauth")
" list")))))
(add-after 'expand-load-path 'regenerate-el-files (add-after 'expand-load-path 'regenerate-el-files
(lambda* (#:key inputs native-inputs #:allow-other-keys) (lambda* (#:key inputs native-inputs #:allow-other-keys)
(substitute* "xelb-gen" (substitute* "xelb-gen"
@@ -24587,6 +24594,7 @@ Meows motions.")
(invoke "make" (invoke "make"
(format #f "PROTO_PATH=~a/share/xcb" (format #f "PROTO_PATH=~a/share/xcb"
#$(this-package-native-input "xcb-proto")))))))) #$(this-package-native-input "xcb-proto"))))))))
(inputs (list xauth))
(native-inputs (list xcb-proto)) (native-inputs (list xcb-proto))
(propagated-inputs (list emacs-compat)) (propagated-inputs (list emacs-compat))
(home-page "https://github.com/emacs-exwm/xelb") (home-page "https://github.com/emacs-exwm/xelb")
@@ -35412,12 +35420,199 @@ files are easily readable and they work nicely with version control systems.")
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
(list #:include #~(cons "^data\\/" %default-include) (list #:include #~(cons "^data\\/" %default-include)
#:tests? #f)) ; no tests #:tests? #f ; no tests
#:phases
#~(modify-phases %standard-phases
;; The nerd-icons-install-fonts function would otherwise
;; download fonts from the network. Replace it with a stub
;; that instructs the user to install the font via Guix.
(add-after 'unpack 'disable-font-installer
(lambda _
(emacs-batch-edit-file "nerd-icons.el"
'(progn
(search-forward "(defun nerd-icons-install-fonts")
(beginning-of-line)
(kill-sexp)
(insert "\
(defun nerd-icons-install-fonts (&optional pfx)
(interactive \"P\")
(message \"To use nerd-icons fonts, install `font-nerd-symbols' using
`guix package -i font-nerd-symbols' or add it to your manifest or home config.
Remember, that you may have to run `fc-cache -rv' to refresh the font cache.\
\"))")
(basic-save-buffer))))))))
(synopsis "Library for easily using nerd font icons inside Emacs") (synopsis "Library for easily using nerd font icons inside Emacs")
(description "Nerd-icons an alternative to all-the-icons. It works on both (description "Nerd-icons an alternative to all-the-icons. It works on both
GUI and terminal, and requires a nerd font installed on your system.") GUI and terminal, and requires a nerd font installed on your system.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-nerd-icons-dired
;; No tags provided upstream
(let ((commit "adf9a2bb5f3f13be7a676923639337f3fcc5d8c3")
(revision "0"))
(package
(name "emacs-nerd-icons-dired")
(version (git-version "0.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rainstormstudio/nerd-icons-dired")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0x1xmwlfjgbk5kk4bxvgz4ykwwgiwmdbzhgsw49kpzz678a3qzrp"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #f)) ;no tests
(propagated-inputs (list emacs-nerd-icons))
(home-page "https://github.com/rainstormstudio/nerd-icons-dired")
(synopsis "Icons for Dired via Nerd Icons")
(description
"This package adds icons to Dired, using the @code{nerd-icons} package.")
(license license:gpl3+))))
(define-public emacs-nerd-icons-ivy-rich
;; Tagged release is not up-to-date, according to the "Version:" keyword in
;; main file.
(let ((commit "5006f91b49e86e232cdc1a628501b76124c41dac")
(revision "0"))
(package
(name "emacs-nerd-icons-ivy-rich")
(version (git-version "1.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/seagle0128/nerd-icons-ivy-rich")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0m62l4cl9j3ssd25rz40vgrv99bmwn6l4ig2sf8zzi0fpzm8axgh"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #f)) ;tests require Cask
(propagated-inputs
(list emacs-ivy-rich
emacs-nerd-icons))
(home-page "https://github.com/seagle0128/nerd-icons-ivy-rich")
(synopsis "Icons for Ivy via Nerd Icons")
(description
"This package adds icons to Ivy, using the @code{ivy-rich} and
@code{nerd-icons} packages.")
(license license:gpl3+))))
(define-public emacs-nerd-icons-ibuffer
(package
(name "emacs-nerd-icons-ibuffer")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/seagle0128/nerd-icons-ibuffer")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1wj6kcgvh700maj9i5pmgzc48lbj0dbxx849a8w519m4anr7b23s"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #f)) ;tests require Cask
(propagated-inputs
(list emacs-nerd-icons))
(home-page "https://github.com/seagle0128/nerd-icons-ibuffer")
(synopsis "Icons for Ibuffer via Nerd Icons")
(description
"This package adds icons to ibuffer in Emacs, using the @code{nerd-icons}
package.")
(license license:gpl3+)))
(define-public emacs-nerd-icons-completion
;; No tags provided upstream
(let ((commit "63a6b3f1eb98bb381c86a1658ac401c8967079b8")
(revision "0"))
(package
(name "emacs-nerd-icons-completion")
(version (git-version "0.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rainstormstudio/nerd-icons-completion")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "08p361rh5mv3ng10av1381kzl9s4msdjyca96hsgsh05qwq5pdrf"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #f)) ;no tests
(propagated-inputs (list emacs-nerd-icons))
(home-page "https://github.com/rainstormstudio/nerd-icons-completion")
(synopsis "Icons for Emacs minibuffer completion via Nerd Icons")
(description
"This package adds icons to minibuffer completion in Emacs, using the
@code{nerd-icons} package. It supports @code{vertico} and @code{marginalia}.")
(license license:gpl3+))))
(define-public emacs-nerd-icons-corfu
(package
(name "emacs-nerd-icons-corfu")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/LuigiPiucco/nerd-icons-corfu")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "036p45wqwrqhn5xv5sn3gsm2mb79gj6fk24zpkfa7wrv45qqgb21"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #f)) ;no tests
(propagated-inputs
(list emacs-corfu
emacs-nerd-icons))
(home-page "https://github.com/LuigiPiucco/nerd-icons-corfu")
(synopsis "Icons for Corfu via Nerd Icons")
(description
"This package adds icons to @code{corfu}, using the @code{nerd-icons}
package.")
(license license:gpl3+)))
(define-public emacs-nerd-icons-mode-line
;; No tags provided upstream
(let ((commit "23eca8e16799524889d661f4140355e81b8f929c")
(revision "0"))
(package
(name "emacs-nerd-icons-mode-line")
(version (git-version "0.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/grolongo/nerd-icons-mode-line")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0l2bg22cllab9wz5wxd6zhrywavqrlvv1a6y49ij63qhlsfncy6s"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #f)) ;no tests
(propagated-inputs (list emacs-nerd-icons))
(home-page "https://github.com/grolongo/nerd-icons-mode-line")
(synopsis "Icons for the Emacs modeline via Nerd Icons")
(description
"This package adds icons to the modeline in Emacs, using the
@code{nerd-icons} package.")
(license license:gpl3+))))
(define-public emacs-all-the-icons (define-public emacs-all-the-icons
;; The latest release was on 3 June 2021. ;; The latest release was on 3 June 2021.
(let ((commit "4778632b29c8c8d2b7cd9ce69535d0be01d846f9") (let ((commit "4778632b29c8c8d2b7cd9ce69535d0be01d846f9")
+1 -8
View File
@@ -45,7 +45,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module ((guix build utils) #:select (alist-replace delete-file-recursively)) #:use-module ((guix build utils) #:select (alist-replace delete-file-recursively))
#:use-module (gnu packages) #:use-module (gnu packages)
@@ -2033,13 +2032,7 @@ whereas kdmx creates pseudo-ttys.")
;; tests: 631 passed, 27 skipped, 1 warning ;; tests: 631 passed, 27 skipped, 1 warning
#:test-flags #:test-flags
;; E ModuleNotFoundError: No module named 'mbed_tools_ci_scripts' ;; E ModuleNotFoundError: No module named 'mbed_tools_ci_scripts'
#~(list "--ignore=tests/ci_scripts/test_sync_board_db.py") #~(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 = .*") "")))))))
(native-inputs (native-inputs
(list python-factory-boy (list python-factory-boy
python-pytest python-pytest
-1
View File
@@ -140,7 +140,6 @@
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system trivial)) #:use-module (guix build-system trivial))
-1
View File
@@ -41,7 +41,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (srfi srfi-1)) #:use-module (srfi srfi-1))
+10 -11
View File
@@ -77,7 +77,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
@@ -1828,7 +1827,6 @@ it suitable for security research and analysis.")
(native-inputs (list python-gitpython (native-inputs (list python-gitpython
python-pytest python-pytest
python-pytest-asyncio python-pytest-asyncio
python-pytest-cov
python-pytest-mock python-pytest-mock
python-setuptools)) python-setuptools))
(inputs (list bash-minimal (inputs (list bash-minimal
@@ -2367,7 +2365,6 @@ Newton-Raphson power flow solvers in the C++ library lightsim2grid, and the
python-networkx python-networkx
python-openpyxl python-openpyxl
python-pytest python-pytest
python-pytest-cov ; --cov runs by default on skrf
python-pytest-mock python-pytest-mock
python-pyvisa python-pyvisa
python-setuptools python-setuptools
@@ -2901,20 +2898,22 @@ interpolation toolkit.")
(define-public python-motulator (define-public python-motulator
(package (package
(name "python-motulator") (name "python-motulator")
(version "0.5.0") (version "0.6.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "motulator" version)) (uri (git-reference
(url "https://github.com/Aalto-Electric-Drives/motulator/")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "1kh13zfa4w73q04pny2w2zgym47fp8xy7glwfx82fdx4fihk7dv7")))) (base32 "1di2r1i19jl751v0hj426zkwk48w5yf8zpw2bl6qzk0vq4z2vpbw"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list #:tests? #f)) ; there are no tests (list #:tests? #f)) ; there are no tests
(propagated-inputs (list python-matplotlib python-numpy python-scipy)) (propagated-inputs
(native-inputs (list python-hatchling (list python-numpy python-matplotlib python-scipy python-tqdm))
python-ipykernel (native-inputs (list python-hatchling))
python-toml))
(home-page "https://aalto-electric-drives.github.io/motulator/") (home-page "https://aalto-electric-drives.github.io/motulator/")
(synopsis "Motor Drive Simulator in Python") (synopsis "Motor Drive Simulator in Python")
(description "This package includes simulation models for an induction (description "This package includes simulation models for an induction
-1
View File
@@ -30,7 +30,6 @@
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages algebra) #:use-module (gnu packages algebra)
-2
View File
@@ -29,7 +29,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages) #:use-module (gnu packages)
@@ -245,7 +244,6 @@ seamlessly with your desktop environment.")
(native-inputs (native-inputs
(list nss-certs-for-test (list nss-certs-for-test
python-pytest python-pytest
python-pytest-cov
python-pytest-mock python-pytest-mock
python-pytest-recording python-pytest-recording
python-pytest-retry python-pytest-retry
-1
View File
@@ -50,7 +50,6 @@
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system linux-module) #:use-module (guix build-system linux-module)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (guix utils) #:use-module (guix utils)
+19 -33
View File
@@ -70,7 +70,6 @@
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system emacs) #:use-module (guix build-system emacs)
#:use-module (guix build-system haskell) #:use-module (guix build-system haskell)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system go) #:use-module (guix build-system go)
@@ -323,41 +322,37 @@ based on Qt.")
(define-public ghc-hledger (define-public ghc-hledger
(package (package
(name "ghc-hledger") (name "ghc-hledger")
(version "1.43.2") (version "1.27.1")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "hledger" version))
(uri (hackage-uri "hledger" version)) (sha256
(sha256 (base32
(base32 "043gw3amc29fbjxlzyc4m97bw5i5462352lmk61adlxcd12l47i1")))) "0qdg87m7ys2ykqqq32p7h7aw827w4f5bcqx4dspxxq6zqlvzddqb"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hledger"))) (properties '((upstream-name . "hledger")))
(inputs (list ghc-decimal (inputs (list ghc-decimal
ghc-diff ghc-diff
ghc-aeson ghc-aeson
ghc-ansi-terminal ghc-ansi-terminal
ghc-breakpoint
ghc-cmdargs ghc-cmdargs
ghc-data-default ghc-data-default
ghc-extra ghc-extra
ghc-githash ghc-githash
ghc-hashable ghc-hashable
ghc-hledger-lib ghc-hledger-lib
ghc-http-client
ghc-http-types
ghc-lucid ghc-lucid
ghc-math-functions ghc-math-functions
ghc-megaparsec ghc-megaparsec
ghc-microlens ghc-microlens
ghc-modern-uri
ghc-regex-tdfa ghc-regex-tdfa
ghc-req
ghc-safe ghc-safe
ghc-shakespeare ghc-shakespeare
ghc-split ghc-split
ghc-tabular ghc-tabular
ghc-tasty ghc-tasty
ghc-temporary ghc-temporary
ghc-text-ansi
ghc-timeit ghc-timeit
ghc-unordered-containers ghc-unordered-containers
ghc-utf8-string ghc-utf8-string
@@ -388,8 +383,8 @@ Accounting.")
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'install 'install-doc (add-after 'install 'install-doc
(lambda _ (lambda _
(install-file "embeddedfiles/hledger.info" (string-append #$output "/share/info")) (install-file "hledger.info" (string-append #$output "/share/info"))
(install-file "embeddedfiles/hledger.1" (string-append #$output "/man/man1")))) (install-file "hledger.1" (string-append #$output "/man/man1"))))
(add-after 'register 'remove-libraries (add-after 'register 'remove-libraries
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(delete-file-recursively (string-append (assoc-ref outputs "out") "/lib"))))))))) (delete-file-recursively (string-append (assoc-ref outputs "out") "/lib")))))))))
@@ -1627,10 +1622,7 @@ features:
(sha256 (sha256
(base32 "0yir8hka3vmpk0qhiaffagkdjg3mjgai808s0razsggbd5cn80bb")))) (base32 "0yir8hka3vmpk0qhiaffagkdjg3mjgai808s0razsggbd5cn80bb"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (native-inputs (list python-pytest python-setuptools))
(list python-pytest
python-pytest-cov
python-setuptools))
(home-page "https://arthurdejong.org/python-stdnum/") (home-page "https://arthurdejong.org/python-stdnum/")
(synopsis "Python module to handle standardized number and code formats") (synopsis "Python module to handle standardized number and code formats")
(description (description
@@ -2312,13 +2304,13 @@ textual ledgers to Beancount files.")
(define-public hledger-web (define-public hledger-web
(package (package
(name "hledger-web") (name "hledger-web")
(version "1.43.2") (version "1.27.1")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "hledger-web" version))
(uri (hackage-uri "hledger-web" version)) (sha256
(sha256 (base32
(base32 "0d4sv9k3m7s0764lbq2l8w9p2p47cby177l0avl5w3fa9y8d0gyd")))) "151dxci7dld8626dzw823sr3d9iaac92wfzbfcbdz4jh9f7n07wa"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hledger-web"))) (properties '((upstream-name . "hledger-web")))
(inputs (list ghc-decimal (inputs (list ghc-decimal
@@ -2326,6 +2318,7 @@ textual ledgers to Beancount files.")
ghc-base64 ghc-base64
ghc-blaze-html ghc-blaze-html
ghc-blaze-markup ghc-blaze-markup
ghc-breakpoint
ghc-case-insensitive ghc-case-insensitive
ghc-clientsession ghc-clientsession
ghc-cmdargs ghc-cmdargs
@@ -2333,8 +2326,6 @@ textual ledgers to Beancount files.")
ghc-conduit-extra ghc-conduit-extra
ghc-data-default ghc-data-default
ghc-extra ghc-extra
ghc-file-embed
ghc-githash
ghc-hjsmin ghc-hjsmin
ghc-hledger ghc-hledger
ghc-hledger-lib ghc-hledger-lib
@@ -2344,7 +2335,6 @@ textual ledgers to Beancount files.")
ghc-http-types ghc-http-types
ghc-megaparsec ghc-megaparsec
ghc-network ghc-network
ghc-safe
ghc-shakespeare ghc-shakespeare
ghc-unix-compat ghc-unix-compat
ghc-unordered-containers ghc-unordered-containers
@@ -2515,10 +2505,6 @@ analysis of financial market data.")
(base32 "13g5338aa8vgkx8g94vz5d8ynfq3jndvyh1nz6dlhw4axwr4x8dp")))) (base32 "13g5338aa8vgkx8g94vz5d8ynfq3jndvyh1nz6dlhw4axwr4x8dp"))))
(properties '(("upstream-name" #{.}# "mt-940"))) (properties '(("upstream-name" #{.}# "mt-940")))
(build-system pyproject-build-system) (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)) (native-inputs (list python-pytest python-pyyaml python-setuptools))
(home-page "https://mt940.readthedocs.io/") (home-page "https://mt940.readthedocs.io/")
(synopsis "Python parser for MT940-encoded SWIFT data") (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 cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (gnu packages) #:use-module (gnu packages)
-1
View File
@@ -49,7 +49,6 @@
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
+52 -5
View File
@@ -96,7 +96,6 @@
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (srfi srfi-1)) #: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.") other operations on paths.")
(license license:expat))) (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 (define-public python-cffsubr
(package (package
(name "python-cffsubr") (name "python-cffsubr")
@@ -574,7 +620,6 @@ for fontTools.")
(list python-cython (list python-cython
python-defcon python-defcon
python-pytest python-pytest
python-pytest-runner
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm
python-wheel python-wheel
@@ -701,8 +746,7 @@ implementing the pen protocol for manipulating glyphs.")
(modify-inputs native-inputs (modify-inputs native-inputs
(append python-fontparts-bootstrap (append python-fontparts-bootstrap
python-fontpens-bootstrap python-fontpens-bootstrap
python-pytest python-pytest))))))
python-pytest-runner))))))
;;; A variant used to break a cycle with python-fontpens. ;;; A variant used to break a cycle with python-fontpens.
(define-public python-fontparts-bootstrap (define-public python-fontparts-bootstrap
@@ -983,7 +1027,6 @@ suite of the @code{psautohint} package.")
(native-inputs (native-inputs
(list psautohint-font-data (list psautohint-font-data
python-pytest python-pytest
python-pytest-cov
python-pytest-xdist python-pytest-xdist
python-setuptools-scm python-setuptools-scm
python-setuptools python-setuptools
@@ -1827,6 +1870,10 @@ definitions.")
pango pango
potrace potrace
python python
;; XXX: Python 3.12 lacks distutils:
;; ModuleNotFoundError: No module named 'distutils'
;; Remove when package is updated.
python-setuptools-bootstrap
zlib)) zlib))
(arguments (arguments
(append (append
+38 -37
View File
@@ -73,7 +73,6 @@
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system pyproject) #: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 glib-or-gtk)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix search-paths) #:use-module (guix search-paths)
@@ -1378,41 +1377,43 @@ For information about libevdev, see:
(license license:expat))) (license license:expat)))
(define-public python-pyxdg (define-public python-pyxdg
(package ;; Latest unreleased commits add Python 3.12, 3.14 and 3.15 support.
(name "python-pyxdg") (let ((commit "63033ac306aa26d32e1439417e59ae8f8a4c9820")
(version "0.28") (revision "0"))
(source (package
(origin (name "python-pyxdg")
(method url-fetch) (version "0.28")
(uri (pypi-uri "pyxdg" version)) (source
(sha256 (origin
(base32 (method git-fetch)
"1d48bqwkbnpid80cpwz6h62i112laxl0ivpj58hdyd79fhqbnrrj")))) (uri (git-reference
(build-system pyproject-build-system) (url "https://gitlab.freedesktop.org/xdg/pyxdg")
(arguments (commit commit)))
(list (file-name (git-file-name name version))
#:test-flags (sha256
;; Tests failing with error: AssertionError: 'image' != 'inode' (base32
#~(list "--deselect=test/test_mime.py::MimeTest::test_get_type" "10wk95rmcr2fglmvmv1a6ad9hkw9587r0rlww0gq6kbfz85whgmd"))))
"--deselect=test/test_mime.py::MimeTest::test_get_type2") (build-system pyproject-build-system)
#:phases (arguments
#~(modify-phases %standard-phases (list
(add-before 'check 'pre-check #:phases
(lambda _ #~(modify-phases %standard-phases
(setenv "XDG_DATA_DIRS" (add-before 'check 'pre-check
(string-append #$(this-package-native-input "shared-mime-info") (lambda _
"/share/"))))))) (setenv "XDG_DATA_DIRS"
(native-inputs (string-append #$(this-package-native-input "shared-mime-info")
(list shared-mime-info "/share/")))))))
hicolor-icon-theme (native-inputs
python-pytest (list shared-mime-info
python-setuptools)) hicolor-icon-theme
(home-page "https://www.freedesktop.org/wiki/Software/pyxdg") python-pytest
(synopsis "Implementations of freedesktop.org standards in Python") python-setuptools))
(description (home-page "https://www.freedesktop.org/wiki/Software/pyxdg")
"PyXDG is a collection of implementations of freedesktop.org standards in (synopsis "Implementations of freedesktop.org standards in Python")
(description
"PyXDG is a collection of implementations of freedesktop.org standards in
Python.") Python.")
(license license:lgpl2.0))) (license license:lgpl2.0))))
(define-public hyprland-protocols (define-public hyprland-protocols
(package (package
@@ -2177,7 +2178,7 @@ which speak the Qualcomm MSM Interface (QMI) protocol.")
libxslt ;for xsltproc libxslt ;for xsltproc
pkg-config pkg-config
python-minimal python-minimal
python-dbus-1.2 ;for test python-dbus ;for test
python-pygobject ;for test python-pygobject ;for test
vala)) vala))
(propagated-inputs (propagated-inputs
@@ -2371,7 +2372,7 @@ different sorts of messages in different formats.")
(base32 "02wb61h2k3hhis5y2xi5rhc6pmikd13x722hk620sqb9b3m5pn3s")))) (base32 "02wb61h2k3hhis5y2xi5rhc6pmikd13x722hk620sqb9b3m5pn3s"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (list autoconf automake libtool pkg-config)) (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)) (propagated-inputs (list telepathy-glib))
(home-page "https://telepathy.freedesktop.org/") (home-page "https://telepathy.freedesktop.org/")
(synopsis "Telepathy IRC connection manager") (synopsis "Telepathy IRC connection manager")
-1
View File
@@ -70,7 +70,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system renpy) #:use-module (guix build-system renpy)
#:use-module (guix build-system scons) #:use-module (guix build-system scons)
#:use-module (gnu packages) #:use-module (gnu packages)
+3 -3
View File
@@ -13508,8 +13508,8 @@ rules to solve permissions issues.")
(define-public steam-devices-udev-rules (define-public steam-devices-udev-rules
;; Last release from 2019-04-10 ;; Last release from 2019-04-10
(let ((commit "13443480a64fe8f10676606bd57da6de89f8ccb1") (let ((commit "7dde9ecb3c386363ecd9bd0a3b77e4756d200704")
(revision "1")) (revision "2"))
(package (package
(name "steam-devices-udev-rules") (name "steam-devices-udev-rules")
(version (git-version "1.0.0.61" revision commit)) (version (git-version "1.0.0.61" revision commit))
@@ -13521,7 +13521,7 @@ rules to solve permissions issues.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0i086gmnk93q76sw1laa9br6b7zj2r6nrrw7d64y4q9wcrlxw2bi")))) "0w0xkgi9fpvdbpl57f8fy2nwy2icm6iag39b8ifpkijlxgclx1p3"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
'(#:install-plan '(("./" "lib/udev/rules.d" '(#:install-plan '(("./" "lib/udev/rules.d"
+48 -88
View File
@@ -55,7 +55,6 @@
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system r) #:use-module (guix build-system r)
#:use-module (guix build-system zig) #:use-module (guix build-system zig)
@@ -298,7 +297,7 @@ than 600 operators available.")
(define-public h3 (define-public h3
(package (package
(name "h3") (name "h3")
(version "4.1.0") (version "4.4.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@@ -307,7 +306,7 @@ than 600 operators available.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0x764xzna8ka6yhgv2y4hb158a61y3g9a6835qckqp7wfkpqvb7f")))) (base32 "1ijnbr4a54ph7bkn8waqwgnxmxlylv9yly9mwjdj69lkmdfjgaml"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"))) (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")))
@@ -319,48 +318,25 @@ combining the benefits of a hexagonal grid with S2's hierarchical
subdivisions.") subdivisions.")
(license license:asl2.0))) (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 (define-public python-h3
(package (package
(name "python-h3") (name "python-h3")
(version "4.0.0b2") (version "4.4.2")
(source (source
(origin (origin
(method git-fetch) ; no tests data in PyPi package (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/uber/h3-py") (url "https://github.com/uber/h3-py")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1k1n256hhlh05gjcj64pqh08zlaz6962jkb6nk1aazsgg8p41zs0")) (base32 "02gry51hn8x2bl80y1ipcyrg0ghcif4vjch26qil215wdzz1yrzv"))
(modules '((guix build utils))) (modules '((guix build utils)))
;; Remove bundled H3 lib. ;; Remove bundled H3 lib.
(snippet #~(begin (delete-file-recursively "src/h3lib"))))) (snippet #~(begin (delete-file-recursively "src/h3lib")))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (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 #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; Use packaged in Guix h3 source. ;; Use packaged in Guix h3 source.
@@ -381,10 +357,7 @@ subdivisions.")
python-cython python-cython
python-numpy python-numpy
python-pytest python-pytest
python-scikit-build python-scikit-build-core))
python-setuptools
python-setuptools-scm
python-wheel))
(inputs (list h3)) (inputs (list h3))
(home-page "https://uber.github.io/h3-py") (home-page "https://uber.github.io/h3-py")
(synopsis "Python bindings for H3") (synopsis "Python bindings for H3")
@@ -392,26 +365,6 @@ subdivisions.")
hierarchical hexagonal geospatial indexing system") hierarchical hexagonal geospatial indexing system")
(license license:asl2.0))) (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 (define-public geos
(package (package
(name "geos") (name "geos")
@@ -1059,7 +1012,6 @@ for seismology.")
(inputs (list gdal)) (inputs (list gdal))
(native-inputs (list python-cython (native-inputs (list python-cython
python-pytest python-pytest
python-pytest-cov
python-setuptools python-setuptools
python-tomli python-tomli
python-versioneer python-versioneer
@@ -1159,7 +1111,7 @@ projections and coordinate transformations library.")
(define-public python-fiona (define-public python-fiona
(package (package
(name "python-fiona") (name "python-fiona")
(version "1.9.6") (version "1.10.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@@ -1168,24 +1120,38 @@ projections and coordinate transformations library.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "08whhjrspp194qasjhr9kf70fl342ms47k78rwpcf5q6ikf0rfii")))) (base32 "0xribbcy5wvrm5y3bq281dry86vhjcnphg9772yp9s3y30y7mlz4"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; tests: 757 passed, 161 skipped, 24 deselected, 1 xfailed, 6 xpassed
#:test-flags #:test-flags
#~(list "-m" "not network and not wheel" #~(list "-m" "not network and not wheel"
;; FIXME: Find why the #$@(map (lambda (test) (string-append "--deselect=tests/" test))
;; test_no_append_driver_cannot_append[PCIDSK] test is failing. ;; UserWarning: The parameter --where is used more than
"-k" "not test_no_append_driver_cannot_append") ;; 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 #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'build 'set-configure-flags (add-before 'check 'remove-local-source
(lambda _ (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")))))) (delete-file-recursively "fiona"))))))
(inputs (inputs
(list gdal)) (list gdal))
@@ -1193,19 +1159,19 @@ projections and coordinate transformations library.")
(list python-attrs (list python-attrs
python-certifi python-certifi
python-click python-click
python-click-plugins-1 python-click-plugins
python-cligj)) python-cligj))
(native-inputs (native-inputs
(list gdal ; for gdal-config (list gdal ; for gdal-config
python-boto3 python-boto3
python-cython python-cython
python-fsspec
python-pytest python-pytest
python-pytest-cov
python-pytz python-pytz
python-setuptools)) python-setuptools
python-shapely))
(home-page "https://github.com/Toblerity/Fiona") (home-page "https://github.com/Toblerity/Fiona")
(synopsis (synopsis "Fiona reads and writes spatial data files")
"Fiona reads and writes spatial data files")
(description (description
"Fiona is GDALs neat and nimble vector API for Python programmers. Fiona "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 is designed to be simple and dependable. It focuses on reading and writing
@@ -1465,7 +1431,6 @@ street bearings/orientations, and speed/travel time.")
python-pyproj python-pyproj
python-pyyaml python-pyyaml
python-pytest python-pytest
python-pytest-cov
python-pytest-httpserver python-pytest-httpserver
python-pytz python-pytz
python-requests python-requests
@@ -1797,10 +1762,7 @@ utilities for data translation and processing.")
;; This test requires internet access. ;; This test requires internet access.
'(list "--deselect" "test_shapefile.py::test_reader_url"))) '(list "--deselect" "test_shapefile.py::test_reader_url")))
(native-inputs (native-inputs
(list python-pytest (list python-pytest python-setuptools python-wheel))
python-pytest-runner
python-setuptools
python-wheel))
(home-page "https://github.com/GeospatialPython/pyshp") (home-page "https://github.com/GeospatialPython/pyshp")
(synopsis "Read/write support for ESRI Shapefile format") (synopsis "Read/write support for ESRI Shapefile format")
(description (description
@@ -3530,10 +3492,9 @@ orienteering sport.")
(list (list
#:tests? #f ; No tests #:tests? #f ; No tests
#:modules `((guix build gnu-build-system) #:modules `((guix build gnu-build-system)
((guix build python-build-system) #:prefix python:) ((guix build pyproject-build-system) #:prefix python:)
(guix build utils)) (guix build utils))
#:imported-modules `(,@%default-gnu-imported-modules #:imported-modules %pyproject-build-system-modules
(guix build python-build-system))
#:configure-flags #:configure-flags
#~(list "--with-blas" #~(list "--with-blas"
"--with-bzlib" "--with-bzlib"
@@ -3705,13 +3666,13 @@ growing set of geoscientific methods.")
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
#:imported-modules (append %cmake-build-system-modules
%pyproject-build-system-modules
'((guix build qt-utils)))
#:modules '((guix build cmake-build-system) #: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 qt-utils)
(guix build utils)) (guix build utils))
#:imported-modules `(,@%cmake-build-system-modules
(guix build python-build-system)
(guix build qt-utils))
#:configure-flags #:configure-flags
#~(list "-DWITH_QTWEBKIT=NO") #~(list "-DWITH_QTWEBKIT=NO")
#:phases #:phases
@@ -3872,11 +3833,10 @@ growing set of geoscientific methods.")
;; Configure correct path to PyQt5 SIP directory ;; Configure correct path to PyQt5 SIP directory
(add-after 'unpack 'configure-pyqt5-sip-path (add-after 'unpack 'configure-pyqt5-sip-path
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((sip-dir (string-append (let* ((pyqt (assoc-ref inputs "python-pyqt+qscintilla"))
(assoc-ref inputs "python-pyqt+qscintilla") (sip-dir (string-append
"/lib/python" (py:site-packages inputs `(("out" . ,pyqt)))
(python:python-version (assoc-ref inputs "python")) "/PyQt5/bindings")))
"/site-packages/PyQt5/bindings")))
(substitute* "cmake/FindPyQt5.py" (substitute* "cmake/FindPyQt5.py"
(("sip_dir = cfg.default_sip_dir") (("sip_dir = cfg.default_sip_dir")
(string-append "sip_dir = \"" sip-dir "\""))) (string-append "sip_dir = \"" sip-dir "\"")))
@@ -3906,7 +3866,7 @@ SET\\(PYQT5_SIP_DIR \"\\$\\{Python_SITEARCH\\}/PyQt5/bindings\"\\)")
"-E" (string-join ignored-tests "|"))) "-E" (string-join ignored-tests "|")))
(format #t "test suite not run~%")))) (format #t "test suite not run~%"))))
(add-after 'install 'wrap-python (add-after 'install 'wrap-python
(assoc-ref python:%standard-phases 'wrap)) (assoc-ref py:%standard-phases 'wrap))
(add-after 'wrap-python 'wrap-qt (add-after 'wrap-python 'wrap-qt
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(wrap-qt-program "qgis" #:output #$output #:inputs inputs))) (wrap-qt-program "qgis" #:output #$output #:inputs inputs)))
+43 -9
View File
@@ -476,17 +476,31 @@ inverse fourier transform.")
(package (package
(name "libmypaint") (name "libmypaint")
(version "1.6.1") (version "1.6.1")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/mypaint/libmypaint/" (method git-fetch)
"releases/download/v" version "/libmypaint-" (uri (git-reference
version ".tar.xz")) (url "https://github.com/mypaint/libmypaint")
(sha256 (commit (string-append "v" version))))
(base32 (file-name (git-file-name name version))
"0priwpmc7dizccqvn21ig6d649bprl3xl1hmjj7nddznjgr585vl")))) (sha256
(base32 "1ppgpmnhph9h8ayx9776f79a0bxbdszfw9c6bw7c3ffy2yk40178"))))
(build-system gnu-build-system) (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 (native-inputs
(list intltool pkg-config)) (list autoconf
automake
intltool
libtool
pkg-config
python))
;; As needed by 'libmypaint.pc'. ;; As needed by 'libmypaint.pc'.
(propagated-inputs (propagated-inputs
(list json-c gobject-introspection)) (list json-c gobject-introspection))
@@ -498,6 +512,26 @@ brushstrokes which is used by MyPaint and GIMP.")
(home-page "http://mypaint.org") (home-page "http://mypaint.org")
(license license:isc))) (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 (define-public mypaint-brushes
(package (package
(name "mypaint-brushes") (name "mypaint-brushes")
+14 -10
View File
@@ -79,7 +79,6 @@
#:use-module (guix build-system cargo) #:use-module (guix build-system cargo)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
@@ -1420,8 +1419,8 @@ original glmark benchmark by Ben Smith.")
(license license:bsd-2))) (license license:bsd-2)))
(define-public piglit (define-public piglit
(let ((revision "1") (let ((revision "2")
(commit "814046fe6942eac660ee4a6cc5fcc54011a49945")) (commit "040ed91f234abb6a502d3a6910f1b0e54bd239a7"))
(package (package
(name "piglit") (name "piglit")
(version (git-version "0.0.0" revision commit)) (version (git-version "0.0.0" revision commit))
@@ -1432,7 +1431,7 @@ original glmark benchmark by Ben Smith.")
(commit commit))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1bzaalcxskckfnwprw77sbbmfqi59by2j8imaq8ghnlzhlxv7mk7")))) (base32 "1j5dmkym1mmz410xgwygimnjk2aswsqmcpjwz4s98pgmymh1yjvf"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list #:configure-flags #~(list "-DPIGLIT_SSE2=OFF") (list #:configure-flags #~(list "-DPIGLIT_SSE2=OFF")
@@ -1451,16 +1450,21 @@ original glmark benchmark by Ben Smith.")
"'"))))) "'")))))
(add-after 'install 'wrap (add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(wrap-script (string-append (assoc-ref outputs "out") (wrap-script (string-append #$output "/bin/piglit")
"/bin/piglit")
`("GUIX_PYTHONPATH" prefix `("GUIX_PYTHONPATH" prefix
(,(getenv "GUIX_PYTHONPATH"))))))))) (,(getenv "GUIX_PYTHONPATH")))))))))
(inputs (list guile-3.0 ; for wrap-script (inputs (list glslang
guile-3.0 ; for wrap-script
libxkbcommon libxkbcommon
python python-lxml python-mako python-numpy-1 python
glslang vulkan-headers vulkan-loader wayland-protocols
vulkan-headers
vulkan-loader
waffle)) waffle))
(native-inputs (list pkg-config)) (native-inputs (list pkg-config
python-lxml
python-mako
python-numpy))
(home-page "https://piglit.freedesktop.org/") (home-page "https://piglit.freedesktop.org/")
(synopsis "Test OpenGL implementations") (synopsis "Test OpenGL implementations")
(description "Piglit is a collection of automated tests for OpenGL and (description "Piglit is a collection of automated tests for OpenGL and
-1
View File
@@ -51,7 +51,6 @@
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix packages) #:use-module (guix packages)
+94 -15
View File
@@ -250,7 +250,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module ((guix config) #:select (%storedir)) #:use-module ((guix config) #:select (%storedir))
#:use-module (guix deprecation) #:use-module (guix deprecation)
@@ -2598,6 +2597,92 @@ of Evince is to replace the multiple document viewers that exist
on the GNOME Desktop with a single simple application.") on the GNOME Desktop with a single simple application.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public papers
(package
(name "papers")
(version "50.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/papers/"
(version-major version) "/"
"papers-" version ".tar.xz"))
(sha256
(base32 "01dws72fb19i9jwp3r0khr7ym2ns51fifdzafb5dcr5w8vmj06rh"))))
(build-system meson-build-system)
(arguments
(list
#:glib-or-gtk? #t
#:configure-flags
#~(list (string-append "-Dc_link_args=-Wl,-rpath=" #$output "/lib"))
#:imported-modules `(,@%meson-build-system-modules
,@%cargo-build-system-modules)
#:modules `(((guix build cargo-build-system) #:prefix cargo:)
(guix build meson-build-system)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'prepare-for-build
(lambda _
(substitute* "meson.build"
(("gtk_update_icon_cache: true")
"gtk_update_icon_cache: false")
(("update_desktop_database: true")
"update_desktop_database: false"))
(substitute* "meson.build"
(("'Cargo.lock',")
""))
(delete-file "Cargo.lock")))
(add-after 'configure 'prepare-cargo-build-system
(lambda args
(for-each
(lambda (phase)
(format #t "Running cargo phase: ~a~%" phase)
(apply (assoc-ref cargo:%standard-phases phase)
#:vendor-dir "vendor"
#:cargo-target #$(cargo-triplet)
args))
'(unpack-rust-crates
configure
check-for-pregenerated-files
patch-cargo-checksums))
(setenv "RUSTFLAGS"
(string-append (or (getenv "RUSTFLAGS") "")
" -C link-arg=-Wl,-rpath,"
#$output "/lib")))))))
(native-inputs
(cons* blueprint-compiler
gettext-minimal
`(,glib "bin")
gobject-introspection
gi-docgen
itstool
pkg-config
rust
`(,rust "cargo")
(or (and=> (%current-target-system)
(compose list make-rust-sysroot))
'())))
(inputs
(cons* appstream
djvulibre
exempi
gtk
libadwaita
libarchive
libspelling
libtiff
nautilus ; for nautilus extension
poppler-next
zlib
(cargo-inputs 'papers)))
(home-page "https://apps.gnome.org/Papers")
;; TODO: drop “new” when updating to GNOME 49 or newer.
(synopsis "GNOME's new document viewer")
(description "Papers is a document viewer capable of displaying multiple
and single page document formats like PDF and DejaVu.")
(license license:gpl2+)))
(define-public gsettings-desktop-schemas (define-public gsettings-desktop-schemas
(package (package
(name "gsettings-desktop-schemas") (name "gsettings-desktop-schemas")
@@ -2673,7 +2758,7 @@ schemas for settings shared by various components of the GNOME desktop.")
(invoke "./run-tests"))))))) (invoke "./run-tests")))))))
(native-inputs (list python-pytest python-setuptools xorg-server-for-tests)) (native-inputs (list python-pytest python-setuptools xorg-server-for-tests))
(inputs (list gtk+)) (inputs (list gtk+))
(propagated-inputs (list python-pygobject)) (propagated-inputs (list python-pygobject-3.50))
(home-page "https://getting-things-gnome.github.io/liblarch") (home-page "https://getting-things-gnome.github.io/liblarch")
(synopsis "Library to easily handle complex data structures") (synopsis "Library to easily handle complex data structures")
(description (description
@@ -2732,7 +2817,7 @@ and how they are displayed (View).")
gtksourceview-4 gtksourceview-4
pango pango
python python
python-dbus-1.2 python-dbus
python-liblarch python-liblarch
python-lxml python-lxml
python-pycairo python-pycairo
@@ -2900,7 +2985,7 @@ guidelines.")
python python
cups cups
gtk+ gtk+
python-dbus-1.2 python-dbus
python-pygobject python-pygobject
python-pycups python-pycups
python-requests python-requests
@@ -4914,6 +4999,7 @@ as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps.")
(arguments (arguments
(list (list
#:configure-flags #~(list "-Ddocs=disabled") #:configure-flags #~(list "-Ddocs=disabled")
#:parallel-tests? #f ;hsts-db-test might hang otherwise.
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'adjust-tests (add-after 'unpack 'adjust-tests
@@ -4955,7 +5041,7 @@ as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps.")
zlib)) zlib))
(inputs (inputs
(list samba/pinned)) ; For ntlm_auth support (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") (synopsis "GLib-based HTTP Library")
(description (description
"LibSoup is an HTTP client/server library for GNOME. It uses GObjects "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
@@ -5071,7 +5157,7 @@ and the GLib main loop, to integrate well with GNOME applications.")
libxslt libxslt
pkg-config pkg-config
python python
python-dbus-1.2 python-dbus
python-pygobject-3.50 python-pygobject-3.50
vala)) vala))
(propagated-inputs (propagated-inputs
@@ -8072,12 +8158,6 @@ to display dialog boxes from the commandline and shell scripts.")
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
(list (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 #:glib-or-gtk? #t
#:configure-flags #:configure-flags
#~(list #~(list
@@ -8600,7 +8680,7 @@ users.")
libxslt libxslt
perl perl
pkg-config pkg-config
python-dbus-1.2 python-dbus
python-pygobject-3.50 python-pygobject-3.50
python-wrapper python-wrapper
vala)) vala))
@@ -12251,7 +12331,6 @@ advanced image management tool")
intltool intltool
pkg-config pkg-config
python-psutil python-psutil
python-pytest-runner
python-pytest)) python-pytest))
(inputs (inputs
(list bash-minimal ;for wrap-program (list bash-minimal ;for wrap-program
@@ -12260,7 +12339,7 @@ advanced image management tool")
gsettings-desktop-schemas gsettings-desktop-schemas
gtk+ gtk+
python-wrapper python-wrapper
python-dbus-1.2 python-dbus
python-notify2 python-notify2
python-pycairo python-pycairo
python-pygobject python-pygobject
-1
View File
@@ -86,7 +86,6 @@
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
+28
View File
@@ -48,6 +48,34 @@
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#:use-module (ice-9 match)) #:use-module (ice-9 match))
(define-public fsviewer
(package
(name "fsviewer")
(version "0.2.7")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/roblillack/fsviewer")
(commit (string-append "v" version))))
(sha256
(base32
"067fvbq7b4lbnn1flmwf8lm0vq4n6qz5yz6hhab30l4gksfk51cg"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments (list #:tests? #f)) ;no tests
(inputs
(list windowmaker libxmu libxpm))
(native-inputs
(list pkg-config))
(home-page "https://github.com/roblillack/fsviewer")
(synopsis "File viewer for Window Maker")
(description "FSViewer is a NeXT FileViewer lookalike for Window
Maker supporting browser mode and list mode. This version is a fork of
FSViewer.app originally written by George Clernon (1998-99) and later
maintained by Guido Scholz (2002-07).")
(license license:gpl2)))
(define-public gnustep-make (define-public gnustep-make
(package (package
(name "gnustep-make") (name "gnustep-make")
-1
View File
@@ -29,7 +29,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
-1
View File
@@ -36,7 +36,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system r) #:use-module (guix build-system r)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
-46
View File
@@ -146,7 +146,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix download) #:use-module (guix download)
@@ -1265,51 +1264,6 @@ basic geometries.")
;; https://gitlab.com/inkscape/inkscape/issues/784). ;; https://gitlab.com/inkscape/inkscape/issues/784).
(license license:gpl3+))) (license license:gpl3+)))
(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 "))))
(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)))
(define-public pstoedit (define-public pstoedit
(package (package
(name "pstoedit") (name "pstoedit")
+31 -19
View File
@@ -35,7 +35,6 @@
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix utils) #:use-module (guix utils)
@@ -152,32 +151,46 @@ interfaces for other technical domains.")
(define-public python-graphviz (define-public python-graphviz
(package (package
(name "python-graphviz") (name "python-graphviz")
(version "0.20.3") (version "0.21")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "graphviz" version ".zip")) (method git-fetch)
(sha256 (uri (git-reference
(base32 (url "https://github.com/xflr6/graphviz")
"0pcjnnhprs1hb4r9jr7r4qjxc7lzsjlka8d5gcp3kym9ws0vrmh9")))) (commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "00hgh1ab54h2jhqnwn5vrggg0hqbwmjn0cx2a9nw4vi1wmijib53"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-flags
#~(list "--ignore=tests/backend/")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-pytest-options (add-after 'unpack 'patch-pytest-options
(lambda _ (lambda _
(substitute* "setup.cfg" (substitute* "pyproject.toml"
((".*doctest.*") "") ((".*--cov-report=term.*") ""))))
(("--cov.*") "")))) (add-before 'check 'pre-check
(replace 'check (lambda _
(lambda* (#:key tests? test-flags #:allow-other-keys) (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? (when tests?
(setenv "HOME" "/tmp") (invoke "pytest" "-v" "tests/backend/")))))))
(apply invoke "python" "run-tests.py" test-flags)))))))
(native-inputs (native-inputs
(list unzip (list graphviz
;; For tests.
graphviz
python-mock python-mock
python-pytest python-pytest
python-pytest-mock python-pytest-mock
@@ -246,7 +259,6 @@ layout algorithms.")
(list graphviz (list graphviz
python-defusedxml python-defusedxml
python-pytest python-pytest
python-pytest-cov
python-setuptools python-setuptools
python-typing-extensions)) python-typing-extensions))
(propagated-inputs (propagated-inputs
+12 -8
View File
@@ -71,7 +71,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system waf) #:use-module (guix build-system waf)
#:use-module (gnu packages) #:use-module (gnu packages)
@@ -1123,7 +1122,7 @@ application suites.")
(define-public gtk (define-public gtk
(package (package
(name "gtk") (name "gtk")
(version "4.20.3") (version "4.22.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@@ -1131,9 +1130,11 @@ application suites.")
(version-major+minor version) "/" (version-major+minor version) "/"
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 "0ly1gqc6ybxv5f2a9hvjp5k6l9mfzy2yv8iy2xqnr9l8628g4wr8")) (base32 "1z2mkmazc2d51jbg3qwwdycycqiwswm88nhw6bxscz8j86f5lyyd"))
(patches (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))))) (modules '((guix build utils)))))
(build-system meson-build-system) (build-system meson-build-system)
(outputs '("out" "bin" "doc")) (outputs '("out" "bin" "doc"))
@@ -1257,8 +1258,10 @@ application suites.")
(setenv "XDG_CACHE_HOME" (getcwd)))) (setenv "XDG_CACHE_HOME" (getcwd))))
(add-before 'check 'pre-check (add-before 'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
;; Tests require a running X server. ;; Tests require a running X server. The '-noreset' option is
(system "Xvfb :1 +extension GLX &") ;; necessary to avoid spurious "Failed to open display" test
;; errors.
(system "Xvfb :1 +extension GLX -screen 0 1024x768x24 -noreset &")
(setenv "DISPLAY" ":1") (setenv "DISPLAY" ":1")
;; Tests write to $HOME. ;; Tests write to $HOME.
(setenv "HOME" (getcwd)) (setenv "HOME" (getcwd))
@@ -1301,6 +1304,7 @@ application suites.")
docbook-xsl docbook-xsl
gettext-minimal gettext-minimal
`(,glib "bin") `(,glib "bin")
glibc-utf8-locales ;some tests require en_US.UTF-8
gobject-introspection ;for building introspection data gobject-introspection ;for building introspection data
graphene graphene
gtk-doc/stable ;for building documentation gtk-doc/stable ;for building documentation
@@ -1368,8 +1372,8 @@ application suites.")
(native-search-paths (native-search-paths
(list (list
(search-path-specification (search-path-specification
(variable "GUIX_GTK4_PATH") (variable "GUIX_GTK4_PATH")
(files '("lib/gtk-4.0"))))) (files '("lib/gtk-4.0")))))
(search-paths native-search-paths) (search-paths native-search-paths)
(home-page "https://www.gtk.org/") (home-page "https://www.gtk.org/")
(synopsis "Cross-platform widget toolkit") (synopsis "Cross-platform widget toolkit")
+2 -2
View File
@@ -5790,7 +5790,7 @@ processing filters.")
(define-public guile-pnm (define-public guile-pnm
(package (package
(name "guile-pnm") (name "guile-pnm")
(version "0.1.0") (version "0.2.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@@ -5799,7 +5799,7 @@ processing filters.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1yvsni4hll20g99zq4wl734f9i8gpjr1sqsnk3a93k2dd7b6ymac")))) (base32 "06kgp1gh8hdj1j6w7i981prx93wfjpayrnjlydlzs7l5j04l4m3a"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list (list
-1
View File
@@ -117,7 +117,6 @@
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
+153 -179
View File
@@ -96,13 +96,13 @@ library. It is primarily used with HLint's @code{--refactor} flag.")
(define-public cabal-install (define-public cabal-install
(package (package
(name "cabal-install") (name "cabal-install")
(version "3.12.1.0") (version "3.6.2.0")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "cabal-install" version))
(uri (hackage-uri "cabal-install" version)) (sha256
(sha256 (base32
(base32 "1cmifq189i4x0r0yha3dl8nrzzfh92bnd2saak7dqvvjkkysqj38")))) "0dihpm4h3xh13vnpvwflnb7v614qdvljycc6ffg5cvhwbwfrxyfw"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "cabal-install"))) (properties '((upstream-name . "cabal-install")))
(inputs (list ghc-async (inputs (list ghc-async
@@ -117,35 +117,13 @@ library. It is primarily used with HLint's @code{--refactor} flag.")
ghc-tar ghc-tar
ghc-zlib ghc-zlib
ghc-hackage-security ghc-hackage-security
ghc-open-browser
ghc-regex-base ghc-regex-base
ghc-regex-posix ghc-regex-posix
ghc-safe-exceptions
ghc-semaphore-compat
ghc-resolv ghc-resolv
ghc-lukko)) ghc-lukko))
(native-inputs (list ghc-tasty
ghc-tasty-golden
ghc-tasty-quickcheck
ghc-tasty-expected-failure
ghc-tasty-hunit
ghc-tree-diff
ghc-quickcheck
ghc-tasty
ghc-tasty-hunit
ghc-tasty
ghc-tasty-hunit
ghc-tagged
ghc-tagged
ghc-tasty
ghc-tasty-expected-failure
ghc-tasty-hunit
ghc-tasty-quickcheck
ghc-quickcheck
ghc-pretty-show))
(arguments (arguments
`(#:cabal-revision ("2" `(#:cabal-revision ("2"
"0fdzqdkg2vbyg0lnbk9bdskr2d23hwjpmnc7jnvpzkcmxmcvl99n"))) "1kpgyfl5njxp4c8ax5ziag1bhqvph3h0pn660v3vpxalz8d1j6xv")))
(home-page "https://www.haskell.org/cabal/") (home-page "https://www.haskell.org/cabal/")
(synopsis "Command-line interface for Cabal and Hackage") (synopsis "Command-line interface for Cabal and Hackage")
(description (description
@@ -167,10 +145,11 @@ installation of Haskell libraries and programs.")
"17wi7fma2qaqdm1hwgaam3fd140v9bpa8ky0wg708h1pqc5v2nbz")))) "17wi7fma2qaqdm1hwgaam3fd140v9bpa8ky0wg708h1pqc5v2nbz"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "cpphs"))) (properties '((upstream-name . "cpphs")))
(inputs (list ghc-polyparse)) (inputs
(list ghc-polyparse ghc-old-locale ghc-old-time))
(arguments (arguments
`(#:cabal-revision ("2" `(#:cabal-revision ("1"
"0vxav36p0kplp4dpd17i4cfzrsl3r437d840xwv83lf1bqp7mrxc"))) "1f8jzs8zdh4wwbcq8fy6qqxkv75ypnvsm4yzw49wpr3b9vpnzlha")))
(home-page "https://projects.haskell.org/cpphs/") (home-page "https://projects.haskell.org/cpphs/")
(synopsis "Liberalised re-implementation of cpp, the C pre-processor") (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
(description "Cpphs is a re-implementation of the C pre-processor that is (description "Cpphs is a re-implementation of the C pre-processor that is
@@ -290,18 +269,20 @@ unique algebra of patches called @url{http://darcs.net/Theory,Patchtheory}.
(define-public ghcid (define-public ghcid
(package (package
(name "ghcid") (name "ghcid")
(version "0.8.9") (version "0.8.7")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "ghcid" version)) (uri (hackage-uri "ghcid" version))
(sha256 (sha256
(base32 "1dq8lc0dwzib8y21279q4j54cmm7lvx64b3hw2yiym1kzi9rrhj4")))) (base32 "0yqc1pkfajnr56gnh43sbj50r7c3r41b2jfz07ivgl6phi4frjbq"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "ghcid"))) (properties '((upstream-name . "ghcid")))
(inputs (list ghc-extra ghc-ansi-terminal ghc-cmdargs ghc-fsnotify (inputs
ghc-terminal-size)) (list ghc-extra ghc-ansi-terminal ghc-cmdargs ghc-fsnotify
(native-inputs (list ghc-tasty ghc-tasty-hunit)) ghc-terminal-size))
(native-inputs
(list ghc-tasty ghc-tasty-hunit))
(home-page "https://github.com/ndmitchell/ghcid#readme") (home-page "https://github.com/ndmitchell/ghcid#readme")
(synopsis "GHCi based bare bones IDE") (synopsis "GHCi based bare bones IDE")
(description (description
@@ -423,97 +404,95 @@ to @code{cabal repl}).")
(string-append bin "/git-remote-annex")) (string-append bin "/git-remote-annex"))
(symlink (string-append bin "/git-annex") (symlink (string-append bin "/git-annex")
(string-append bin "/git-remote-tor-annex")))))))) (string-append bin "/git-remote-tor-annex"))))))))
(inputs (list ghc-network-uri (inputs
ghc-optparse-applicative (list curl
ghc-uuid ghc-aeson
ghc-data-default ghc-ansi-terminal
ghc-case-insensitive ghc-async
ghc-random ghc-attoparsec
ghc-dlist ghc-aws
ghc-unix-compat ghc-bloomfilter
ghc-safesemaphore ghc-byteable
ghc-async ghc-case-insensitive
ghc-disk-free-space ghc-clientsession
ghc-ifelse ghc-concurrent-output
ghc-monad-logger ghc-conduit
ghc-free ghc-connection
ghc-utf8-string ghc-crypto-api
ghc-sandi ghc-cryptonite
ghc-monad-control ghc-data-default
ghc-bloomfilter ghc-dav
ghc-edit-distance ghc-dbus
ghc-resourcet ghc-disk-free-space
ghc-http-client ghc-dlist
ghc-http-client-tls ghc-edit-distance
ghc-http-types ghc-exceptions
ghc-http-conduit ghc-fdo-notify
ghc-http-client-restricted ghc-feed
ghc-conduit ghc-filepath-bytestring
ghc-old-locale ghc-free
ghc-persistent-sqlite ghc-git-lfs
ghc-persistent ghc-hinotify
ghc-persistent-template ghc-http-client
ghc-unliftio-core ghc-http-client-tls
ghc-microlens ghc-http-client-restricted
ghc-aeson ghc-http-conduit
ghc-vector ghc-http-types
ghc-tagsoup ghc-ifelse
ghc-unordered-containers ghc-magic
ghc-feed ghc-memory
ghc-regex-tdfa ghc-microlens
ghc-socks ghc-monad-control
ghc-byteable ghc-monad-logger
ghc-stm-chans ghc-mountpoints
ghc-securemem ghc-network
ghc-crypto-api ghc-network-bsd
ghc-memory ghc-network-info
ghc-split ghc-network-multicast
ghc-attoparsec ghc-network-uri
ghc-concurrent-output ghc-old-locale
ghc-unbounded-delays ghc-optparse-applicative
ghc-quickcheck ghc-persistent
ghc-tasty ghc-persistent-sqlite
ghc-tasty-hunit ghc-persistent-template
ghc-tasty-quickcheck ghc-quickcheck
ghc-tasty-rerun ghc-random
ghc-ansi-terminal ghc-regex-tdfa
ghc-aws ghc-resourcet
ghc-dav ghc-safesemaphore
ghc-network ghc-sandi
ghc-network-bsd ghc-securemem
ghc-git-lfs ghc-servant-client
ghc-clock ghc-servant-server
ghc-crypton ghc-socks
ghc-servant ghc-split
ghc-servant-server ghc-stm-chans
ghc-servant-client ghc-tagsoup
ghc-servant-client-core ghc-torrent
ghc-warp ghc-transformers
ghc-warp-tls ghc-unbounded-delays
ghc-os-string ghc-unix-compat
ghc-file-io ghc-unliftio-core
ghc-mountpoints ghc-unordered-containers
ghc-yesod ghc-utf8-string
ghc-yesod-static ghc-uuid
ghc-yesod-form ghc-vector
ghc-yesod-core ghc-wai
ghc-path-pieces ghc-wai-extra
ghc-wai ghc-warp
ghc-wai-extra ghc-warp-tls
ghc-blaze-builder ghc-yesod
ghc-clientsession ghc-yesod-core
ghc-shakespeare ghc-yesod-form
ghc-hinotify ghc-yesod-static
ghc-dbus lsof
ghc-fdo-notify rsync
ghc-network-multicast xdg-utils))
ghc-network-info
ghc-torrent
ghc-magic
ghc-criterion))
(propagated-inputs (propagated-inputs
(list git)) (list git))
(native-inputs (list ghc-filepath-bytestring)) (native-inputs
(list ghc-tasty ghc-tasty-hunit ghc-tasty-quickcheck ghc-tasty-rerun
perl))
(home-page "https://git-annex.branchable.com/") (home-page "https://git-annex.branchable.com/")
(synopsis "Manage files with Git, without checking in their contents") (synopsis "Manage files with Git, without checking in their contents")
(description "This package allows managing files with Git, without (description "This package allows managing files with Git, without
@@ -534,13 +513,13 @@ used to keep a folder in sync between computers.")
(define-public hlint (define-public hlint
(package (package
(name "hlint") (name "hlint")
(version "3.10") (version "3.4.1")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "hlint" version))
(uri (hackage-uri "hlint" version)) (sha256
(sha256 (base32
(base32 "0dzy7spc45v88yplczhd3la464bhcbaihi619a45bd06ghrp55nr")))) "0bkk03c9hacvfd73dk89g4r81b50g7pjgw5pavldali4qwss34cz"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hlint"))) (properties '((upstream-name . "hlint")))
(inputs (list ghc-unordered-containers (inputs (list ghc-unordered-containers
@@ -557,10 +536,12 @@ used to keep a folder in sync between computers.")
ghc-aeson ghc-aeson
ghc-deriving-aeson ghc-deriving-aeson
ghc-filepattern ghc-filepattern
ghc-lib-parser
ghc-lib-parser-ex ghc-lib-parser-ex
hscolour hscolour
ghc-yaml)) ghc-yaml))
(arguments
`(#:cabal-revision ("1"
"1rdaffg5n179yfcn5zjwjb0bki09qy13gz2ijky455y9pbaz8yz9")))
(home-page "https://github.com/ndmitchell/hlint#readme") (home-page "https://github.com/ndmitchell/hlint#readme")
(synopsis "Suggest improvements for Haskell source code") (synopsis "Suggest improvements for Haskell source code")
(description (description
@@ -572,13 +553,13 @@ unwanted suggestions, and to add your own custom suggestions.")
(define-public hoogle (define-public hoogle
(package (package
(name "hoogle") (name "hoogle")
(version "5.0.18.4") (version "5.0.18.3")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "hoogle" version))
(uri (hackage-uri "hoogle" version)) (sha256
(sha256 (base32
(base32 "08z32d87vqzhapb2vw21h25jb2g74csxlpvd8f54xl91k3ijs3wx")))) "0v6k75w0an9pqgb7a6cicnpf9rz77xd2lmxfbafc5l4f99jg83bn"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hoogle"))) (properties '((upstream-name . "hoogle")))
(inputs (list ghc-quickcheck (inputs (list ghc-quickcheck
@@ -588,7 +569,7 @@ unwanted suggestions, and to add your own custom suggestions.")
ghc-cmdargs ghc-cmdargs
ghc-conduit ghc-conduit
ghc-conduit-extra ghc-conduit-extra
ghc-crypton-connection ghc-connection
ghc-extra ghc-extra
ghc-foundation ghc-foundation
ghc-old-locale ghc-old-locale
@@ -601,7 +582,6 @@ unwanted suggestions, and to add your own custom suggestions.")
ghc-mmap ghc-mmap
ghc-process-extras ghc-process-extras
ghc-resourcet ghc-resourcet
ghc-safe
ghc-storable-tuple ghc-storable-tuple
ghc-tar ghc-tar
ghc-uniplate ghc-uniplate
@@ -613,9 +593,6 @@ unwanted suggestions, and to add your own custom suggestions.")
ghc-warp-tls ghc-warp-tls
ghc-zlib ghc-zlib
ghc-semigroups)) ghc-semigroups))
(arguments
`(#:cabal-revision ("1"
"1129flhhb1992rijw46dclvmpqlylmbrzl4swsnk2knylx6jgw5a")))
(home-page "https://hoogle.haskell.org/") (home-page "https://hoogle.haskell.org/")
(synopsis "Haskell API Search") (synopsis "Haskell API Search")
(description (description
@@ -627,13 +604,14 @@ or by approximate type signature.")
(define-public hscolour (define-public hscolour
(package (package
(name "hscolour") (name "hscolour")
(version "1.25") (version "1.24.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "hscolour" version)) (uri (hackage-uri "hscolour" version))
(sha256 (sha256
(base32 "0z679khnmb6as1zcdb44n9qjk7in32jpm4ldscpqg7jrapd31kjl")))) (base32
"079jwph4bwllfp03yfr26s5zc6m6kw3nhb1cggrifh99haq34cr4"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hscolour"))) (properties '((upstream-name . "hscolour")))
(home-page "https://hackage.haskell.org/package/hscolour") (home-page "https://hackage.haskell.org/package/hscolour")
@@ -782,7 +760,7 @@ Wayland, and Linux console environments alike.")
ghc-text-zipper ghc-text-zipper
ghc-timezone-olson ghc-timezone-olson
ghc-timezone-series ghc-timezone-series
ghc-unix-compat ghc-unix-compat-7
ghc-unordered-containers ghc-unordered-containers
ghc-utf8-string ghc-utf8-string
ghc-uuid ghc-uuid
@@ -976,7 +954,6 @@ too slow and you'll get wound up in the scroll and crushed.")
(build-system haskell-build-system) (build-system haskell-build-system)
(arguments (arguments
(list #:haddock? #f ; TODO: Fails to build. (list #:haddock? #f ; TODO: Fails to build.
#:cabal-revision '("1" "1935jrzy1r3g9cc74b330fmxnz2i1j8hsdk9jnl557qgk6xjqzs7")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'build 'build-man-page (add-after 'build 'build-man-page
@@ -1016,13 +993,13 @@ advanced user's otherwise working script to fail under future circumstances.
(define-public shelltestrunner (define-public shelltestrunner
(package (package
(name "shelltestrunner") (name "shelltestrunner")
(version "1.10") (version "1.9")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "shelltestrunner" version))
(uri (hackage-uri "shelltestrunner" version)) (sha256
(sha256 (base32
(base32 "1c6bjyxqa4mgnh3w4pqp6sbr5cf160n7jf9i1b4b9sdxzdjk7g87")))) "1a5kzqbwg6990249ypw0cx6cqj6663as1kbj8nzblcky8j6kbi6b"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "shelltestrunner"))) (properties '((upstream-name . "shelltestrunner")))
(arguments (arguments
@@ -1045,19 +1022,17 @@ advanced user's otherwise working script to fail under future circumstances.
"tests/examples") "tests/examples")
(format #t "test suite not run~%")) (format #t "test suite not run~%"))
#t)))))) #t))))))
(inputs (list ghc-diff (inputs
ghc-filemanip (list ghc-diff
ghc-hunit ghc-cmdargs
ghc-cmdargs ghc-filemanip
ghc-pretty-show ghc-hunit
ghc-regex-tdfa ghc-pretty-show
ghc-safe ghc-regex-tdfa
ghc-test-framework ghc-safe
ghc-test-framework-hunit ghc-utf8-string
ghc-utf8-string ghc-test-framework
ghc-hspec ghc-test-framework-hunit))
ghc-hspec-core
ghc-hspec-contrib))
(home-page "https://github.com/simonmichael/shelltestrunner") (home-page "https://github.com/simonmichael/shelltestrunner")
(synopsis "Test CLI programs") (synopsis "Test CLI programs")
(description (description
@@ -1070,13 +1045,13 @@ output, stderr, and exit status.")
(define-public stylish-haskell (define-public stylish-haskell
(package (package
(name "stylish-haskell") (name "stylish-haskell")
(version "0.15.1.0") (version "0.14.3.0")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "stylish-haskell" version))
(uri (hackage-uri "stylish-haskell" version)) (sha256
(sha256 (base32
(base32 "06y6f7bv5j5k7q81194v9jqcbmmqcv7h8ii3lq1783bpfnyd6h19")))) "17w92v0qnwj7m6yqdq5cxbr04xiz0yfnnyx5q54218wdl7n5lf6d"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "stylish-haskell"))) (properties '((upstream-name . "stylish-haskell")))
(inputs (list ghc-aeson (inputs (list ghc-aeson
@@ -1086,7 +1061,6 @@ output, stderr, and exit status.")
ghc-hsyaml-aeson ghc-hsyaml-aeson
ghc-hsyaml ghc-hsyaml
ghc-semigroups ghc-semigroups
ghc-lib-parser
ghc-lib-parser-ex ghc-lib-parser-ex
ghc-strict ghc-strict
ghc-optparse-applicative)) ghc-optparse-applicative))
+283 -319
View File
@@ -45,18 +45,22 @@
(define-public ghc-tasty-ant-xml (define-public ghc-tasty-ant-xml
(package (package
(name "ghc-tasty-ant-xml") (name "ghc-tasty-ant-xml")
(version "1.1.9") (version "1.1.8")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "tasty-ant-xml" version)) (uri (hackage-uri "tasty-ant-xml" version))
(sha256 (sha256
(base32 "00zgsd6jjfwasr69d0y781vhjr7d8p1jbaaz4pn75ljf33akd92l")))) (base32
"0h9mllhw9cd0rn34xhj8grwmbny7z7hpd8qmp9lfcdj0s4qx9vx8"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-ant-xml"))) (properties '((upstream-name . "tasty-ant-xml")))
(inputs (list ghc-generic-deriving ghc-tagged ghc-tasty ghc-xml)) (inputs
(home-page "http://github.com/ocharles/tasty-ant-xml") (list ghc-generic-deriving ghc-xml ghc-tagged ghc-tasty))
(synopsis "Render tasty output to XML for Jenkins") (home-page
"https://github.com/ocharles/tasty-ant-xml")
(synopsis
"Render tasty output to XML for Jenkins")
(description (description
"A tasty ingredient to output test results in XML, using the Ant "A tasty ingredient to output test results in XML, using the Ant
schema. This XML can be consumed by the Jenkins continuous integration schema. This XML can be consumed by the Jenkins continuous integration
@@ -72,37 +76,33 @@ framework.")
(method url-fetch) (method url-fetch)
(uri (hackage-uri "tasty-smallcheck" version)) (uri (hackage-uri "tasty-smallcheck" version))
(sha256 (sha256
(base32 "0csgwn3vch0jnpqyyfnrfjq4z0dpl67imh5a7byll3hhlyidgjym")))) (base32
"0csgwn3vch0jnpqyyfnrfjq4z0dpl67imh5a7byll3hhlyidgjym"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-smallcheck"))) (properties '((upstream-name . "tasty-smallcheck")))
(inputs (list ghc-tasty ghc-smallcheck ghc-tagged ghc-optparse-applicative)) (inputs
(arguments (list ghc-tasty ghc-smallcheck ghc-async ghc-tagged))
`(#:cabal-revision ("1" (home-page "https://documentup.com/feuerbach/tasty")
"0033ha2w9rzc1rxpzh1dkfdrn256i5lvb41pqbdh2i6kli0v5vmh")))
(home-page "https://github.com/feuerbach/tasty")
(synopsis "SmallCheck support for the Tasty test framework") (synopsis "SmallCheck support for the Tasty test framework")
(description "This package provides SmallCheck support for the Tasty (description "This package provides SmallCheck support for the Tasty
Haskell test framework.") Haskell test framework.")
(license license:expat))) (license license:bsd-3)))
(define-public ghc-tasty-quickcheck (define-public ghc-tasty-quickcheck
(package (package
(name "ghc-tasty-quickcheck") (name "ghc-tasty-quickcheck")
(version "0.11.1") (version "0.10.2")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "tasty-quickcheck" version))
(uri (hackage-uri "tasty-quickcheck" version)) (sha256
(sha256 (base32
(base32 "0si4ccgqlv8h33d6310rrqba7f4pz3g8cinqfj42yd7damsdxm73")))) "1qnc6rdvjvlw08q6sln2n98rvj0s0pp689h6w4z58smjbn0lr25l"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-quickcheck"))) (properties '((upstream-name . "tasty-quickcheck")))
(inputs (list ghc-tagged ghc-tasty ghc-random ghc-quickcheck (inputs (list ghc-tagged ghc-tasty ghc-random ghc-quickcheck
ghc-optparse-applicative)) ghc-optparse-applicative))
(native-inputs (list ghc-regex-tdfa ghc-tasty-hunit)) (native-inputs (list ghc-tasty-hunit ghc-pcre-light))
(arguments
`(#:cabal-revision ("3"
"1wzvha4xam8npx5mk33c056grmrqnjd6m38nnm6d7y99w2mn1a7w")))
(home-page "https://github.com/UnkindPartition/tasty") (home-page "https://github.com/UnkindPartition/tasty")
(synopsis "QuickCheck support for the Tasty test framework") (synopsis "QuickCheck support for the Tasty test framework")
(description "This package provides QuickCheck support for the Tasty (description "This package provides QuickCheck support for the Tasty
@@ -140,23 +140,22 @@ contains the correct result for the test.")
(define-public ghc-tasty (define-public ghc-tasty
(package (package
(name "ghc-tasty") (name "ghc-tasty")
(version "1.5.3") (version "1.4.3")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "tasty" version))
(uri (hackage-uri "tasty" version)) (sha256
(sha256 (base32
(base32 "10076vlklbcyiz7plakrihava5sy3dvwhskjldqzhfl18jvcg82l")))) "006bf4gyc30i2gvb17hj1mzrh1kwnwf7l050x3f72wi6c2axl87l"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty"))) (properties '((upstream-name . "tasty")))
(inputs (inputs
(list ghc-tagged (append
ghc-optparse-applicative (list ghc-tagged ghc-optparse-applicative ghc-ansi-terminal)
ghc-ansi-terminal ;; TODO: Add ghc-unbounded-delays unconditionally on next rebuild cycle.
ghc-unbounded-delays)) ; needed on 32-bit architectures (if (member (%current-system) '("i686-linux"))
(arguments (list ghc-unbounded-delays)
`(#:cabal-revision ("2" '())))
"04llcf1i3gawdik0bjhxdgls2wkiqlx0gi76nfh784nv2qzxlpbb")))
(home-page "https://github.com/UnkindPartition/tasty") (home-page "https://github.com/UnkindPartition/tasty")
(synopsis "Modern and extensible testing framework") (synopsis "Modern and extensible testing framework")
(description (description
@@ -168,20 +167,17 @@ and any other types of tests into a single test suite.")
(define-public ghc-tasty-hedgehog (define-public ghc-tasty-hedgehog
(package (package
(name "ghc-tasty-hedgehog") (name "ghc-tasty-hedgehog")
(version "1.4.0.2") (version "1.3.1.0")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "tasty-hedgehog" version))
(uri (hackage-uri "tasty-hedgehog" version)) (sha256
(sha256 (base32
(base32 "0lki03z0p38x0dkqx5cqga30zy5m31gxn1saqylja9bi6bbq8d25")))) "1iq452mvd9wc9pfmjsmm848jwp3cvsk1faf2mlr21vcs0yaxvq3m"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-hedgehog"))) (properties '((upstream-name . "tasty-hedgehog")))
(inputs (list ghc-tagged ghc-tasty ghc-hedgehog)) (inputs (list ghc-tagged ghc-tasty ghc-hedgehog))
(native-inputs (list ghc-tasty-expected-failure)) (native-inputs (list ghc-tasty-expected-failure))
(arguments
`(#:cabal-revision ("6"
"1rb8ncp6xyy7jr6v0hyls9m529ba0djndsxgxmkgr52rk3qq8lrc")))
(home-page "https://github.com/qfpl/tasty-hedgehog") (home-page "https://github.com/qfpl/tasty-hedgehog")
(synopsis "Integration for tasty and hedgehog") (synopsis "Integration for tasty and hedgehog")
(description (description
@@ -194,25 +190,22 @@ framework}.")
(define-public ghc-tasty-hspec (define-public ghc-tasty-hspec
(package (package
(name "ghc-tasty-hspec") (name "ghc-tasty-hspec")
(version "1.2.0.4") (version "1.2.0.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "tasty-hspec" version)) (uri (hackage-uri "tasty-hspec" version))
(sha256 (sha256
(base32 "1hk1nkjvhp89xxgzj6dhbgw0fknnghpng6afq4i39hjkwv5p78ni")))) (base32 "0cfcpi25jmnmzfzsx364qsj68q6gyph5z112kl8ja222hnhhr2n2"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-hspec"))) (properties '((upstream-name . "tasty-hspec")))
(inputs (list ghc-hspec (inputs (list ghc-hspec
ghc-hspec-api
ghc-hspec-core ghc-hspec-core
ghc-quickcheck ghc-quickcheck
ghc-tasty ghc-tasty
ghc-tasty-smallcheck ghc-tasty-smallcheck
ghc-tasty-quickcheck)) ghc-tasty-quickcheck
(arguments ghc-tagged))
`(#:cabal-revision ("7"
"0s1y34i8g7fva0z10ws3ipcy2jmlvqk0v4hdbx8rqnby5n0l5kay")))
(home-page "https://github.com/mitchellwrosen/tasty-hspec") (home-page "https://github.com/mitchellwrosen/tasty-hspec")
(synopsis "Hspec support for the Tasty test framework") (synopsis "Hspec support for the Tasty test framework")
(description (description
@@ -222,17 +215,19 @@ framework}.")
(define-public ghc-tasty-hunit (define-public ghc-tasty-hunit
(package (package
(name "ghc-tasty-hunit") (name "ghc-tasty-hunit")
(version "0.10.2") (version "0.10.0.3")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "tasty-hunit" version)) (uri (hackage-uri "tasty-hunit" version))
(sha256 (sha256
(base32 "1xh33ss7dncm7zanzkzh7ywb3a46k7vkcbh6v8jb767gq6kizw2s")))) (base32
"0gz6zz3w7s44pymw33xcxnawryl27zk33766sab96nz2xh91kvxp"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-hunit"))) (properties '((upstream-name . "tasty-hunit")))
(inputs (list ghc-tasty ghc-call-stack-boot)) (inputs
(home-page "https://github.com/UnkindPartition/tasty") (list ghc-call-stack-boot ghc-tasty))
(home-page "http://documentup.com/feuerbach/tasty")
(synopsis "HUnit support for the Tasty test framework") (synopsis "HUnit support for the Tasty test framework")
(description "This package provides HUnit support for the Tasty Haskell (description "This package provides HUnit support for the Tasty Haskell
test framework.") test framework.")
@@ -262,13 +257,13 @@ tasty.")
(define-public ghc-tasty-lua (define-public ghc-tasty-lua
(package (package
(name "ghc-tasty-lua") (name "ghc-tasty-lua")
(version "1.1.1.1") (version "1.0.2")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "tasty-lua" version))
(uri (hackage-uri "tasty-lua" version)) (sha256
(sha256 (base32
(base32 "03b2n3gw2w70cnl57w3sh3cv5ka270sf07jlxpb4zs0z5gh83p1r")))) "1vnyvgcjsvqhwwyqkbgqksr9ppj5whiihpwcqkg33sl7jj3ysdwv"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-lua"))) (properties '((upstream-name . "tasty-lua")))
(inputs (list ghc-hslua-core (inputs (list ghc-hslua-core
@@ -293,15 +288,16 @@ from Lua.")
(method url-fetch) (method url-fetch)
(uri (hackage-uri "tasty-th" version)) (uri (hackage-uri "tasty-th" version))
(sha256 (sha256
(base32 "0b2ivrw2257m4cy4rjnkwqlarh83j1y3zywnmaqqqbvy667sqnj3")))) (base32
"0b2ivrw2257m4cy4rjnkwqlarh83j1y3zywnmaqqqbvy667sqnj3"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-th"))) (properties '((upstream-name . "tasty-th")))
(inputs (list ghc-haskell-src-exts ghc-tasty)) (inputs
(native-inputs (list ghc-tasty-hunit)) (list ghc-haskell-src-exts ghc-tasty ghc-tasty-hunit))
(home-page "https://github.com/bennofs/tasty-th") (home-page "https://github.com/bennofs/tasty-th")
(synopsis "Automatically generate tasty TestTrees") (synopsis "Automatically generate tasty TestTrees")
(description (description
"Tasty-th automatically generates tasty TestTrees from functions of the "Tasty-th automatically generates tasty TestTrees from functions of the
current module, using TemplateHaskell. This is a fork the original current module, using TemplateHaskell. This is a fork the original
test-framework-th package, modified to work with tasty instead of test-framework-th package, modified to work with tasty instead of
test-framework.") test-framework.")
@@ -310,27 +306,28 @@ test-framework.")
(define-public ghc-tasty-rerun (define-public ghc-tasty-rerun
(package (package
(name "ghc-tasty-rerun") (name "ghc-tasty-rerun")
(version "1.1.20") (version "1.1.18")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "tasty-rerun" version))
(uri (hackage-uri "tasty-rerun" version)) (sha256
(sha256 (base32
(base32 "0px58jm1yqbg32qf2s0yk09d2qdjxkkz9df89f31q3nzw85jv2ky")))) "0sccp5zx9v2rx741nbmgd8mzjhy5m4v74hk26d23xz93ph8aqx7s"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-rerun"))) (properties '((upstream-name . "tasty-rerun")))
(inputs (list ghc-optparse-applicative ghc-split ghc-tagged ghc-tasty)) (inputs
(list ghc-optparse-applicative ghc-reducers ghc-split ghc-tagged
ghc-tasty))
(arguments (arguments
`(#:cabal-revision ("1" `(#:cabal-revision ("3"
"13xmx91hp7i0qzrhada9ckliqkynwlwa8x6pjbvxjcy1y0qsd7hk"))) "0091arn90cx5rzn5n2bpb9alzybwraf9yj7hb0bwdfyamzpf3pkb")))
(home-page "https://github.com/ocharles/tasty-rerun") (home-page "https://github.com/ocharles/tasty-rerun")
(synopsis "Run tests by filtering the test tree") (synopsis "Run tests by filtering the test tree")
(description (description "This package adds the ability to run tests by filtering the
"This package adds the ability to run tests by filtering the
test tree based on the result of a previous test run. You can use this to run test tree based on the result of a previous test run. You can use this to run
only those tests that failed in the last run, or to only run the tests that have only those tests that failed in the last run, or to only run the tests that have
been added since previous test run.") been added since previous test run.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-tasty-expected-failure (define-public ghc-tasty-expected-failure
(package (package
@@ -365,17 +362,17 @@ development.")
(define-public ghc-quickcheck-instances (define-public ghc-quickcheck-instances
(package (package
(name "ghc-quickcheck-instances") (name "ghc-quickcheck-instances")
(version "0.3.33") (version "0.3.29.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "quickcheck-instances" version)) (uri (hackage-uri "quickcheck-instances" version))
(sha256 (sha256
(base32 "0rl8y3rb4fm4nqz122bp5f2aya4f8bc9m9i9n2vwlyq2gdacs0v8")))) (base32 "0jx2wfy7y5dr14s9i457g2aah4isjxry4mlbqhj7vlav6ib84gdj"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "quickcheck-instances"))) (properties '((upstream-name . "quickcheck-instances")))
(inputs (list ghc-quickcheck (inputs (list ghc-quickcheck
ghc-splitmix-bootstrap ghc-splitmix
ghc-case-insensitive ghc-case-insensitive
ghc-data-fix ghc-data-fix
ghc-hashable ghc-hashable
@@ -386,15 +383,17 @@ development.")
ghc-scientific ghc-scientific
ghc-strict ghc-strict
ghc-tagged ghc-tagged
ghc-text-short
ghc-these ghc-these
ghc-time-compat ghc-time-compat
ghc-transformers-compat
ghc-unordered-containers ghc-unordered-containers
ghc-uuid-types ghc-uuid-types
ghc-vector)) ghc-vector
ghc-data-array-byte
ghc-text-short))
(arguments (arguments
`(#:cabal-revision ("1" `(#:cabal-revision ("2"
"1xkc7rsfgya4rwiizh0yfincws3knpdnh08m280v1dgik4kv37vh"))) "118xy4z4dy4bpkzsp98daiv3l4n5j7ph9my0saca7cqjybqwkcip")))
(home-page "https://github.com/haskellari/qc-instances") (home-page "https://github.com/haskellari/qc-instances")
(synopsis "Common quickcheck instances") (synopsis "Common quickcheck instances")
(description "This package provides QuickCheck instances for types (description "This package provides QuickCheck instances for types
@@ -410,38 +409,17 @@ provided by the Haskell Platform.")
(method url-fetch) (method url-fetch)
(uri (hackage-uri "quickcheck-unicode" version)) (uri (hackage-uri "quickcheck-unicode" version))
(sha256 (sha256
(base32 "0s43s1bzbg3gwsjgm7fpyksd1339f0m26dlw2famxwyzgvm0a80k")))) (base32
"0s43s1bzbg3gwsjgm7fpyksd1339f0m26dlw2famxwyzgvm0a80k"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "quickcheck-unicode"))) (properties '((upstream-name . "quickcheck-unicode")))
(inputs (list ghc-quickcheck)) (inputs (list ghc-quickcheck))
(home-page "https://github.com/bos/quickcheck-unicode") (home-page
"https://github.com/bos/quickcheck-unicode")
(synopsis "Generator functions Unicode-related tests") (synopsis "Generator functions Unicode-related tests")
(description "This package provides generator and shrink functions for (description "This package provides generator and shrink functions for
testing Unicode-related software.") testing Unicode-related software.")
(license license:bsd-2))) (license license:bsd-3)))
(define-public ghc-quickcheck-text
(package
(name "ghc-quickcheck-text")
(version "0.1.2.1")
(source
(origin
(method url-fetch)
(uri (hackage-uri "quickcheck-text" version))
(sha256
(base32 "02dbs0k6igmsa1hcw8yfvp09v7038vp4zlsp9706km3cmswgshj4"))))
(build-system haskell-build-system)
(properties '((upstream-name . "quickcheck-text")))
(inputs (list ghc-quickcheck))
(home-page "https://github.com/olorin/quickcheck-text")
(synopsis "Alternative arbitrary instance for Text")
(description
"The usual Arbitrary instance for Text (in
<https://hackage.haskell.org/package/quickcheck-instances quickcheck-instances>)
only has single-byte instances and so isn't an ideal representation of a valid
UTF-8 character. This package has generators for one-, two- and three-byte
UTF-8 characters (all that are currently in use).")
(license license:expat)))
(define-public ghc-quickcheck-io (define-public ghc-quickcheck-io
(package (package
@@ -468,19 +446,17 @@ use HUnit assertions as QuickCheck properties.")
(define-public ghc-quickcheck (define-public ghc-quickcheck
(package (package
(name "ghc-quickcheck") (name "ghc-quickcheck")
(version "2.15.0.1") (version "2.14.3")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "QuickCheck" version)) (uri (hackage-uri "QuickCheck" version))
(sha256 (sha256
(base32 "0zvfydg44ibs1br522rzvdlxj9mpz0h62js1hay1sj5gvdnj3cm3")))) (base32 "0085lwy14r7hk7ibmv8d7d54ja9zin0ijf0b27xai898dfrj43sw"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "QuickCheck"))) (properties '((upstream-name . "QuickCheck")))
(inputs (list ghc-random-bootstrap ghc-splitmix-bootstrap)) (inputs
(arguments (list ghc-random ghc-splitmix-bootstrap))
`(#:cabal-revision ("1"
"0cgfp4s51cjphsn9cls6rndisvqmi94vn95xan9g1yz6p5xk7z8c")))
(home-page "https://github.com/nick8325/quickcheck") (home-page "https://github.com/nick8325/quickcheck")
(synopsis "Automatic testing of Haskell programs") (synopsis "Automatic testing of Haskell programs")
(description (description
@@ -503,8 +479,10 @@ expressed in Haskell, using combinators defined in the QuickCheck library.")
(base32 "1kyam4cy7qmnizjwjm8jamq43w7f0fs6ljfplwj0ib6wi2kjh0wv")))) (base32 "1kyam4cy7qmnizjwjm8jamq43w7f0fs6ljfplwj0ib6wi2kjh0wv"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "quickcheck-assertions"))) (properties '((upstream-name . "quickcheck-assertions")))
(inputs (list ghc-quickcheck ghc-ieee754 ghc-pretty-show)) (native-inputs
(native-inputs (list ghc-hspec)) (list ghc-hspec))
(inputs
(list ghc-ieee754 ghc-pretty-show ghc-quickcheck))
(home-page "https://github.com/s9gf4ult/quickcheck-assertions") (home-page "https://github.com/s9gf4ult/quickcheck-assertions")
(synopsis "HUnit-like assertions for QuickCheck") (synopsis "HUnit-like assertions for QuickCheck")
(description (description
@@ -516,27 +494,33 @@ HUnit.")
(define-public ghc-test-framework (define-public ghc-test-framework
(package (package
(name "ghc-test-framework") (name "ghc-test-framework")
(version "0.8.2.2") (version "0.8.2.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "test-framework" version)) (uri (hackage-uri "test-framework" version))
(sha256 (sha256
(base32 "04ijf5x6xx8i5lqv9ir33zs1rfzc4qkwwz8c1fdycnzvydcv4dnp")))) (base32
"1hhacrzam6b8f10hyldmjw8pb7frdxh04rfg3farxcxwbnhwgbpm"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "test-framework"))) (properties '((upstream-name . "test-framework")))
(inputs (list ghc-ansi-terminal
ghc-ansi-wl-pprint
ghc-random
ghc-regex-posix
ghc-old-locale
ghc-xml
ghc-hostname))
(native-inputs (list ghc-hunit ghc-quickcheck ghc-semigroups-bootstrap))
(arguments (arguments
`(#:cabal-revision ("1" `(#:tests? #f ; FIXME: Tests do not build.
"1yv1qsr6bxphxk9430id9bqhfmkffdqmfg0k017dp9pnn4pqj0zh"))) #:cabal-revision
(home-page "https://github.com/haskell/test-framework#readme") ("6" "0wbq9wiaag69nsqxwijzhs5y1hb9kbpkp1x65dvx158cxp8i9w9r")))
;(native-inputs
; (list ghc-hunit ghc-quickcheck))
(inputs
`(("ghc-ansi-terminal" ,ghc-ansi-terminal)
("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
("ghc-hostname" ,ghc-hostname)
("ghc-old-locale" ,ghc-old-locale)
("ghc-random" ,ghc-random)
("ghc-regex-posix" ,ghc-regex-posix)
("ghc-xml" ,ghc-xml)
("ghc-libxml" ,ghc-libxml)
("ghc-semigroups" ,ghc-semigroups-bootstrap)))
(home-page "https://batterseapower.github.io/test-framework/")
(synopsis "Framework for running and organising tests") (synopsis "Framework for running and organising tests")
(description (description
"This package allows tests such as QuickCheck properties and HUnit test "This package allows tests such as QuickCheck properties and HUnit test
@@ -573,21 +557,23 @@ reporting and test statistics output.")
(define-public ghc-test-framework-quickcheck2 (define-public ghc-test-framework-quickcheck2
(package (package
(name "ghc-test-framework-quickcheck2") (name "ghc-test-framework-quickcheck2")
(version "0.3.0.6") (version "0.3.0.5")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "test-framework-quickcheck2" version)) (uri (hackage-uri "test-framework-quickcheck2" version))
(sha256 (sha256
(base32 "1d0w2q9sm8aayk0aj1zr2irpnqwpzixn6pdfq1i904vs1kkb2xin")))) (base32
"0ngf9vvby4nrdf1i7dxf5m9jn0g2pkq32w48xdr92n9hxka7ixn9"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "test-framework-quickcheck2"))) (properties '((upstream-name . "test-framework-quickcheck2")))
(inputs (list ghc-test-framework ghc-quickcheck ghc-extensible-exceptions
ghc-random))
(arguments (arguments
`(#:cabal-revision ("1" `(#:cabal-revision
"1af2gw9gvq143jdqmsnxj23cgss9ffdyr67951a5x151aps04y7z"))) ("3" "0mglqfimla4vvv80mg08aj76zf4993wmngqlirh05h8i9nmgv6lh")))
(home-page "https://github.com/haskell/test-framework") (inputs
(list ghc-extensible-exceptions ghc-quickcheck ghc-random
ghc-test-framework))
(home-page "https://batterseapower.github.io/test-framework/")
(synopsis "QuickCheck2 support for test-framework") (synopsis "QuickCheck2 support for test-framework")
(description (description
"This package provides QuickCheck2 support for the test-framework "This package provides QuickCheck2 support for the test-framework
@@ -606,8 +592,9 @@ package.")
(base32 "1xpgpk1gp4w7w46b4rhj80fa0bcyz8asj2dcjb5x1c37b7rw90b0")))) (base32 "1xpgpk1gp4w7w46b4rhj80fa0bcyz8asj2dcjb5x1c37b7rw90b0"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "test-framework-smallcheck"))) (properties '((upstream-name . "test-framework-smallcheck")))
(inputs (list ghc-test-framework ghc-smallcheck)) (inputs
(home-page "https://github.com/feuerbach/smallcheck") (list ghc-smallcheck ghc-test-framework))
(home-page "https://github.com/Bodigrim/smallcheck")
(synopsis "SmallCheck support for test-framework") (synopsis "SmallCheck support for test-framework")
(description (description
"This package lets programmers use SmallCheck properties in Haskell's "This package lets programmers use SmallCheck properties in Haskell's
@@ -673,17 +660,17 @@ JUnit tool for Java.")
(define-public hspec-discover (define-public hspec-discover
(package (package
(name "hspec-discover") (name "hspec-discover")
(version "2.11.12") (version "2.9.7")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "hspec-discover" version))
(uri (hackage-uri "hspec-discover" version)) (sha256
(sha256 (base32
(base32 "044vgsy45ff00h9z2k3jgn2m37npcjiacc4cifahrjlmwa7a7ylp")))) "0536kdxjw6p8b6gcwvmr22jbmb6cgzbddi0fkd01b2m847z37sb5"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hspec-discover"))) (properties '((upstream-name . "hspec-discover")))
(native-inputs (list ghc-quickcheck ghc-hspec-meta ghc-mockery-bootstrap)) (native-inputs (list ghc-quickcheck ghc-hspec-meta ghc-mockery-bootstrap))
(home-page "https://hspec.github.io/") (home-page "http://hspec.github.io/")
(synopsis "Automatically discover and run Hspec tests") (synopsis "Automatically discover and run Hspec tests")
(description "hspec-discover is a tool which automatically discovers and (description "hspec-discover is a tool which automatically discovers and
runs Hspec tests.") runs Hspec tests.")
@@ -692,30 +679,28 @@ runs Hspec tests.")
(define-public ghc-hspec-core (define-public ghc-hspec-core
(package (package
(name "ghc-hspec-core") (name "ghc-hspec-core")
(version "2.11.12") (version "2.9.7")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "hspec-core" version))
(uri (hackage-uri "hspec-core" version)) (sha256
(sha256 (base32
(base32 "030400w95775jrivbi7n1nnx6j5z717rqd3986ggklb8h9hjalfc")))) "040rzqiqwkp373jjpij8lkmv08pp2ya92zzcf95bw8px215rp08n"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hspec-core"))) (properties '((upstream-name . "hspec-core")))
(inputs (list ghc-hunit (inputs (list ghc-hunit
ghc-quickcheck ghc-quickcheck
ghc-ansi-terminal ghc-ansi-terminal
ghc-call-stack ghc-call-stack
ghc-haskell-lexer ghc-clock
ghc-hspec-expectations ghc-hspec-expectations
ghc-quickcheck-io ghc-quickcheck-io
ghc-random ghc-random
ghc-setenv
ghc-tf-random)) ghc-tf-random))
(native-inputs (list ghc-base-orphans-bootstrap ghc-hspec-meta (native-inputs (list ghc-base-orphans-bootstrap ghc-hspec-meta
ghc-silently-bootstrap ghc-temporary-bootstrap)) ghc-silently-bootstrap ghc-temporary))
(arguments (home-page "http://hspec.github.io/")
`(#:cabal-revision ("1"
"0yq9nnawcgbgxiz4ymfa8k66jrvgrhmv8j7g880x8k6q8q4ncqlq")))
(home-page "https://hspec.github.io/")
(synopsis "Testing framework for Haskell") (synopsis "Testing framework for Haskell")
(description "This library exposes internal types and functions that can (description "This library exposes internal types and functions that can
be used to extend Hspec's functionality.") be used to extend Hspec's functionality.")
@@ -724,28 +709,23 @@ be used to extend Hspec's functionality.")
(define-public ghc-hspec-meta (define-public ghc-hspec-meta
(package (package
(name "ghc-hspec-meta") (name "ghc-hspec-meta")
(version "2.11.12") (version "2.9.3")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "hspec-meta" version))
(uri (hackage-uri "hspec-meta" version)) (sha256
(sha256 (base32
(base32 "1612pg5gihqjxrzqqvbbgckaqiwq3rmz3rg07lrjhzklg975nj69")))) "1raxwpsmcijl3x2h5naw6aydhbiknxvhj3x7v384bi1rqi51ainm"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hspec-meta"))) (properties '((upstream-name . "hspec-meta")))
(inputs (list ghc-hunit (inputs (list ghc-quickcheck
ghc-quickcheck
ghc-ansi-terminal ghc-ansi-terminal
ghc-call-stack-boot ghc-call-stack-boot
ghc-haskell-lexer ghc-clock
ghc-hspec-expectations
ghc-quickcheck-io ghc-quickcheck-io
ghc-random ghc-random
ghc-tf-random)) ghc-setenv))
(arguments (home-page "http://hspec.github.io/")
`(#:cabal-revision ("2"
"1jrk14s51psb0zjici56220iyb98i3q06sd3rsyx594s3cddgn5d")))
(home-page "https://hspec.github.io/")
(synopsis "Version of Hspec to test Hspec itself") (synopsis "Version of Hspec to test Hspec itself")
(description "This library provides a stable version of Hspec which is (description "This library provides a stable version of Hspec which is
used to test the in-development version of Hspec.") used to test the in-development version of Hspec.")
@@ -754,58 +734,38 @@ used to test the in-development version of Hspec.")
(define-public ghc-hspec (define-public ghc-hspec
(package (package
(name "ghc-hspec") (name "ghc-hspec")
(version "2.11.12") (version "2.9.7")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "hspec" version))
(uri (hackage-uri "hspec" version)) (sha256
(sha256 (base32
(base32 "1zdgkn0gkcphcsfqcqwcfqiqvkz12ljks46v3czpaysndz8icfip")))) "092sfqjkargxxszp9jjqa8ldjz0xv34jwn6k21q59ys5ckvsrpc1"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hspec"))) (properties '((upstream-name . "hspec")))
(inputs (list ghc-quickcheck ghc-hspec-core hspec-discover (inputs (list ghc-quickcheck ghc-hspec-core hspec-discover
ghc-hspec-expectations)) ghc-hspec-expectations))
(home-page "https://hspec.github.io/") (home-page "http://hspec.github.io/")
(synopsis "Testing Framework for Haskell") (synopsis "Testing Framework for Haskell")
(description "This library provides the Hspec testing framework for (description "This library provides the Hspec testing framework for
Haskell, inspired by the Ruby library RSpec.") Haskell, inspired by the Ruby library RSpec.")
(license license:expat))) (license license:expat)))
(define-public ghc-hspec-api
(package
(name "ghc-hspec-api")
(version "2.11.12")
(source
(origin
(method url-fetch)
(uri (hackage-uri "hspec-api" version))
(sha256
(base32 "1xn2b2hafyq6qm3zaia9nw27ir4cg8v2qn499bz2zwnp2vkjra07"))))
(build-system haskell-build-system)
(properties '((upstream-name . "hspec-api")))
(inputs (list ghc-hspec-core))
(native-inputs (list ghc-hspec))
(home-page "https://hspec.github.io/")
(synopsis "A Testing Framework for Haskell")
(description
"This package provides a stable API that can be used to extend Hspec's
functionality.")
(license license:expat)))
(define-public ghc-hspec-contrib (define-public ghc-hspec-contrib
(package (package
(name "ghc-hspec-contrib") (name "ghc-hspec-contrib")
(version "0.5.2") (version "0.5.1.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "hspec-contrib" version)) (uri (hackage-uri "hspec-contrib" version))
(sha256 (sha256
(base32 "0002xzvyh790iwf1y33d4nflrbp5sxvpsp010srcfryf1n3qx2b0")))) (base32 "1nyb5n2jiq920yyf3flzyxrs5xpfyppl3jn18zhviyysjjk5drpx"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hspec-contrib"))) (properties '((upstream-name . "hspec-contrib")))
(inputs (list ghc-hunit ghc-call-stack ghc-hspec-core)) (inputs (list ghc-hunit ghc-call-stack ghc-hspec-core))
(native-inputs (list ghc-quickcheck ghc-hspec hspec-discover)) (native-inputs (list ghc-quickcheck ghc-hspec hspec-discover))
(arguments (list #:tests? #f)) ; Fail to build.
(home-page "https://hspec.github.io/") (home-page "https://hspec.github.io/")
(synopsis "Contributed functionality for Hspec") (synopsis "Contributed functionality for Hspec")
(description "This package provides contributed Hspec extensions.") (description "This package provides contributed Hspec extensions.")
@@ -814,25 +774,22 @@ functionality.")
(define-public ghc-hspec-expectations (define-public ghc-hspec-expectations
(package (package
(name "ghc-hspec-expectations") (name "ghc-hspec-expectations")
(version "0.8.4") (version "0.8.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "hspec-expectations" version)) (uri (hackage-uri "hspec-expectations" version))
(sha256 (sha256
(base32 "1zr1pqchcwglfr5dvcrgc1l5x924n9w09n2zr68dmkqf4dzdx3bv")))) (base32
"1vxl9zazbaapijr6zmcj72j9wf7ka1pirrjbwddwwddg3zm0g5l1"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hspec-expectations"))) (properties '((upstream-name . "hspec-expectations")))
(inputs (list ghc-hunit ghc-call-stack))
(arguments
;; Tests depend on ghc-nanospec. ;; Tests depend on ghc-nanospec.
`(#:tests? #f (arguments '(#:tests? #f))
#:cabal-revision ("2" (inputs (list ghc-hunit))
"14zzsjqcz1zbnvi50i82lx84nc8b5da7ar5cazzh44lklyag0ds2"))) (home-page "https://github.com/sol/hspec-expectations")
(home-page "https://github.com/hspec/hspec-expectations#readme")
(synopsis "Catchy combinators for HUnit") (synopsis "Catchy combinators for HUnit")
(description (description "This library provides catchy combinators for HUnit, see
"This library provides catchy combinators for HUnit, see
@uref{https://github.com/sol/hspec-expectations#readme, the README}.") @uref{https://github.com/sol/hspec-expectations#readme, the README}.")
(license license:expat))) (license license:expat)))
@@ -897,13 +854,13 @@ implementations of cryptographic ciphers.")
(define-public ghc-hedgehog (define-public ghc-hedgehog
(package (package
(name "ghc-hedgehog") (name "ghc-hedgehog")
(version "1.5") (version "1.1.2")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "hedgehog" version))
(uri (hackage-uri "hedgehog" version)) (sha256
(sha256 (base32
(base32 "0sl6x9q9kyrpv73565w9na9dm10wzxdl0qgiraqarffynfgn0hg9")))) "0dbk75hk6hqpzkjdlpw3s63qhm42kqigij33p321by6xndb59jg1"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "hedgehog"))) (properties '((upstream-name . "hedgehog")))
(inputs (list ghc-ansi-terminal (inputs (list ghc-ansi-terminal
@@ -918,12 +875,8 @@ implementations of cryptographic ciphers.")
ghc-primitive ghc-primitive
ghc-random ghc-random
ghc-resourcet ghc-resourcet
ghc-safe-exceptions
ghc-transformers-base ghc-transformers-base
ghc-wl-pprint-annotated)) ghc-wl-pprint-annotated))
(arguments
`(#:cabal-revision ("2"
"1m0b9m8dw5nw4b3w1jbp5fd0b0kqlyvvy3qsfxc7md77iafxq169")))
(home-page "https://hedgehog.qa") (home-page "https://hedgehog.qa")
(synopsis "Property-based testing in the spirt of QuickCheck") (synopsis "Property-based testing in the spirt of QuickCheck")
(description (description
@@ -939,16 +892,26 @@ To get started quickly, see the examples:
(define-public cabal-doctest (define-public cabal-doctest
(package (package
(name "cabal-doctest") (name "cabal-doctest")
(version "1.0.11") (version "1.0.9")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "cabal-doctest" version))
(uri (hackage-uri "cabal-doctest" version)) (sha256
(sha256 (base32
(base32 "0gwjpwv2v7c7gs2dvf7ixsxx6likmgw5yi0fy4bqc0i7nkqg4bfw")))) "0wxs0xkspc80h0g8ks792lrzldxvcnhc9rja1j0k678ijs20hmjm"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "cabal-doctest"))) (properties '((upstream-name . "cabal-doctest")))
(home-page "https://github.com/ulidtko/cabal-doctest") (arguments
`(#:cabal-revision ("2"
"0868js0qgfhvmyw4hjzrvmlzyqsm8dfsbmqhybxb90x44xi3r0i1")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'update-constraints
(lambda _
(substitute* "cabal-doctest.cabal"
(("\\b(Cabal|base)\\s+[^,]+" all dep)
dep)))))))
(home-page "https://github.com/haskellari/cabal-doctest")
(synopsis "Setup.hs helper for running doctests") (synopsis "Setup.hs helper for running doctests")
(description (description
"To properly work, the @code{doctest} package needs plenty of "To properly work, the @code{doctest} package needs plenty of
@@ -1008,13 +971,13 @@ random testing, and hybrids of the two.")
(define-public ghc-inspection-testing (define-public ghc-inspection-testing
(package (package
(name "ghc-inspection-testing") (name "ghc-inspection-testing")
(version "0.6.2") (version "0.4.6.1")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "inspection-testing" version))
(uri (hackage-uri "inspection-testing" version)) (sha256
(sha256 (base32
(base32 "0zi1q86sd9jy5dpqfs2j71acdl7kvik0ps78xirpdhyldhwwyqws")))) "0mxff0v3ciccbk4b8kxnh4752fzbwn7213qd8xji0csv6gi2w83y"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "inspection-testing"))) (properties '((upstream-name . "inspection-testing")))
(home-page "https://github.com/nomeata/inspection-testing") (home-page "https://github.com/nomeata/inspection-testing")
@@ -1047,33 +1010,33 @@ examples and more information.")
(name "ghc-quickcheck-classes") (name "ghc-quickcheck-classes")
(version "0.6.5.0") (version "0.6.5.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "quickcheck-classes" version)) (uri (hackage-uri "quickcheck-classes" version))
(sha256 (sha256
(base32 "19iw15mvb7gws3ljdxqwsbb4pmfc0sfflf8szgmrhiqr3k82mqv2")))) (base32 "19iw15mvb7gws3ljdxqwsbb4pmfc0sfflf8szgmrhiqr3k82mqv2"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "quickcheck-classes"))) (properties '((upstream-name . "quickcheck-classes")))
(inputs (list ghc-quickcheck (inputs
ghc-primitive (list ghc-quickcheck
ghc-primitive-addr ghc-primitive
ghc-quickcheck-classes-base ghc-primitive-addr
ghc-semigroups-bootstrap ghc-quickcheck-classes-base
ghc-fail ghc-aeson
ghc-tagged ghc-semigroupoids
ghc-aeson ghc-semirings
ghc-semigroupoids ghc-vector))
ghc-semirings (native-inputs
ghc-vector)) (list ghc-base-orphans
(native-inputs (list ghc-base-orphans ghc-base-orphans ghc-tasty ghc-tagged
ghc-tasty-quickcheck)) ghc-base-orphans
(arguments ghc-tagged
`(#:cabal-revision ("3" ghc-tasty
"1pawam5rsdcdv21fqc87khzqjm0ixwzklfxd6gk3b2qrr5q66bn5"))) ghc-tasty-quickcheck))
(home-page "https://github.com/andrewthad/quickcheck-classes#readme") (home-page "https://github.com/andrewthad/quickcheck-classes#readme")
(synopsis "QuickCheck common typeclasses") (synopsis "QuickCheck common typeclasses")
(description (description
"This library provides QuickCheck properties to ensure that typeclass "This library provides QuickCheck properties to ensure that typeclass
instances adhere to the set of laws that they are supposed to. There are instances adhere to the set of laws that they are supposed to. There are
other libraries that do similar things, such as @code{genvalidity-hspec} and other libraries that do similar things, such as @code{genvalidity-hspec} and
@code{checkers}. This library differs from other solutions by not introducing @code{checkers}. This library differs from other solutions by not introducing
@@ -1089,26 +1052,24 @@ constraints more cleanly.")
(name "ghc-quickcheck-classes-base") (name "ghc-quickcheck-classes-base")
(version "0.6.2.0") (version "0.6.2.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "quickcheck-classes-base" version)) (uri (hackage-uri "quickcheck-classes-base" version))
(sha256 (sha256
(base32 "16c6gq4cqpkwnq1pzkhm6r7mrwk4an50ha5w77bmiia2qkhla6ch")))) (base32 "16c6gq4cqpkwnq1pzkhm6r7mrwk4an50ha5w77bmiia2qkhla6ch"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "quickcheck-classes-base"))) (properties '((upstream-name . "quickcheck-classes-base")))
(inputs (list ghc-quickcheck (inputs
ghc-contravariant (list ghc-quickcheck
ghc-bifunctors ghc-contravariant
ghc-semigroups-bootstrap ghc-bifunctors
ghc-fail ghc-semigroups
ghc-tagged)) ghc-fail
(arguments ghc-tagged))
`(#:cabal-revision ("1"
"1p3v38jhpx0r6rnvaspkkivl8xyq2mq4xnmycgmkj1gr77vplkdr")))
(home-page "https://github.com/andrewthad/quickcheck-classes#readme") (home-page "https://github.com/andrewthad/quickcheck-classes#readme")
(synopsis "QuickCheck common typeclasses from `base`") (synopsis "QuickCheck common typeclasses from `base`")
(description (description
"This library is a minimal variant of `quickcheck-classes` that only "This library is a minimal variant of `quickcheck-classes` that only
provides laws for typeclasses from `base`. The main purpose of splitting this provides laws for typeclasses from `base`. The main purpose of splitting this
out is so that `primitive` can depend on `quickcheck-classes-base` in its test out is so that `primitive` can depend on `quickcheck-classes-base` in its test
suite, avoiding the circular dependency that arises if `quickcheck-classes` is suite, avoiding the circular dependency that arises if `quickcheck-classes` is
@@ -1126,61 +1087,67 @@ this library uses the higher-kinded typeclasses
(define-public ghc-doctest-lib (define-public ghc-doctest-lib
(package (package
(name "ghc-doctest-lib") (name "ghc-doctest-lib")
(version "0.1.1.1") (version "0.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "doctest-lib" version)) (uri (hackage-uri "doctest-lib" version))
(sha256 (sha256
(base32 "1hb3zx1xzib3v41blnwcbhc2v0rzwdzq7gm4sajqndimwjkkxc67")))) (base32 "1vswam0dhw52dihgnzirh18gqs8rj8h6jd7pl6y1mg2f9f9zmih2"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "doctest-lib"))) (properties '((upstream-name . "doctest-lib")))
(home-page "https://hub.darcs.net/thielema/doctest-lib/") (home-page "https://hub.darcs.net/thielema/doctest-lib/")
(synopsis "Parts of doctest exposed as library") (synopsis "Parts of doctest exposed as library")
(description (description
"Parts of doctest exposed as library. For use with the doctest-extract utility.") "Parts of doctest exposed as library. For use with the doctest-extract utility.")
(license license:expat))) (license license:expat)))
(define-public ghc-doctest-exitcode-stdio (define-public ghc-doctest-exitcode-stdio
(package (package
(name "ghc-doctest-exitcode-stdio") (name "ghc-doctest-exitcode-stdio")
(version "0.0.0.1") (version "0.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "doctest-exitcode-stdio" version)) (uri (hackage-uri "doctest-exitcode-stdio" version))
(sha256 (sha256
(base32 "0kg5xiw4giyvqpcj6cxqqnysvixhxlwm0pbg3qks8dzwb5w79dvk")))) (base32 "1g3c7yrqq2mwqbmvs8vkx1a3cf0p0x74b7fnn344dsk7bsfpgv0x"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "doctest-exitcode-stdio"))) (properties '((upstream-name . "doctest-exitcode-stdio")))
(inputs (list ghc-doctest-lib ghc-quickcheck ghc-semigroups)) (inputs
(list ghc-doctest-lib ghc-quickcheck ghc-semigroups))
(arguments
`(#:cabal-revision ("1"
"1065s8bch6zhl6mc8nhvfpwd1irmjd04z7xgycbpihc14x4ijim3")))
(home-page "https://hub.darcs.net/thielema/doctest-exitcode-stdio/") (home-page "https://hub.darcs.net/thielema/doctest-exitcode-stdio/")
(synopsis "Run Doctests in a @code{Cabal.Test.exitcode-stdio} environment") (synopsis "Run Doctests in a @code{Cabal.Test.exitcode-stdio} environment")
(description (description
"This package allows on to run Doctests in a Cabal.Test.exitcode-stdio "This package allows on to run Doctests in a Cabal.Test.exitcode-stdio
environment.") environment.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-tasty-silver (define-public ghc-tasty-silver
(package (package
(name "ghc-tasty-silver") (name "ghc-tasty-silver")
(version "3.3.2.1") (version "3.3.1.1")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "tasty-silver" version))
(uri (hackage-uri "tasty-silver" version)) (sha256
(sha256 (base32
(base32 "01w3576kymglcddinh10m1wgy71dia49k2pnw5y1c97jjrhanf17")))) "13j0zs0ciijv9q2nncna1gbgsgw2g7xc228hzmqic1750n3ybz9m"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-silver"))) (properties '((upstream-name . "tasty-silver")))
(inputs (list ghc-ansi-terminal (inputs (list ghc-ansi-terminal
ghc-async
ghc-optparse-applicative ghc-optparse-applicative
ghc-process-extras ghc-process-extras
ghc-regex-tdfa ghc-regex-tdfa
ghc-silently ghc-silently
ghc-tagged ghc-tagged
ghc-tasty ghc-tasty
ghc-temporary)) ghc-temporary
ghc-semigroups))
(native-inputs (list ghc-tasty-hunit)) (native-inputs (list ghc-tasty-hunit))
(home-page "https://github.com/phile314/tasty-silver") (home-page "https://github.com/phile314/tasty-silver")
(synopsis "Fancy test runner, including support for golden tests") (synopsis "Fancy test runner, including support for golden tests")
@@ -1196,19 +1163,16 @@ result of golden tests.")
(define-public ghc-tasty-inspection-testing (define-public ghc-tasty-inspection-testing
(package (package
(name "ghc-tasty-inspection-testing") (name "ghc-tasty-inspection-testing")
(version "0.2.1") (version "0.1.0.1")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "tasty-inspection-testing" version))
(uri (hackage-uri "tasty-inspection-testing" version)) (sha256
(sha256 (base32
(base32 "0wl2xlnbmqdkwhi4ic6a4q4lxf9qg433lidi8d0hlp3ykrjpbcay")))) "0p46w44f19w7lvdzyg3vq6qzix0rjp8p23ilxz82dviq38lgmifp"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tasty-inspection-testing"))) (properties '((upstream-name . "tasty-inspection-testing")))
(inputs (list ghc-inspection-testing ghc-tasty)) (inputs (list ghc-inspection-testing ghc-tasty))
(arguments
`(#:cabal-revision ("2"
"0z9al0hyq381fw146agbpz7rf24rwms1w91m7s0k1w3xbfw16l9n")))
(home-page "https://github.com/Bodigrim/tasty-inspection-testing") (home-page "https://github.com/Bodigrim/tasty-inspection-testing")
(synopsis "Inspection testing support for tasty") (synopsis "Inspection testing support for tasty")
(description (description
+141 -192
View File
@@ -62,19 +62,18 @@ format.")
(package (package
(name "ghc-asn1-encoding") (name "ghc-asn1-encoding")
(version "0.9.6") (version "0.9.6")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "asn1-encoding" version))
(uri (hackage-uri "asn1-encoding" version)) (sha256
(sha256 (base32
(base32 "02nsr30h5yic1mk7znf0q4z3n560ip017n60hg7ya25rsfmxxy6r")))) "02nsr30h5yic1mk7znf0q4z3n560ip017n60hg7ya25rsfmxxy6r"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "asn1-encoding"))) (properties '((upstream-name . "asn1-encoding")))
(inputs (list ghc-hourglass ghc-asn1-types)) (inputs
(native-inputs (list ghc-tasty ghc-tasty-quickcheck)) (list ghc-hourglass ghc-asn1-types))
(arguments (native-inputs
`(#:cabal-revision ("2" (list ghc-tasty ghc-tasty-quickcheck))
"16503ryhq15f2rfdav2qnkq11dg2r3vk3f9v64q9dmxf8dh8zv97")))
(home-page "https://github.com/vincenthz/hs-asn1") (home-page "https://github.com/vincenthz/hs-asn1")
(synopsis "ASN1 data reader and writer in RAW, BER and DER forms") (synopsis "ASN1 data reader and writer in RAW, BER and DER forms")
(description (description
@@ -112,18 +111,15 @@ when ASN1 pattern matching is not convenient.")
(method url-fetch) (method url-fetch)
(uri (hackage-uri "crypto-api" version)) (uri (hackage-uri "crypto-api" version))
(sha256 (sha256
(base32 "19bsmkqkpnvh01b77pmyarx00fic15j4hvg4pzscrj4prskrx2i9")))) (base32
"19bsmkqkpnvh01b77pmyarx00fic15j4hvg4pzscrj4prskrx2i9"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "crypto-api"))) (properties '((upstream-name . "crypto-api")))
(inputs (list ghc-cereal ghc-tagged ghc-entropy)) (inputs (list ghc-cereal ghc-tagged ghc-entropy))
(arguments
`(#:cabal-revision ("1"
"1z6n1sa5pn3iqvqjrd8hv4bc2pxzsrhm5sh0l8z7g9lbqp6w0wp5")))
(home-page "https://github.com/TomMD/crypto-api") (home-page "https://github.com/TomMD/crypto-api")
(synopsis "Provides generic interface for cryptographic operations (synopsis "Provides generic interface for cryptographic operations
for Haskell") for Haskell")
(description (description "This Haskell package provides a generic interface for
"This Haskell package provides a generic interface for
cryptographic operations (hashes, ciphers, randomness). cryptographic operations (hashes, ciphers, randomness).
Maintainers of hash and cipher implementations are encouraged to add instances Maintainers of hash and cipher implementations are encouraged to add instances
@@ -201,15 +197,13 @@ that hides the C implementation.")
(method url-fetch) (method url-fetch)
(uri (hackage-uri "cryptohash-md5" version)) (uri (hackage-uri "cryptohash-md5" version))
(sha256 (sha256
(base32 "018g13hkmq5782i24b4518hcd926fl6x6fh5hd7b9wlxwc5dn21v")))) (base32
"018g13hkmq5782i24b4518hcd926fl6x6fh5hd7b9wlxwc5dn21v"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "cryptohash-md5"))) (properties '((upstream-name . "cryptohash-md5")))
(native-inputs (list ghc-base16-bytestring ghc-puremd5 ghc-tasty (native-inputs (list ghc-base16-bytestring ghc-puremd5 ghc-tasty
ghc-tasty-quickcheck ghc-tasty-hunit)) ghc-tasty-hunit ghc-tasty-quickcheck))
(arguments (home-page "https://github.com/hvr/cryptohash-md5")
`(#:cabal-revision ("6"
"0m7f9mgw4w9vcch37ja9zgbn0knq8rjppqr9x2ylkcdxfdnmhhif")))
(home-page "https://github.com/haskell-hvr/cryptohash-md5")
(synopsis "MD5 implementation for Haskell") (synopsis "MD5 implementation for Haskell")
(description "This Haskell package provides implementation of MD5.") (description "This Haskell package provides implementation of MD5.")
(license license:bsd-3))) (license license:bsd-3)))
@@ -218,20 +212,20 @@ that hides the C implementation.")
(package (package
(name "ghc-cryptohash-sha1") (name "ghc-cryptohash-sha1")
(version "0.11.101.0") (version "0.11.101.0")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "cryptohash-sha1" version))
(uri (hackage-uri "cryptohash-sha1" version)) (sha256
(sha256 (base32
(base32 "0h9jl9v38gj0vnscqx7xdklk634p05fa6z2pcvknisq2mnbjq154")))) "0h9jl9v38gj0vnscqx7xdklk634p05fa6z2pcvknisq2mnbjq154"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "cryptohash-sha1"))) (properties '((upstream-name . "cryptohash-sha1")))
(native-inputs (list ghc-base16-bytestring ghc-sha ghc-tasty (native-inputs (list ghc-base16-bytestring ghc-sha ghc-tasty
ghc-tasty-quickcheck ghc-tasty-hunit)) ghc-tasty-quickcheck ghc-tasty-hunit))
(arguments (arguments
`(#:cabal-revision ("6" `(#:cabal-revision ("1"
"1cxdw2y10z4v0mz91wki7f233jziipx85j4qy5msig4nv3djkprb"))) "0bz9rfl7b2iwn45m0lxcmsyi5rrv3xdgzx2lzr79bds91dw6i25b")))
(home-page "https://github.com/haskell-hvr/cryptohash-sha1") (home-page "https://github.com/hvr/cryptohash-sha1")
(synopsis "SHA-1 implementation for Haskell") (synopsis "SHA-1 implementation for Haskell")
(description (description
"This Haskell package provides an incremental and one-pass, "This Haskell package provides an incremental and one-pass,
@@ -252,18 +246,20 @@ the C implementation.")
(method url-fetch) (method url-fetch)
(uri (hackage-uri "cryptohash-sha256" version)) (uri (hackage-uri "cryptohash-sha256" version))
(sha256 (sha256
(base32 "1xkb7iqplbw4fy1122p79xf1zcb7k44rl0wmfj1q06l7cdqxr9vk")))) (base32
"1xkb7iqplbw4fy1122p79xf1zcb7k44rl0wmfj1q06l7cdqxr9vk"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "cryptohash-sha256"))) (properties '((upstream-name . "cryptohash-sha256")))
(native-inputs (list ghc-base16-bytestring ghc-sha ghc-tasty
ghc-tasty-quickcheck ghc-tasty-hunit))
(arguments (arguments
`(#:cabal-revision ("6" `(#:cabal-revision
"01s12sl5mxvraj5fj3cs0pkb03pm8xpjz13y09dpl7i6rv6f578f"))) ("1" "1hyzqv30rpj920ddnr0zypyjjlh52vyp2d140pn2byayj820rkgs")
(home-page "https://github.com/haskell-hvr/cryptohash-sha256") #:tests? #f)) ; TODO: tasty ==1.1.*
(native-inputs
(list ghc-base16-bytestring ghc-sha ghc-tasty ghc-tasty-hunit
ghc-tasty-quickcheck))
(home-page "https://github.com/hvr/cryptohash-sha1")
(synopsis "SHA-256 implementation for Haskell") (synopsis "SHA-256 implementation for Haskell")
(description (description "This Haskell package provides an incremental and
"This Haskell package provides an incremental and
one-pass, pure API to the @uref{https://en.wikipedia.org/wiki/SHA-2, one-pass, pure API to the @uref{https://en.wikipedia.org/wiki/SHA-2,
SHA-256 cryptographic hash algorithm}, with performance close to the SHA-256 cryptographic hash algorithm}, with performance close to the
fastest implementations available in other languages. fastest implementations available in other languages.
@@ -276,12 +272,12 @@ the C implementation.")
(package (package
(name "ghc-cryptonite") (name "ghc-cryptonite")
(version "0.30") (version "0.30")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "cryptonite" version))
(uri (hackage-uri "cryptonite" version)) (sha256
(sha256 (base32
(base32 "07bb97iszhnrfddh5ql6p3dqd0c13xycjw5n2kljw7d0ia59q2an")))) "07bb97iszhnrfddh5ql6p3dqd0c13xycjw5n2kljw7d0ia59q2an"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "cryptonite"))) (properties '((upstream-name . "cryptonite")))
(inputs (list ghc-memory ghc-basement)) (inputs (list ghc-memory ghc-basement))
@@ -330,17 +326,19 @@ elsewhere.")
(define-public ghc-digest (define-public ghc-digest
(package (package
(name "ghc-digest") (name "ghc-digest")
(version "0.0.2.1") (version "0.0.1.7")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "digest" version)) (uri (hackage-uri "digest" version))
(sha256 (sha256
(base32 "163418p50bqdxn8ajzj6x3455xbch9jq1w6psbkdz5qzw017py6b")))) (base32 "02jzw0bsng87y1n2kgpy7vb30lvqsnpbfd8dpg4hmvbg9s06qgdj"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "digest"))) (properties '((upstream-name . "digest")))
(arguments (arguments
`(#:extra-directories ("zlib"))) `(#:extra-directories ("zlib")
#:cabal-revision ("1"
"0wh34kyag2vhwvsdwv8qmvm13gy32nc94yfyqfdnl67nyc2sx8wl")))
(inputs (list zlib)) (inputs (list zlib))
(native-inputs (list pkg-config)) (native-inputs (list pkg-config))
(home-page "http://hackage.haskell.org/package/digest") (home-page "http://hackage.haskell.org/package/digest")
@@ -354,13 +352,13 @@ are implemented as FFI bindings to efficient code from zlib.")
(define-public ghc-entropy (define-public ghc-entropy
(package (package
(name "ghc-entropy") (name "ghc-entropy")
(version "0.4.1.11") (version "0.4.1.10")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (hackage-uri "entropy" version))
(uri (hackage-uri "entropy" version)) (sha256
(sha256 (base32
(base32 "1slj5n783k2amsx2hqs5qwvcw4rgfhdhgmiyg7cii0wg4w0mmpgm")))) "1rbx4ydabrjs8kkdg9laznkh9nisiq6b5z93vnp9bh6iy59ivb45"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "entropy"))) (properties '((upstream-name . "entropy")))
(home-page "https://github.com/TomMD/entropy") (home-page "https://github.com/TomMD/entropy")
@@ -417,35 +415,6 @@ the MD5 digest (hash) algorithm. This now supports the @code{crypto-api} class
interface.") interface.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-rsa
(package
(name "ghc-rsa")
(version "2.4.1")
(source
(origin
(method url-fetch)
(uri (hackage-uri "RSA" version))
(sha256
(base32 "0hchsqrxpfw7mqrqwscfy8ig1w2di6w3nxpzi873w0gibv2diibj"))))
(build-system haskell-build-system)
(properties '((upstream-name . "RSA")))
(inputs (list ghc-crypto-api ghc-crypto-pubkey-types ghc-sha))
(native-inputs (list ghc-quickcheck ghc-tagged ghc-test-framework
ghc-test-framework-quickcheck2))
(arguments
`(#:cabal-revision ("2"
"090yzm99fmh7c6z4m9hbkasqhc3xlw104g2b6wnk77n1abd13ryj")))
(home-page "http://hackage.haskell.org/package/RSA")
(synopsis
"Implementation of RSA, using the padding schemes of PKCS#1 v2.1.")
(description
"This library implements the RSA encryption and signature algorithms for
arbitrarily-sized @code{ByteStrings}. While the implementations work, they are
not necessarily the fastest ones on the planet. Particularly key generation.
The algorithms included are based of RFC 3447, or the Public-Key Cryptography
Standard for RSA, version 2.1 (a.k.a, PKCS#1 v2.1).")
(license license:bsd-3)))
(define-public ghc-sha (define-public ghc-sha
(package (package
(name "ghc-sha") (name "ghc-sha")
@@ -625,24 +594,6 @@ implementation. If it matters for your case, you should make sure you have
AES-NI available, or you'll need to use a different implementation.") AES-NI available, or you'll need to use a different implementation.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-crypto-pubkey-types
(package
(name "ghc-crypto-pubkey-types")
(version "0.4.3")
(source
(origin
(method url-fetch)
(uri (hackage-uri "crypto-pubkey-types" version))
(sha256
(base32 "0q0wlzjmpx536h1zcdzrpxjkvqw8abj8z0ci38138kpch4igbnby"))))
(build-system haskell-build-system)
(properties '((upstream-name . "crypto-pubkey-types")))
(inputs (list ghc-asn1-types ghc-asn1-encoding))
(home-page "http://github.com/vincenthz/hs-crypto-pubkey-types")
(synopsis "Generic cryptography Public keys algorithm types")
(description "Generic cryptography public keys algorithm types.")
(license license:bsd-3)))
(define-public ghc-crypto-random (define-public ghc-crypto-random
(package (package
(name "ghc-crypto-random") (name "ghc-crypto-random")
@@ -666,13 +617,13 @@ abstraction for CPRNGs.")
(define-public ghc-crypton (define-public ghc-crypton
(package (package
(name "ghc-crypton") (name "ghc-crypton")
(version "1.0.4") (version "0.34")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "crypton" version)) (uri (hackage-uri "crypton" version))
(sha256 (sha256
(base32 "06h1qjvqd8gmiyzvh31sc061vcgns101l0774c44a8k44015925l")))) (base32 "1mhypjhzn95in853bp7ary0a2xc6lsji6j8hrrgn2mfa4ilq8i24"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "crypton"))) (properties '((upstream-name . "crypton")))
(inputs (list ghc-memory ghc-basement)) (inputs (list ghc-memory ghc-basement))
@@ -702,13 +653,13 @@ abstraction for CPRNGs.")
(define-public ghc-crypton-x509 (define-public ghc-crypton-x509
(package (package
(name "ghc-crypton-x509") (name "ghc-crypton-x509")
(version "1.7.7") (version "1.7.6")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "crypton-x509" version)) (uri (hackage-uri "crypton-x509" version))
(sha256 (sha256
(base32 "10pkva9wvm6ih48bprxlnyhnn3nr6xq9dhkrk4hfxpsaij6f9v7g")))) (base32 "1zyaz0krf08g36g30zr5wn8f2x51l4dj2zcjnhpiw9h05p54mdzb"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "crypton-x509"))) (properties '((upstream-name . "crypton-x509")))
(inputs (list ghc-memory (inputs (list ghc-memory
@@ -718,7 +669,13 @@ abstraction for CPRNGs.")
ghc-asn1-encoding ghc-asn1-encoding
ghc-asn1-parse ghc-asn1-parse
ghc-crypton)) ghc-crypton))
(native-inputs (list ghc-tasty ghc-tasty-quickcheck)) (native-inputs (list ghc-tasty ghc-tasty-quickcheck ghc-x509))
(arguments
`(#:cabal-revision ("1"
"10a2x47znhbayyfr6fqgq27623akpycyjbfxz4hnavavf1x6ary5")
;; build phase fails when tests are activated.
;; See https://github.com/kazu-yamamoto/crypton-certificate/pull/7
#:tests? #f))
(home-page "https://github.com/kazu-yamamoto/crypton-certificate") (home-page "https://github.com/kazu-yamamoto/crypton-certificate")
(synopsis "X509 reader and writer") (synopsis "X509 reader and writer")
(description "This package provides generic X509 support for Haskell.") (description "This package provides generic X509 support for Haskell.")
@@ -727,13 +684,13 @@ abstraction for CPRNGs.")
(define-public ghc-crypton-x509-store (define-public ghc-crypton-x509-store
(package (package
(name "ghc-crypton-x509-store") (name "ghc-crypton-x509-store")
(version "1.6.11") (version "1.6.9")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "crypton-x509-store" version)) (uri (hackage-uri "crypton-x509-store" version))
(sha256 (sha256
(base32 "07vq7f883cm5krqz2kc0qkh9ks54jknrwdqvfqsk91s12b693a83")))) (base32 "0vr5b9cyf9x016wn1g0bryslf5nz8jq2sy8r3llwqfg02apihqiy"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "crypton-x509-store"))) (properties '((upstream-name . "crypton-x509-store")))
(inputs (list ghc-pem ghc-asn1-types ghc-asn1-encoding ghc-crypton (inputs (list ghc-pem ghc-asn1-types ghc-asn1-encoding ghc-crypton
@@ -770,25 +727,24 @@ storage methods, and accessors.")
(define-public ghc-crypton-x509-validation (define-public ghc-crypton-x509-validation
(package (package
(name "ghc-crypton-x509-validation") (name "ghc-crypton-x509-validation")
(version "1.6.14") (version "1.6.12")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "crypton-x509-validation" version)) (uri (hackage-uri "crypton-x509-validation" version))
(sha256 (sha256
(base32 "07b09kgrd3m5ahxpj458r5ycd30bz8ldwjwf19mdcnfv4x0kj3pd")))) (base32 "1xjhwvmkcy47a6xiqxb3xy944ca7g660203jdrz5xzd46zibfq0f"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "crypton-x509-validation"))) (properties '((upstream-name . "crypton-x509-validation")))
(inputs (list ghc-memory (inputs (list ghc-memory
ghc-hourglass ghc-hourglass
ghc-data-default ghc-data-default-class
ghc-pem ghc-pem
ghc-asn1-types ghc-asn1-types
ghc-asn1-encoding ghc-asn1-encoding
ghc-crypton-x509 ghc-crypton-x509
ghc-crypton-x509-store ghc-crypton-x509-store
ghc-crypton ghc-crypton))
ghc-iproute))
(native-inputs (list ghc-tasty ghc-tasty-hunit)) (native-inputs (list ghc-tasty ghc-tasty-hunit))
(home-page "https://github.com/kazu-yamamoto/crypton-certificate") (home-page "https://github.com/kazu-yamamoto/crypton-certificate")
(synopsis "X.509 Certificate and CRL validation") (synopsis "X.509 Certificate and CRL validation")
@@ -796,44 +752,6 @@ storage methods, and accessors.")
and @dfn{Certificates revocation list} (CRL) validation.") and @dfn{Certificates revocation list} (CRL) validation.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-crypton-socks
(package
(name "ghc-crypton-socks")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (hackage-uri "crypton-socks" version))
(sha256
(base32 "0fwzlvndyxjwhxambxdjzzm63yvb6jzsg53dkv3i6x17biz0hdm8"))))
(build-system haskell-build-system)
(properties '((upstream-name . "crypton-socks")))
(inputs (list ghc-cereal ghc-network ghc-network-bsd))
(home-page "http://github.com/mpilgrem/crypton-socks")
(synopsis "SOCKS Protocol Version 5")
(description
"This package provides a library implementing SOCKS Protocol Version 5.")
(license license:bsd-3)))
(define-public ghc-crypto-token
(package
(name "ghc-crypto-token")
(version "0.1.2")
(source
(origin
(method url-fetch)
(uri (hackage-uri "crypto-token" version))
(sha256
(base32 "18xphlvn6wzyi6lqrvm5vic97pkcbiph1938p5l1mb22rj5215zm"))))
(build-system haskell-build-system)
(properties '((upstream-name . "crypto-token")))
(inputs (list ghc-crypton ghc-memory ghc-network-byte-order))
(native-inputs (list ghc-hspec hspec-discover))
(home-page "http://hackage.haskell.org/package/crypto-token")
(synopsis "crypto tokens")
(description "Encrypted tokens/tickets to keep state in the client side.")
(license license:bsd-3)))
(define-public ghc-cprng-aes (define-public ghc-cprng-aes
(package (package
(name "ghc-cprng-aes") (name "ghc-cprng-aes")
@@ -886,17 +804,20 @@ percent.
(method url-fetch) (method url-fetch)
(uri (hackage-uri "ed25519" version)) (uri (hackage-uri "ed25519" version))
(sha256 (sha256
(base32 "0v8msqvgzimhs7p5ri25hrb1ni2wvisl5rmdxy89fc59py79b9fq")))) (base32
"0v8msqvgzimhs7p5ri25hrb1ni2wvisl5rmdxy89fc59py79b9fq"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "ed25519"))) (properties '((upstream-name . "ed25519")))
(native-inputs (list ghc-quickcheck ghc-doctest))
(arguments (arguments
`(#:cabal-revision ("9" `(#:cabal-revision
"0y5vfdcys18waa5k5zxiq9n8jq0l05j76riml23i0gxmwgdhsmgi"))) ("6" "0qyx6cl52fnll8lp6v9133wfvv3zhvq7v2crn441mng520j9wp48")
(home-page "https://github.com/thoughtpolice/hs-ed25519/") ;; We omit these test suites because they require old versions of
;; packages and packages we do not have.
#:configure-flags
'("--flags=-test-hlint -test-doctests -test-properties")))
(home-page "http://thoughtpolice.github.com/hs-ed25519")
(synopsis "Ed25519 cryptographic signatures") (synopsis "Ed25519 cryptographic signatures")
(description (description "This package provides a simple, fast, self-contained
"This package provides a simple, fast, self-contained
copy of the Ed25519 public-key signature system with a clean interface. copy of the Ed25519 public-key signature system with a clean interface.
It also includes support for detached signatures, and thorough It also includes support for detached signatures, and thorough
documentation on the design and implementation, including usage documentation on the design and implementation, including usage
@@ -906,41 +827,29 @@ guidelines.")
(define-public ghc-tls (define-public ghc-tls
(package (package
(name "ghc-tls") (name "ghc-tls")
(version "2.1.8") (version "1.5.8")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (hackage-uri "tls" version)) (uri (hackage-uri "tls" version))
(sha256 (sha256
(base32 (base32
"1csdy3426lva1a5f7gh9qm96vzfraqj91jbxlm79wbf1jsdzfhsq")))) "0rxdv8ab98kd4nqql7djmmi51k4vayq21s38s43sx3rzn0iyla3b"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "tls"))) (properties '((upstream-name . "tls")))
(inputs (list ghc-asn1-types (inputs (list ghc-cereal
ghc-asn1-encoding ghc-data-default-class
ghc-base16-bytestring
ghc-cereal
ghc-crypton
ghc-crypton-x509
ghc-crypton-x509-store
ghc-crypton-x509-validation
ghc-data-default
ghc-memory ghc-memory
ghc-network ghc-cryptonite
ghc-serialise ghc-asn1-types
ghc-transformers ghc-asn1-encoding
ghc-unix-time ghc-x509
ghc-zlib)) ghc-x509-store
(native-inputs (list ghc-quickcheck ghc-x509-validation
ghc-asn1-types ghc-async
ghc-async ghc-hourglass
ghc-crypton ghc-network))
ghc-crypton-x509 (native-inputs (list ghc-tasty ghc-tasty-quickcheck ghc-quickcheck))
ghc-crypton-x509-validation (home-page "http://github.com/vincenthz/hs-tls")
ghc-hourglass
ghc-hspec
ghc-serialise
hspec-discover))
(home-page "http://github.com/haskell-tls/hs-tls")
(synopsis "TLS/SSL protocol native implementation (Server and Client)") (synopsis "TLS/SSL protocol native implementation (Server and Client)")
(description (description
"Native Haskell TLS and SSL protocol implementation for server and client. "Native Haskell TLS and SSL protocol implementation for server and client.
@@ -952,6 +861,43 @@ Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many
extensions.") extensions.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-tls-1.9
(package
(name "ghc-tls")
(version "1.9.0")
(source
(origin
(method url-fetch)
(uri (hackage-uri "tls" version))
(sha256
(base32 "0gj3af9sqd0bw7dpcqfyvbslpxsk2ij00a77kl710fwhw35vj1an"))))
(build-system haskell-build-system)
(properties '((upstream-name . "tls")))
(inputs (list ghc-cereal
ghc-data-default-class
ghc-memory
ghc-crypton
ghc-asn1-types
ghc-asn1-encoding
ghc-crypton-x509
ghc-crypton-x509-store
ghc-crypton-x509-validation
ghc-async
ghc-unix-time
ghc-network))
(native-inputs (list ghc-tasty ghc-tasty-quickcheck ghc-quickcheck))
(home-page "https://github.com/haskell-tls/hs-tls")
(synopsis "TLS/SSL protocol native implementation (server and client)")
(description
"This package provides a native Haskell TLS and SSL protocol
implementation for server and client. It provides a high-level implementation
of a sensitive security protocol, eliminating a common set of security issues
through the use of the advanced type system, high level constructions and
common Haskell features. It currently implements the SSL3.0, TLS1.0, TLS1.1
and TLS1.2 protocol, and supports RSA and Ephemeral (Elliptic curve and
regular) Diffie Hellman key exchanges, and many extensions.")
(license license:bsd-3)))
(define-public ghc-hsopenssl (define-public ghc-hsopenssl
(package (package
(name "ghc-hsopenssl") (name "ghc-hsopenssl")
@@ -1014,14 +960,17 @@ the tls package, and borrows some ideas from x509-system.")
(method url-fetch) (method url-fetch)
(uri (hackage-uri "openssl-streams" version)) (uri (hackage-uri "openssl-streams" version))
(sha256 (sha256
(base32 "10pnnpzgb5xr811kc9qdk7h2cgn6hk2yiyhnzz8f8p0fjzc0pwjm")))) (base32
"10pnnpzgb5xr811kc9qdk7h2cgn6hk2yiyhnzz8f8p0fjzc0pwjm"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(properties '((upstream-name . "openssl-streams"))) (properties '((upstream-name . "openssl-streams")))
(inputs (list ghc-hsopenssl ghc-io-streams ghc-network)) (inputs
(native-inputs (list ghc-hunit ghc-test-framework ghc-test-framework-hunit)) (list ghc-hsopenssl ghc-io-streams ghc-network))
(native-inputs
(list ghc-hunit ghc-test-framework ghc-test-framework-hunit))
(arguments (arguments
`(#:cabal-revision ("3" `(#:cabal-revision ("1"
"1vizl9yajkbd59rrnfb38xwq7hfj36avbv6vwqnkhbvz3qaj3dwg"))) "0vfawnfcjrw29qg1n7k6z6bk4bmnk869gjlr9mxw4mzxgl80b2vp")))
(home-page "https://hackage.haskell.org/package/openssl-streams") (home-page "https://hackage.haskell.org/package/openssl-streams")
(synopsis "OpenSSL network support for io-streams") (synopsis "OpenSSL network support for io-streams")
(description "This library contains io-streams routines for secure (description "This library contains io-streams routines for secure
File diff suppressed because it is too large Load Diff
+4419 -5065
View File
File diff suppressed because it is too large Load Diff
+12 -329
View File
@@ -1626,6 +1626,12 @@ SRC_HC_OPTS += -optc-mno-outline-atomics
(file-pattern ".*\\.conf\\.d$") (file-pattern ".*\\.conf\\.d$")
(file-type 'directory))))))) (file-type 'directory)))))))
;; Versions newer than ghc defined below (i.e. the compiler
;; haskell-build-system uses) should use ghc-next as their name to
;; ensure ghc (without version specification) and ghc-* packages are
;; always compatible. See https://issues.guix.gnu.org/issue/47335.
(define-public ghc ghc-9.2)
;; 9.4 is the last version to support the make-based build system, ;; 9.4 is the last version to support the make-based build system,
;; but it boot with 9.2, only 9.0 is supported. ;; but it boot with 9.2, only 9.0 is supported.
(define ghc-bootstrap-for-9.4 ghc-9.0) (define ghc-bootstrap-for-9.4 ghc-9.0)
@@ -1689,24 +1695,22 @@ SRC_HC_OPTS += -optc-mno-outline-atomics
(let ((base ghc-9.2)) (let ((base ghc-9.2))
(package (package
(inherit base) (inherit base)
(name "ghc") (name "ghc-next")
(version "9.4.3") (version "9.4.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://www.haskell.org/ghc/dist/" version (uri (string-append "https://www.haskell.org/ghc/dist/" version
"/ghc-" version "-src.tar.xz")) "/ghc-" version "-src.tar.xz"))
(sha256 (sha256
(base32 (base32
"0nlhx2cbq1jh2yr6zk475lavjkh9sncj57qp77p51pkfad4kkxpa")) "1qk7rlqf02s3b6m6sqqngmjq1mxnrz88h159lz6k25gddmdg5kp8"))
(patches (search-patches "ghc-9-StgCRunAsm-only-when-needed.patch")))) (patches (search-patches "ghc-9-StgCRunAsm-only-when-needed.patch"))))
(arguments (arguments
(substitute-keyword-arguments arguments (substitute-keyword-arguments arguments
((#:phases phases '%standard-phases) ((#:phases phases '%standard-phases)
#~(modify-phases #$phases #~(modify-phases #$phases
;; Files dont exist any more. ;; Files dont exist any more.
(delete 'skip-tests))) (delete 'skip-tests)))))
((#:tests? _ #f)
#f)))
(native-inputs (native-inputs
`(;; GHC 9.4 must be built with GHC >= 9.0. `(;; GHC 9.4 must be built with GHC >= 9.0.
("ghc-bootstrap" ,ghc-bootstrap-for-9.4) ("ghc-bootstrap" ,ghc-bootstrap-for-9.4)
@@ -1718,7 +1722,8 @@ SRC_HC_OPTS += -optc-mno-outline-atomics
version "/ghc-" version "-testsuite.tar.xz")) version "/ghc-" version "-testsuite.tar.xz"))
(sha256 (sha256
(base32 (base32
"1xbps33pq6mg2bwp5gvmc4qhgdq52yng5993if99b9s3fylqk86l")))) "04p2lawxxg3nyv6frzhyjyh3arhqqyh5ka3alxa2pxhcd2hdcja3"))
(patches (search-patches "ghc-testsuite-recomp015-execstack.patch"))))
("ghc-alex" ,ghc-alex-bootstrap-for-9.4) ("ghc-alex" ,ghc-alex-bootstrap-for-9.4)
("ghc-happy" ,ghc-happy-bootstrap-for-9.4) ("ghc-happy" ,ghc-happy-bootstrap-for-9.4)
,@(filter (match-lambda ,@(filter (match-lambda
@@ -1733,326 +1738,4 @@ SRC_HC_OPTS += -optc-mno-outline-atomics
(file-pattern ".*\\.conf\\.d$") (file-pattern ".*\\.conf\\.d$")
(file-type 'directory))))))) (file-type 'directory)))))))
;;; GHC >= 9.6 must be built using it's new haskell-written Hadrian build
;;; system. Use this opportunity to cut the inheritance chain to simplify
;;; understanding what building ghc requires with the new build system.
(define-public ghc-9.8
(let ((ghc-bootstrap ghc-9.4))
(package
(name "ghc")
(version "9.8.1")
(source (origin
(method url-fetch)
(uri (string-append "https://downloads.haskell.org/~ghc/" version
"/ghc-" version "-src.tar.xz"))
(sha256
(base32
"0l87yb8hmd350klrp6lw2h9hjlla11pgzx1n4jlrfdvkgxmyvy5j"))))
(outputs (list "out" "doc"))
(arguments
(list
#:make-flags #~(list "-V" "--docs=no-sphinx")
#:configure-flags
#~(list
(string-append "--with-gmp-libraries="
(assoc-ref %build-inputs "gmp") "/lib")
(string-append "--with-gmp-includes="
(assoc-ref %build-inputs "gmp") "/include")
"--with-system-libffi"
(string-append "--with-ffi-libraries="
(assoc-ref %build-inputs "libffi") "/lib")
(string-append "--with-ffi-includes="
(assoc-ref %build-inputs "libffi") "/include")
(string-append "--with-curses-libraries="
(assoc-ref %build-inputs "ncurses") "/lib")
(string-append "--with-curses-includes="
(assoc-ref %build-inputs "ncurses") "/include"))
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'fix-iserv-rpath
(lambda _
(mkdir-p "_build")
(call-with-output-file
"_build/hadrian.settings"
(lambda (port)
(display
(string-append
"*.iserv.ghc.link.opts += -optl-Wl,-rpath,"
#$output "/lib/ghc-" #$(package-version this-package)
"/lib/" #$(or (%current-target-system)
(%current-system))
"-ghc-" #$(package-version this-package) "/")
port)))))
;; This phase patches the 'ghc-pkg' command so that it sorts the list
;; of packages in the binary cache it generates.
(add-before 'build 'fix-ghc-pkg-nondeterminism
(lambda _
(substitute* "utils/ghc-pkg/Main.hs"
(("confs = map \\(path </>\\) \\$ filter \\(\".conf\" `isSuffixOf`\\) fs")
"confs = map (path </>) $ filter (\".conf\" `isSuffixOf`) (sort fs)"))))
(add-after 'unpack 'unpack-testsuite
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion ".."
(invoke "tar" "xvf" (assoc-ref inputs "ghc-testsuite")))))
(add-after 'unpack-testsuite 'fix-/bin/sh-references
(lambda* (#:key inputs #:allow-other-keys)
(substitute*
(list "hadrian/src/Rules/BinaryDist.hs"
"hadrian/src/Rules/Test.hs"
"libraries/process/System/Process/Posix.hs"
"libraries/process/jsbits/process.js"
"libraries/unix/cbits/execvpe.c"
"testsuite/tests/driver/T8602/T8602.script"
"testsuite/timeout/timeout.py")
(("/bin/sh") (search-input-file inputs "/bin/sh")))))
(add-after 'unpack-testsuite 'fix-cc-reference
(lambda* (#:key inputs #:allow-other-keys)
(substitute*
(list "utils/hsc2hs/src/Common.hs")
(("\"cc\"") "\"gcc\""))))
;; XXX: something causes ld-wrapper to see test\ \ \ spaces/... and
;; look for the files "test\", "\", "\" and "spaces/...", which obviously
;; don't exist
(add-after 'unpack-testsuite 'fix-testsuite
(lambda _
(substitute*
(list "testsuite/driver/runtests.py")
(("'test spaces'") "'dont-test-spaces'"))))
(add-before 'configure 'set-target-programs
(lambda* (#:key inputs #:allow-other-keys)
(let ((binutils (assoc-ref inputs "binutils"))
(gcc (assoc-ref inputs "gcc"))
(ld-wrapper (assoc-ref inputs "ld-wrapper")))
(setenv "CC" (string-append gcc "/bin/gcc"))
(setenv "CXX" (string-append gcc "/bin/g++"))
(setenv "LD" (string-append ld-wrapper "/bin/ld"))
(setenv "NM" (string-append binutils "/bin/nm"))
(setenv "RANLIB" (string-append binutils "/bin/ranlib"))
(setenv "STRIP" (string-append binutils "/bin/strip"))
;; The 'ar' command does not follow the same pattern.
(setenv "fp_prog_ar" (string-append binutils "/bin/ar")))))
(add-before 'build 'build-hadrian
(lambda* (#:key (inputs '()) #:allow-other-keys)
(invoke "./hadrian/bootstrap/bootstrap.py"
"-s" (assoc-ref inputs "hadrian-bootstrap")
"-w" (which "ghc"))))
(add-before 'build-hadrian 'fix-environment
(lambda _
(unsetenv "GHC_PACKAGE_PATH")
(setenv "CONFIG_SHELL" (which "bash"))))
(replace 'build
(lambda* (#:key (parallel-build? #f) (make-flags '())
#:allow-other-keys)
(apply invoke "_build/bin/hadrian"
`("binary-dist-dir"
,@(if parallel-build?
(list (string-append
"-j" (number->string
(parallel-job-count)))))
,@make-flags))))
(replace 'check
(lambda* (#:key (tests? #t) (parallel-tests? #f) (make-flags '())
#:allow-other-keys)
(if tests?
(apply invoke "_build/bin/hadrian"
`(,@(if parallel-tests?
(list (string-append
"-j"
(number->string (parallel-job-count))))
'())
,@make-flags
"test"
,(string-append
"--broken-test="
(string-join
(list "T15904" ; ld-wrapper, apparently
"T16521" ; no idea
;; These fail due to gcc
;; -Wincompatible-pointer-types, which
;; apparently is not used in GHC's CI
;; https://gitlab.haskell.org/ghc/ghc/-/issues/22263
"hs_try_putmvar001"
"list_threads_and_misc_roots"
"testwsdeque")))
"--skip-perf"))
(format #t "test suite not run~%"))))
(replace 'install
(lambda* (#:key (make-flags '()) #:allow-other-keys)
(apply invoke "_build/bin/hadrian"
`("install"
,@make-flags
,(string-append "--prefix=" #$output)))))
(add-after 'install 'remove-unnecessary-references
(lambda* (#:key outputs #:allow-other-keys)
(substitute* (find-files (string-append (assoc-ref outputs "out") "/lib/")
"settings")
(("/gnu/store/.*/bin/(.*)" m program) program))
;; Remove references to "doc" output from "out" by rewriting
;; the "haddock-interfaces" fields and removing the optional
;; "haddock-html" field in the generated .conf files.
(let ((doc (assoc-ref outputs "doc"))
(out (assoc-ref outputs "out")))
(with-fluids ((%default-port-encoding #f))
(for-each (lambda (config-file)
(substitute* config-file
(("^haddock-html: .*") "\n")
(((format #f "^haddock-interfaces: ~a" doc))
(string-append "haddock-interfaces: " out))))
(find-files (string-append out "/lib") ".conf")))
;; Move the referenced files to the "out" output.
(for-each (lambda (haddock-file)
(let* ((subdir (string-drop haddock-file (string-length doc)))
(new (string-append out subdir)))
(mkdir-p (dirname new))
(rename-file haddock-file new)))
(find-files doc "\\.haddock$")))))
(add-after 'install 'replace-$pkgroot
(lambda* (#:key outputs #:allow-other-keys)
((@ (srfi srfi-11) let*-values)
(((out) (assoc-ref outputs "out"))
((_ version) (package-name->name+version
(strip-store-file-name out))))
;; We split out the version because we want this to also work
;; with packages named "ghc-next" instead of "ghc"
(substitute*
(find-files
(string-append (assoc-ref outputs "out") "/lib/ghc-"
version "/lib/package.conf.d/")
"^.*\\.conf$")
(("\\$\\{pkgroot\\}/")
(string-append (assoc-ref outputs "out") "/lib/ghc-"
version "/lib/")))))))))
(build-system gnu-build-system)
(inputs (list bash-minimal gmp ncurses libffi))
(native-inputs
`(("perl" ,perl)
("python" ,python)
("git" ,git-minimal/pinned)
("which" ,which)
("ghostscript" ,ghostscript)
("autoconf" ,autoconf)
("automake" ,automake)
("ghc-bootstrap" ,ghc-bootstrap)
("ghc-alex" ,ghc-alex-bootstrap-for-9.4)
("ghc-happy" ,ghc-happy-bootstrap-for-9.4)
("ghc-testsuite"
,(origin
(method url-fetch)
(uri (string-append
"https://www.haskell.org/ghc/dist/"
version "/ghc-" version "-testsuite.tar.xz"))
(sha256
(base32
"1hxylm3nhxzl7yidarlavvcg1240w4bk0hy5jnvwna24jyxz69i6"))
(patches (search-patches "ghc-testsuite-recomp015-execstack.patch"))))
("hadrian-bootstrap"
,(origin
(method url-fetch)
(uri (string-append "https://downloads.haskell.org/~ghc/"
version "/hadrian-bootstrap-sources/"
"hadrian-bootstrap-sources-"
(package-version ghc-bootstrap) ".tar.gz"))
(sha256
(base32
"14dkxif9x4hy85phcj3j0glf95k04g4ab6hfchpw9vxgvk97syi1"))))))
(native-search-paths
(list (search-path-specification
(variable "GHC_PACKAGE_PATH")
(files (list (string-append "lib/ghc-" version)))
(file-pattern ".*\\.conf\\.d$")
(file-type 'directory))))
(home-page "https://www.haskell.org/ghc")
(synopsis "The Glasgow Haskell Compiler")
(description
"The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
interactive environment for the functional language Haskell.")
(license license:bsd-3))))
(define-public ghc-9.10
(let ((base ghc-9.8))
(package
(inherit base)
(name "ghc")
(version "9.10.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://downloads.haskell.org/~ghc/" version
"/ghc-" version "-src.tar.xz"))
(sha256
(base32
"1pm84cgr3yg99r3srdjllgz6zig8h7dbwa597srwcnjp0nh41zam"))))
(arguments
(substitute-keyword-arguments (package-arguments base)
((#:phases phases #~%standard-phases)
#~(modify-phases #$phases
(replace 'check
(lambda* (#:key (tests? #t) (parallel-tests? #f) (make-flags '())
#:allow-other-keys)
(if tests?
(apply invoke "_build/bin/hadrian"
`(,@(if parallel-tests?
(list (string-append
"-j"
(number->string (parallel-job-count))))
'())
,@make-flags
"test"
,(string-append
"--broken-test="
(string-join
(list "T15904" ; ld-wrapper, apparently
"T16521" ; no idea
;; These fail due to gcc
;; -Wincompatible-pointer-types, which
;; apparently is not used in GHC's CI
;; https://gitlab.haskell.org/ghc/ghc/-/issues/22263
"list_threads_and_misc_roots"
"stack_misc_closures")))
"--skip-perf"))
(format #t "test suite not run~%"))))))))
(native-inputs
`(("ghc-bootstrap" ,base)
("ghc-testsuite"
,(origin
(method url-fetch)
(uri (string-append
"https://downloads.haskell.org/~ghc/"
version "/ghc-" version "-testsuite.tar.xz"))
(sha256
(base32
"143ifc4g3jc6s9hcry5qha913rzwg4hpsvk6pqvxk5r0qigfxjwx"))
(patches (search-patches "ghc-testsuite-recomp015-execstack.patch"))))
("hadrian-bootstrap"
,(origin
(method url-fetch)
(uri (string-append "https://downloads.haskell.org/~ghc/" version
"/hadrian-bootstrap-sources/"
"hadrian-bootstrap-sources-"
(package-version base) ".tar.gz"))
(sha256
(base32
"162lbafvdamfhx1jldax3shgk8jbbqn4an97ny363lxbdjgdn708"))))
,@(filter (match-lambda
(("ghc-bootstrap" . _) #f)
(("ghc-testsuite" . _) #f)
(("hadrian-bootstrap" . _) #f)
(_ #t))
(package-native-inputs base))))
(native-search-paths
(list (search-path-specification
(variable "GHC_PACKAGE_PATH")
(files (list (string-append "lib/ghc-" version)))
(file-pattern ".*\\.conf\\.d$")
(file-type 'directory)))))))
;; Versions newer than ghc defined below (i.e. the compiler
;; haskell-build-system uses) should use ghc-next as their name to
;; ensure ghc (without version specification) and ghc-* packages are
;; always compatible. See https://issues.guix.gnu.org/issue/47335.
(define-public ghc ghc-9.10)
;;; haskell.scm ends here ;;; haskell.scm ends here
-1
View File
@@ -43,7 +43,6 @@
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages anthy) #:use-module (gnu packages anthy)
-1
View File
@@ -58,7 +58,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages algebra) #:use-module (gnu packages algebra)
-1
View File
@@ -66,7 +66,6 @@
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
+72 -60
View File
@@ -29,7 +29,7 @@
;;; Copyright © 2020, 2025 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2020, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com> ;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2020, 2021, 2022, 2023, 2024 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020, 2021, 2022, 2023, 2024 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2021, 2026 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz> ;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org> ;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com> ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
@@ -42,8 +42,9 @@
;;; Copyright © 2025 Josep Bigorra <jjbigorra@gmail.com> ;;; Copyright © 2025 Josep Bigorra <jjbigorra@gmail.com>
;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com> ;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com>
;;; Copyright © 2025 Ghislain Vaillant <ghislain.vaillant@inria.fr> ;;; Copyright © 2025 Ghislain Vaillant <ghislain.vaillant@inria.fr>
;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu>
;;; Copyright © 2025 Junker <dk@junkeria.club> ;;; Copyright © 2025 Junker <dk@junkeria.club>
;;; Copyright © 2025 Hugo Buddelmeijer <hugo@buddelmeijer.nl>
;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@@ -128,7 +129,6 @@
#:use-module (guix build-system guile) #:use-module (guix build-system guile)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system scons) #:use-module (guix build-system scons)
#:use-module (guix deprecation) #:use-module (guix deprecation)
@@ -2967,77 +2967,89 @@ GIF, TIFF, WEBP, BMP, PNG, XPM formats.")
(define-public mypaint (define-public mypaint
(package (package
(name "mypaint") (name "mypaint")
(version "2.0.1") ;; The latest changes contains support for Python 3.12+.
(source (origin (properties '((commit . "35aa9d33cd3deba6cafea6d8fc901b5a1d161ceb")
(method url-fetch) (revision . "0")))
(uri (string-append "https://github.com/mypaint/mypaint/" (version (git-version "2.0.1"
"releases/download/v" version "/mypaint-" (assoc-ref properties 'revision)
version ".tar.xz")) (assoc-ref properties 'commit)))
(sha256 (source
(base32 (origin
"05mvay73vb9d2sh1ckv4vny45n059dmsps1jcppjizfmrpbkgr7k")))) (method git-fetch)
(build-system python-build-system) (uri (git-reference
(url "https://github.com/mypaint/mypaint")
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32 "1p1i799dzpx0zr7chkz0pjdq9l32ahckgyagbiw82c27mwxqabfh"))))
(build-system pyproject-build-system)
(arguments (arguments
`(#:imported-modules ((guix build glib-or-gtk-build-system) (list
,@%python-build-system-modules) #:imported-modules `(,@%pyproject-build-system-modules
#:modules ((guix build python-build-system) (guix build glib-or-gtk-build-system))
#:modules '((guix build pyproject-build-system)
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
(guix build utils)) (guix build utils))
;; XXX: Tests are not discovered. #:phases
#:tests? #false #~(modify-phases %standard-phases
#:phases (add-after 'install 'move-assets-to-data
(modify-phases %standard-phases ;; XXX: Check why.
(add-after 'unpack 'python3.11-compatibility ;;
(lambda _ ;; ERROR: gui.application: Missing icon 'org.mypaint.MyPaint':
(substitute* "setup.py" ;; check that mypaint icons have been installed into
(("\"rU\"") "\"r\"") ;; /gnu/store/<...>/data/icons
(("test_suite='tests'.*") "")) ;;
(substitute* "setup.cfg" ;; gi.repository.GLib.GError: g-file-error-quark: Failed to open
(("install-") "install_")) ;; file
;; This file makes Python confuse it for a module, so we rename ;; “/gnu/store/<...>/data/mypaint/pixmaps/cursor_color_picker.png”:
;; it. ;; No such file or directory (4)
(rename-file "lib/xml.py" "lib/xmlo.py") (lambda _
(substitute* (find-files "." "\\.py$") (let* ((data (string-append #$output "/data"))
(("lib.xml") "lib.xmlo")) (data-icons (string-append data "/icons"))
;; This procedure has been removed. (data-mypaint (string-append data "/mypaint"))
(substitute* "lib/gettext_setup.py" (icons (string-append #$output "/icons"))
(("c = gettext.bind_textdomain_codeset.*") "c = True\n")))) (mypaint (string-append #$output "/mypaint")))
(add-after 'install 'glib-or-gtk-wrap (mkdir-p data-icons)
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) (mkdir-p data-mypaint)
(add-after 'install 'wrap-program (copy-recursively icons data-icons)
(lambda* (#:key outputs inputs #:allow-other-keys) (copy-recursively mypaint data-mypaint)
(let* ((out (assoc-ref outputs "out")) (delete-file-recursively icons)
(gdk-pixbuf (assoc-ref inputs "gdk-pixbuf")) (delete-file-recursively mypaint))))
(gtk+ (assoc-ref inputs "gtk+"))) (add-after 'install 'glib-or-gtk-wrap
;; This is replaced with an invalid shebang. (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
(substitute* (string-append out "/bin/mypaint") (add-after 'install 'wrap-program
(("#!python") (lambda* (#:key outputs inputs #:allow-other-keys)
(string-append "#!" (which "python3")))) (wrap-program (string-append #$output "/bin/mypaint")
(wrap-program (string-append out "/bin/mypaint") `("GI_TYPELIB_PATH" ":" prefix
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))))))
(,(getenv "GI_TYPELIB_PATH"))))))) (add-before 'check 'pre-check
(add-before 'check 'pre-check (lambda _
(lambda _ ;; Need to get the 'lib' in 'build/'.
;; Tests need writing access (delete-file-recursively "lib")
(setenv "HOME" "/tmp")))))) ;; Tests need writing access
(setenv "HOME" "/tmp"))))))
(native-inputs (native-inputs
(list pkg-config (list gettext-minimal
gobject-introspection gobject-introspection
swig-4.0 pkg-config
gettext-minimal)) python-pytest
python-setuptools
swig))
(inputs (inputs
(list bash-minimal (list bash-minimal
gdk-pixbuf
gtk+ gtk+
(librsvg-for-system)
hicolor-icon-theme hicolor-icon-theme
libmypaint
mypaint-brushes
json-c json-c
lcms lcms
libmypaint-next
libpng
(librsvg-for-system)
mypaint-brushes
python-numpy python-numpy
python-pycairo python-pycairo
python-pygobject)) python-pygobject))
(home-page "http://mypaint.org/") (home-page "https://mypaint.org/")
(synopsis "Fast and simple painting app for artists") (synopsis "Fast and simple painting app for artists")
(description (description
"MyPaint is a simple drawing and painting program that works well with "MyPaint is a simple drawing and painting program that works well with
-1
View File
@@ -63,7 +63,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system linux-module) #:use-module (guix build-system linux-module)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
-1
View File
@@ -47,7 +47,6 @@
#:use-module (guix build-system guile) #:use-module (guix build-system guile)
#:use-module (guix build-system haskell) #:use-module (guix build-system haskell)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (gnu packages) #:use-module (gnu packages)
-2
View File
@@ -231,8 +231,6 @@ concerned with representation of names for languages and language groups.")
(add-after 'unpack 'fix-pytest-config (add-after 'unpack 'fix-pytest-config
(lambda _ ; Removes the need for python-pytest-cov. (lambda _ ; Removes the need for python-pytest-cov.
(substitute* "pyproject.toml" (substitute* "pyproject.toml"
(("--cov --cov-report=html --cov-report=term-missing")
"")
(("^required_plugins =.*") (("^required_plugins =.*")
""))))))) "")))))))
(native-inputs (list python-poetry-core python-pytest)) (native-inputs (list python-poetry-core python-pytest))
+6
View File
@@ -8941,6 +8941,12 @@ generated sources by ANTLR.")))
(add-after 'unpack 'chdir (add-after 'unpack 'chdir
(lambda _ (lambda _
(chdir "runtime/Python3"))) (chdir "runtime/Python3")))
;; TODO: Remove when updating ANTLR4:
;; https://github.com/antlr/antlr4/pull/4593
(add-after 'chdir 'fix-python-3.12-compatibility
(lambda _
(substitute* "tests/TestIntervalSet.py"
(("assertEquals") "assertEqual"))))
(add-after 'chdir 'regenerate-parsers (add-after 'chdir 'regenerate-parsers
(lambda _ (lambda _
(invoke "antlr4" "-no-listener" "-Dlanguage=Python3" (invoke "antlr4" "-no-listener" "-Dlanguage=Python3"
+20 -24
View File
@@ -46,7 +46,6 @@
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages algebra) #:use-module (gnu packages algebra)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
@@ -174,8 +173,7 @@ simulation, statistical modeling, machine learning and much more.")
python-hatchling python-hatchling
python-ipyparallel-bootstrap python-ipyparallel-bootstrap
python-pytest python-pytest
python-pytest-asyncio-0.26 ;some tests fail with v1 python-pytest-asyncio-0.26
python-pytest-cov
python-pytest-timeout)) python-pytest-timeout))
(home-page "https://ipython.org") (home-page "https://ipython.org")
(synopsis "IPython Kernel for Jupyter") (synopsis "IPython Kernel for Jupyter")
@@ -377,7 +375,7 @@ the namespace @code{/nbclassic/}.")
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; tests: 307 passed, 7 skipped, 16 deselected, 9 warnings ;; tests: 305 passed, 7 skipped, 18 deselected, 2696 warning
#:test-flags #:test-flags
'(list "-k" (string-append '(list "-k" (string-append
;; TODO: This tests fails because nbconvert does not ;; TODO: This tests fails because nbconvert does not
@@ -393,6 +391,12 @@ the namespace @code{/nbclassic/}.")
;; tornado.simple_httpclient.HTTPTimeoutError: Timeout ;; tornado.simple_httpclient.HTTPTimeoutError: Timeout
;; during request ;; during request
" and not test_connections") " and not test_connections")
;; AttributeError: 'TestContentsManager' object has no attribute
;; 'assertDictContainsSubset'
(string-append "--deselect=notebook/services/contents/tests/"
"test_manager.py::TestContentsManager::test_get")
(string-append "--deselect=notebook/services/contents/tests/"
"test_manager.py::TestContentsManagerNoAtomic::test_get")
;; These tests require a browser. ;; These tests require a browser.
"--ignore=notebook/tests/selenium") "--ignore=notebook/tests/selenium")
#:phases #:phases
@@ -437,15 +441,12 @@ the namespace @code{/nbclassic/}.")
python-tornado python-tornado
python-traitlets)) python-traitlets))
(native-inputs (native-inputs
(list python-coverage (list python-jupyter-server
python-jupyter-server
python-nbval python-nbval
python-pytest python-pytest
python-pytest-cov
python-requests python-requests
python-requests-unixsocket2 python-requests-unixsocket2
python-setuptools python-setuptools))
python-wheel))
(home-page "https://jupyter.org/") (home-page "https://jupyter.org/")
(synopsis "Web-based notebook environment for interactive computing") (synopsis "Web-based notebook environment for interactive computing")
(description (description
@@ -984,7 +985,6 @@ the JupyterLab CSS variables.")
python-openapi-spec-validator python-openapi-spec-validator
python-pytest python-pytest
python-pytest-console-scripts python-pytest-console-scripts
python-pytest-cov
python-pytest-jupyter python-pytest-jupyter
python-pytest-timeout python-pytest-timeout
python-requests-mock python-requests-mock
@@ -1236,7 +1236,6 @@ are interactive HTML widgets for Jupyter notebooks and the IPython kernel.")
(native-inputs (list python-ansi2html (native-inputs (list python-ansi2html
python-hatchling python-hatchling
python-pytest-console-scripts python-pytest-console-scripts
python-pytest-cov
python-pytest-xdist python-pytest-xdist
python-tornado)) python-tornado))
(home-page "https://github.com/jupyterlite/jupyterlite") (home-page "https://github.com/jupyterlite/jupyterlite")
@@ -1342,7 +1341,6 @@ and a default CommManager that can be used.")
python-flaky python-flaky
python-pytest python-pytest
python-pytest-asyncio python-pytest-asyncio
python-pytest-cov
python-testpath python-testpath
python-xmltodict)) python-xmltodict))
(home-page "https://jupyter.org") (home-page "https://jupyter.org")
@@ -1645,7 +1643,6 @@ Docker registry.")
(list python-jupyter-packaging (list python-jupyter-packaging
python-nbval python-nbval
python-pytest python-pytest
python-pytest-cov
python-setuptools)) python-setuptools))
(home-page "https://github.com/vidartf/ipydatawidgets") (home-page "https://github.com/vidartf/ipydatawidgets")
(synopsis "Widgets to help facilitate reuse of large datasets across widgets") (synopsis "Widgets to help facilitate reuse of large datasets across widgets")
@@ -1657,7 +1654,7 @@ datasets across widgets.")
(define-public python-papermill (define-public python-papermill
(package (package
(name "python-papermill") (name "python-papermill")
(version "2.6.0") (version "2.7.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@@ -1666,26 +1663,25 @@ datasets across widgets.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1i5zikvl9inficryqfz0v885v24pcs78cj5nzyjw0x232kxbj41p")))) (base32 "0lafh4lazx4rc3ly746bjflmihkzf9rhp788bni1l4vq12ks6a49"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; tests: 500 passed, 3 skipped, 2 deselected, 29 warnings ;; tests: 503 passed, 2 deselected, 226 warnings
#:test-flags #:test-flags
;; Do not bother testing Azure, AWS, and Google Cloud features. ;; Do not bother testing Azure, AWS, and Google Cloud features.
#~(list "--ignore=papermill/tests/test_abs.py" #~(list "--ignore=papermill/tests/test_abs.py"
"--ignore=papermill/tests/test_adl.py" "--ignore=papermill/tests/test_adl.py"
"--ignore=papermill/tests/test_gcs.py" "--ignore=papermill/tests/test_gcs.py"
"--ignore=papermill/tests/test_s3.py" "--ignore=papermill/tests/test_s3.py"
;; AssertionError #$@(map (lambda (ls)
#$@(map (lambda (test) (string-append "--deselect=" (string-append "--deselect=papermill/tests/"
"papermill/tests/" (string-join ls "::")))
"test_execute.py::" ;; AssertionError: 'error' != 'display_data'
test)) '(("test_execute.py" "TestBrokenNotebook2" "test")
(list "TestBrokenNotebook2::test" ;; NameError: name 'FileSelector' is not defined
"TestOutputFormatting::test_output_formatting"))))) ("test_hdfs.py" "HDFSTest" "test_hdfs_listdir"))))))
(propagated-inputs (list python-aiohttp (propagated-inputs (list python-aiohttp
python-ansicolors
python-click python-click
python-entrypoints python-entrypoints
python-nbclient python-nbclient
-1
View File
@@ -45,7 +45,6 @@
#:use-module (gnu packages sphinx) #:use-module (gnu packages sphinx)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module ((guix build-system python) #:select (pypi-uri))
#:use-module (guix build-system ruby)) #:use-module (guix build-system ruby))
(define-public libffi (define-public libffi
+2 -1
View File
@@ -33,6 +33,7 @@
#:use-module (gnu packages libusb) #:use-module (gnu packages libusb)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages swig) #:use-module (gnu packages swig)
#:use-module (gnu packages textutils)) #:use-module (gnu packages textutils))
@@ -95,7 +96,7 @@
"/html")))))) "/html"))))))
#:tests? #f)) ; tests fail without access to USB #:tests? #f)) ; tests fail without access to USB
(native-inputs (native-inputs
(list doxygen graphviz pkg-config python swig-4.0)) (list doxygen graphviz pkg-config python python-setuptools swig))
(inputs (inputs
(list boost libconfuse)) (list boost libconfuse))
(propagated-inputs (propagated-inputs
-1
View File
@@ -35,7 +35,6 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix download) #:use-module (guix download)
+3 -3
View File
@@ -43,7 +43,6 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
@@ -532,7 +531,8 @@ broken iOS devices.")
(inputs (inputs
(list python)) (list python))
(native-inputs (native-inputs
(list autoconf automake libtool pkg-config python-cython-0)) ; to build Python bindings (list autoconf automake libtool pkg-config
python-cython-0 python-setuptools)) ; to build Python bindings
(home-page "https://libimobiledevice.org/") (home-page "https://libimobiledevice.org/")
(synopsis "C library to handle Apple Property List files") (synopsis "C library to handle Apple Property List files")
(description "This package provides a small portable C library to handle (description "This package provides a small portable C library to handle
@@ -585,7 +585,7 @@ connections from and to iOS devices by connecting to a socket provided by a
(inputs (inputs
(list python)) (list python))
(native-inputs (native-inputs
(list pkg-config python-cython-0)) (list pkg-config python-cython-0 python-setuptools))
(home-page "https://libimobiledevice.org/") (home-page "https://libimobiledevice.org/")
(synopsis "Protocol library and tools to communicate with Apple devices") (synopsis "Protocol library and tools to communicate with Apple devices")
(description "libimobiledevice is a software library that talks the (description "libimobiledevice is a software library that talks the
-1
View File
@@ -37,7 +37,6 @@
#:use-module (gnu packages version-control) #:use-module (gnu packages version-control)
#:use-module (gnu packages web) #:use-module (gnu packages web)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
+4 -8
View File
@@ -218,7 +218,6 @@
#:use-module (guix build-system linux-module) #:use-module (guix build-system linux-module)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject) #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (guix deprecation) ;for libcap/next #:use-module (guix deprecation) ;for libcap/next
@@ -4914,7 +4913,7 @@ transparently through a bridge.")
(define-public libnl (define-public libnl
(package (package
(name "libnl") (name "libnl")
(version "3.7.0") (version "3.12.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@@ -4923,7 +4922,7 @@ transparently through a bridge.")
"/libnl-" version ".tar.gz")) "/libnl-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0faryrbvp0x4s2zhg5d78vd5q4w34lrr736gpm9wcwpaxv5krr4z")))) "066xq01y2mx0xi7bwa5y6ciw1ygla15qdlzzyvyzb8zijrqwllgw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("bison" ,bison) `(("bison" ,bison)
@@ -4938,7 +4937,7 @@ transparently through a bridge.")
(string-join (string-split version #\.) "_") (string-join (string-split version #\.) "_")
"/libnl-doc-" version ".tar.gz")) "/libnl-doc-" version ".tar.gz"))
(sha256 (sha256
(base32 "1ra8xdf06q9hlsrnc1yz67xkp4kd9sd27ff02mlixixnyyjp32sp")))))) (base32 "18f14pdycghy6fcd27faqgh19zpam6b45s8bgsk85kb9wwzq3yd4"))))))
(outputs `("out" "doc")) (outputs `("out" "doc"))
(arguments (arguments
`(#:phases `(#:phases
@@ -6828,10 +6827,7 @@ isolation or root privileges.")
(inputs (inputs
(list singularity)) (list singularity))
(native-inputs (native-inputs
(list python-pytest (list python-pytest python-setuptools python-wheel))
python-pytest-runner
python-setuptools
python-wheel))
(home-page "https://github.com/singularityhub/singularity-cli") (home-page "https://github.com/singularityhub/singularity-cli")
(synopsis "Singularity Python client") (synopsis "Singularity Python client")
(description "@code{python-spython} is a Python library to interact with (description "@code{python-spython} is a Python library to interact with
-1
View File
@@ -24,7 +24,6 @@
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
+33 -32
View File
@@ -82,9 +82,10 @@
#:use-module (guix hg-download) #:use-module (guix hg-download)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix build-system asdf) #:use-module (guix build-system asdf)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (guix build-system emacs) #:use-module (guix build-system emacs)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system trivial)
#:use-module (gnu packages audio) #:use-module (gnu packages audio)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
@@ -2894,37 +2895,37 @@ cartesian product.")
(search-patches "sbcl-burgled-batteries3-fix-signals.patch")))) (search-patches "sbcl-burgled-batteries3-fix-signals.patch"))))
(build-system asdf-build-system/sbcl) (build-system asdf-build-system/sbcl)
(arguments (arguments
`(#:tests? #f (list
#:modules (((guix build python-build-system) #:select (python-version)) #:tests? #f
#:imported-modules (append %asdf-build-system-modules
%pyproject-build-system-modules)
#:modules `(((guix build pyproject-build-system) #:prefix py:)
,@%asdf-build-system-modules) ,@%asdf-build-system-modules)
#:imported-modules ((guix build python-build-system) #:phases
,@%asdf-build-system-modules) #~(modify-phases (@ (guix build asdf-build-system) %standard-phases)
#:phases (add-after 'unpack 'set-*cpython-include-dir*-var
(modify-phases (@ (guix build asdf-build-system) %standard-phases) (lambda* (#:key inputs #:allow-other-keys)
(add-after 'unpack 'set-*cpython-include-dir*-var (let* ((lib (search-input-file inputs "/lib/libpython3.so"))
(lambda* (#:key inputs #:allow-other-keys) (base (dirname (dirname lib))))
(let ((python (assoc-ref inputs "python"))) (setenv "BB_PYTHON3_DYLIB" lib)
(setenv "BB_PYTHON3_INCLUDE_DIR" (setenv "BB_PYTHON3_INCLUDE_DIR"
(string-append python "/include/python" (string-append base "/include/python"
(python-version python))) (py:python-version base))))))
(setenv "BB_PYTHON3_DYLIB" (add-after 'unpack 'adjust-for-python-3.10
(string-append python "/lib/libpython3.so")) (lambda _
#t))) ;; These methods are no longer part of the public API.
(add-after 'unpack 'adjust-for-python-3.10 (substitute* "ffi-interface.lisp"
(lambda _ ((".*PyEval_ReInitThreads.*") "")
;; These methods are no longer part of the public API. ((".*\"PyErr_Warn\".*") "")
(substitute* "ffi-interface.lisp" ((".*\"PyFloat_ClearFreeList\".*") "")
((".*PyEval_ReInitThreads.*") "") ((".*\"PyParser_SimpleParseString\".*") "")
((".*\"PyErr_Warn\".*") "") ((".*\"PyParser_SimpleParseStringFlags\".*") "")
((".*\"PyFloat_ClearFreeList\".*") "") ((".*\"PyParser_SimpleParseStringFlagsFilename\".*") "")
((".*\"PyParser_SimpleParseString\".*") "") ((".*\"PyParser_SimpleParseFile\".*") "")
((".*\"PyParser_SimpleParseStringFlags\".*") "") ((".*\"PyParser_SimpleParseFileFlags\".*") "")
((".*\"PyParser_SimpleParseStringFlagsFilename\".*") "") ((".*\"PyLong_FromUnicode\".*") "")
((".*\"PyParser_SimpleParseFile\".*") "") ((".*\"PyUnicodeEncodeError_Create\".*") "")
((".*\"PyParser_SimpleParseFileFlags\".*") "") ((".*\"PyUnicodeTranslateError_Create\".*") "")))))))
((".*\"PyLong_FromUnicode\".*") "")
((".*\"PyUnicodeEncodeError_Create\".*") "")
((".*\"PyUnicodeTranslateError_Create\".*") "")))))))
(native-inputs (native-inputs
(list sbcl-cl-fad sbcl-lift sbcl-cl-quickcheck)) (list sbcl-cl-fad sbcl-lift sbcl-cl-quickcheck))
(inputs (inputs

Some files were not shown because too many files have changed in this diff Show More