Commit graph

113288 commits

Author SHA1 Message Date
Bruno Victal 05b22726ea
gnu: usbutils: Use G-Expressions.
* gnu/packages/linux.scm (usbutils): Use G-Expressions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-19 20:12:21 -04:00
mikadoZero d89e642e84
gnu: usbutils: Make package description different from synopsis.
* gnu/packages/linux.scm (usbutils)[description]:  Change package description.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-19 20:12:20 -04:00
Saku Laesvuori 88a59bb929
gnu: Add kitsas.
* gnu/packages/finance.scm (kitsas): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-04-19 20:12:20 -04:00
Ludovic Courtès 6d6add5f8f
ssh: Silence remote daemon messages when sending store items.
Fixes <https://issues.guix.gnu.org/61839>.

Previously, when running 'guix-daemon --debug' on the remote machine,
lots of debugging outputs would be printed to stderr; since the client
wouldn't read it, we could eventually reach a deadlock where the 'guix
repl' process would be stuck writing to stderr while the client is
stuck waiting on its stdout.

* guix/ssh.scm (store-import-channel)[import]: Parameterize
'current-build-output-port'.
2023-04-19 20:12:20 -04:00
Ludovic Courtès e95e65541a
substitute: Download nar from another server upon ETIMEDOUT.
Previously, 'guix substitute' would fail abruptly with something like:

  guix substitute: warning: while fetching https://ci.guix.gnu.org/nar/lzip/…-example: server is somewhat slow
  guix substitute: warning: try `--no-substitutes' if the problem persists
  guix substitute: error: connect*: Connection timed out
  substitution of /gnu/store/…-example failed

* guix/scripts/substitute.scm (network-error?): Add ETIMEDOUT.
2023-04-19 20:12:20 -04:00
Ludovic Courtès 2886a59d18
services: agetty: 'term-console' succeeds by default.
Previously, on a typical setup without "console=ttyS0" or similar in
'kernel-arguments', the 'term-console' Shepherd service would always be
marked as failing to start.  This is undesirable because it raises a
false alarm: the service is expected to do nothing in this case.

This patch instead marks it as succeeding and logs a message explaining
it's doing nothing.

* gnu/services/base.scm (agetty-shepherd-service): In 'start' method,
succeed when TTY is #f and print a message.
2023-04-19 20:12:20 -04:00
Ludovic Courtès abdf812acc
environment: Really auto-load (guix scripts pack).
Fixes a performance regression on cache hits introduced in
b31ea797ed, whereby (guix scripts pack)
would be loaded eagerly during startup, leading hundreds of (gnu
packages *) modules to be loaded.

Fixes <https://issues.guix.gnu.org/62899>.

* guix/scripts/environment.scm: Autoload (gnu build install).
(%options): Add indirection when calling 'symlink-spec-option-parser' so
that (guix scripts pack) is auto-loaded only when needed.
2023-04-19 20:12:19 -04:00
Nicolas Goaziou 72096b7330
gnu: Add converseen.
* gnu/packages/image.scm (converseen): New variable.
* gnu/packages/patches/converseen-hide-non-free-pointers.patch:
* gnu/packages/patches/converseen-hide-updates-checks.patch: New files.
* gnu/local.mk: Register files above.
2023-04-19 20:12:19 -04:00
Maxim Cournoyer e10e277f7a
gnu: python-anyio: Update to 3.6.2.
* gnu/packages/python-xyz.scm (python-anyio): Update to 3.6.2.
2023-04-19 20:12:19 -04:00
Maxim Cournoyer dd375f7075
gnu: font-meera-inimai: Use gexps and remove labels.
* gnu/packages/fonts.scm (font-meera-inimai) [native-inputs]: Remove labels.
[arguments]: Use gexps.
2023-04-19 20:12:19 -04:00
Maxim Cournoyer af015334d1
gnu: python-fonttools-full: Rename to python-fonttools.
* gnu/packages/python-xyz.scm (python-fonttools): Rename to...
(python-fonttools-minimal): ... this.
(python-fonttools-full): Adjust references to base package.  Rename to...
(python-fonttools): ... this.
(python-matplotlib):
* gnu/packages/fontutils.scm (python-cu2qu) [propagated-inputs]: Rename
python-fonttools-full to python-fonttools.
(python-ufolib2, python-defcon-bootstrap): Likewise.
* gnu/packages/pdf.scm (weasyprint): Likewise.
* gnu/packages/fonts.scm (font-meera-inimai) Adjust for renamed
python-fonttools-minimal.
* gnu/packages/fontutils.scm (python-cffsubr): Likewise.
(python-compreffor, python-cu2qu, python-fontmath, python-fontpens-bootstrap)
(python-fontparts-bootstrap, python-glyphsets, python-mutatormath)
(python-ufoprocessor, graphite2, python-ufolib2)
(python-defcon-bootstrap): Likewise.
* gnu/packages/graphics.scm (python-booleanoperations): Likewise.
2023-04-19 20:12:18 -04:00
Maxim Cournoyer 00a328847a
gnu: python-fonttools: Update to 4.39.3.
This should have been already merged but was left out in a conflict
resolution.

* gnu/packages/python-xyz.scm (python-fonttools): Update to 4.39.3.
2023-04-19 20:12:18 -04:00
Maxim Cournoyer 798d91df26
gnu: python-scikit-build: Update to 0.17.1.
* gnu/packages/python-xyz.scm (python-scikit-build): Update to 0.17.1.
[source]: Update URI.
[arguments]: Update check phase override.
[native-inputs]: Add python-hatchling, python-hatch-fancy-pypi-readme and
python-hatch-vcs.
[propagated-inputs]: Add python-tomli.
2023-04-19 20:12:18 -04:00
Maxim Cournoyer 53416dbe59
gnu: Add python-hatch-fancy-pypi-readme.
* gnu/packages/python-build.scm (python-hatch-fancy-pypi-readme): New variable.
2023-04-19 20:12:18 -04:00
Maxim Cournoyer 2c54d3f489
gnu: gfeeds: Update to 2.2.0.
* gnu/packages/syndication.scm (gfeeds): Update to 2.2.0.
[phases]: Fix skip-icon-cache phase.  Use search-input-file in wrap-gfeeds.
2023-04-19 20:12:18 -04:00
Maxim Cournoyer 592c6523b7
gnu: python-pytest-trio: Update to 0.8.0.
* gnu/packages/python-check.scm (python-pytest-trio): Update to 0.8.0.
[arguments]: New relax-requirements phase.  Delete extraneous
add-installed-pythonpath call.  Disable two new tests.
2023-04-19 20:12:17 -04:00
Maxim Cournoyer ba9551073b
gnu: python-aiohttp: Update to 3.8.4.
* gnu/packages/python-web.scm (python-aiohttp): Update to 3.8.4.
[arguments]: Adjust comments in fix-tests phase.  Skip/ignore more tests in
check phase.  Remove extraneous or (it wouldn't have worked with invoke
anyway).
[propagated-inputs]: Add python-asynctest.  Remove python-typing-extensions.
2023-04-19 20:12:17 -04:00
Maxim Cournoyer 0a5da1d655
gnu: python-pyzmq: Disable two tests to fix build.
* gnu/packages/python-xyz.scm (python-pyzmq) [arguments]: Rename
disable-draft-test to disable-problematic-tests, and disable two extra tests.
2023-04-19 20:12:17 -04:00
Maxim Cournoyer 718b4687c9
gnu: python-aiosignal: Update to 1.3.1.
* gnu/packages/python-web.scm (python-aiosignal): Update to 1.3.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:phases.  Add #:test-flags.
[native-inputs]: Add python-pytest-cov.
2023-04-19 20:12:17 -04:00
Maxim Cournoyer e27acc6fc7
gnu: python-pytest-asyncio: Update to 0.21.0.
* gnu/packages/check.scm (python-pytest-asyncio): Update to 0.21.0.
[build-system]: Use pyproject-build-system.
[arguments]: Set #:tests? to #f.  Remove check phase override.
[native-inputs]: Remove now unused python-async-generator, python-flaky,
python-hypothesis and python-pytest.
[propagated-inputs]: Add python-pytest.
2023-04-19 20:12:17 -04:00
Maxim Cournoyer 5ae2e2ce9a
gnu: python-aiodns: Update to 3.0.0.
* gnu/packages/python-web.scm (python-aiodns): Update to 3.0.0.
2023-04-19 20:12:16 -04:00
Maxim Cournoyer d0228051b6
gnu: python-pycares: Update to 4.3.0.
* gnu/packages/python-web.scm (python-pycares): Update to 4.3.0.
[propagated-inputs]: New field.
2023-04-19 20:12:16 -04:00
Maxim Cournoyer 3c232c1361
gnu: Add python-asynctest.
* gnu/packages/python-xyz.scm (python-asynctest): New variable.
2023-04-19 20:12:16 -04:00
Maxim Cournoyer 96be62d2ed
gnu: python-typing-extensions: Update to 4.5.0.
* gnu/packages/python-build.scm (python-typing-extensions): Update to 4.5.0.
[home-page]: Update URL.
2023-04-19 20:12:16 -04:00
Maxim Cournoyer ffef022d65
gnu: python-numpydoc: Update to 1.5.0.
* gnu/packages/python-xyz.scm (python-numpydoc): Update to 1.5.0.
[arguments]: Delete relax-requirements phase.
2023-04-19 20:12:16 -04:00
Maxim Cournoyer d477018b57
gnu: poetry: Update to 1.1.12.
* gnu/packages/python-xyz.scm (poetry): Update to 1.1.12.
[arguments]: Delete phases.
(python-msgpack-transitional): Delete variable.
2023-04-19 20:12:15 -04:00
Maxim Cournoyer 52e8f4d426
gnu: python-isort: Use gexps.
* gnu/packages/python-xyz.scm (python-isort) [arguments]: Use gexps.
Delete extraneous add-installed-pythonpath call in check phase.
2023-04-19 20:12:15 -04:00
Maxim Cournoyer 2e6da431e2
gnu: python-isort: Update to 5.12.0.
* gnu/packages/python-xyz.scm (python-isort): Update to 5.12.0.
[arguments]: Delete loosen-requirements phase.  Streamline
install-example-plugins phase.
2023-04-19 20:12:15 -04:00
Maxim Cournoyer f91ce478f4
gnu: python-packaging: Remove labels.
* gnu/packages/python-xyz.scm (python-packaging)
[native-inputs]: Remove labels.
[propagated-inputs]: Likewise.
2023-04-19 20:12:15 -04:00
Maxim Cournoyer 118f7d0b8b
gnu: qtbase: Disable unstable tst_qpauseanimation test.
* gnu/packages/qt.scm (qtbase) [arguments]: Disable tst_qpauseanimation in
check phase.
2023-04-19 20:12:15 -04:00
Maxim Cournoyer e1c48cb6bf
gnu: opendht: Fix build.
* gnu/packages/networking.scm (opendht) [arguments]: Add delete-autogen phase.
2023-04-19 20:12:15 -04:00
Maxim Cournoyer ad0b0b2c41
gnu: python-pytest-benchmark: Update to 4.0.0.
* gnu/packages/python-check.scm (python-pytest-benchmark): Update to 4.0.0.
2023-04-19 20:12:14 -04:00
Maxim Cournoyer ff85597812
gnu: python-execnet: Update to 1.9.0-1.d6aa1a5.
* gnu/packages/patches/python-execnet-read-only-fix.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
* gnu/packages/python-xyz.scm (python-execnet): Update to 1.9.0-1.d6aa1a5.
[source]: Remove patch.  Fetch from git.
[build-system]: Use pyproject-build-system.
[arguments]: Remove check phase override.  Add adjust-for-pytest-7.2+,
pretend-version and prepare-for-tests phases.
[native-inputs]: Add python-hatchling, python-hatchling-vcs, python-py and
python-pytest-timeout.
2023-04-19 20:12:14 -04:00
Maxim Cournoyer 2bf851e4b8
gnu: Add python-hatch-vcs.
* gnu/packages/python-build.scm (python-hatch-vcs): New variable.
2023-04-19 20:12:14 -04:00
Maxim Cournoyer 545b9548d5
gnu: python-hatchling: Update to 1.14.0.
* gnu/packages/python-build.scm (python-hatchling): Update to 1.14.0.
[arguments]: Replace do-not-depend-on-hatchling phase with add-src-to-path.
[description]: Expound.
2023-04-19 20:12:14 -04:00
Maxim Cournoyer 59deb3878a
gnu: python-hatchling: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-hatchling): Move to...
* gnu/packages/python-build.scm (python-hatchling): ... here.
2023-04-19 20:12:14 -04:00
Maxim Cournoyer 5106860692
gnu: python-flit-scm: Update to 1.7.0.
* gnu/packages/python-build.scm (python-flit-scm): Update to 1.7.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:phases.  Add #:build-backend.
[native-inputs]: Delete field.
2023-04-19 20:12:13 -04:00
Maxim Cournoyer dc2f26edae
gnu: python-setuptools-scm: Update to 7.1.0.
* gnu/packages/python-build.scm (python-setuptools-scm): Update to 7.1.0.
[arguments]: Disable tests.
[propagated-inputs]: Add python-typing-extensions.  Remove input labels.
2023-04-19 20:12:13 -04:00
Maxim Cournoyer 9df900341f
gnu: python-typing-extensions: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-typing-extensions): Move to...
* gnu/packages/python-build.scm (python-typing-extensions): ... here.
2023-04-19 20:12:13 -04:00
Maxim Cournoyer 3928e3d426
gnu: Remove python-typing-extensions-next.
* gnu/packages/python-xyz.scm (python-typing-extensions-next): Delete variable.
2023-04-19 20:12:13 -04:00
Maxim Cournoyer d37747beda
gnu: python-typing-extensions: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-typing-extensions)
[arguments]: Remove #:phases argument.
[native-inputs]: Remove python-pypa-build.
2023-04-19 20:12:13 -04:00
Maxim Cournoyer 66ffbaa409
gnu: python-flit-core-bootstrap: Update to 3.8.0.
* gnu/packages/python-build.scm (python-flit-core-bootstrap): Update to 3.8.0.
[home-page]: Update URL.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer 21d6985a8b
gnu: python-poetry-core: Update to 1.5.2.
* gnu/packages/python-build.scm (python-poetry-core): Update to 1.5.2.
[source]: Adjust URL.
[build-system]: Use pyproject-build-system.
[arguments]: New field.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer 51b1a70b71
gnu: python-pep517-bootstrap: Add TODO comment.
* gnu/packages/python-build.scm (python-pep517-bootstrap): Add TODO comment.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer 8849d131a1
gnu: python-wheel: Update to 0.40.0.
* gnu/packages/python-build.scm (python-wheel): Update to 0.40.0.
[home-page]: Update URL.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer 35e026a68a
gnu: python-setuptools: Update to 67.6.1.
* gnu/packages/python-build.scm (python-setuptools): Update to 67.6.1.
2023-04-19 20:12:12 -04:00
Maxim Cournoyer 43b0388ed0
gnu: python-pip: Update to 23.1.
* gnu/packages/python-build.scm (python-pip): Update to 23.1.
2023-04-19 20:12:11 -04:00
Maxim Cournoyer a454ca06b8
gnu: python-tomli-w: Use pyproject-build-system.
* gnu/packages/python-build.scm (python-tomli-w) [build-system]: Use
pyproject-build-system.
[arguments]: Remove #:phases arguments.
2023-04-19 20:12:11 -04:00
Maxim Cournoyer 87d9374807
gnu: python-tomli: Update to 2.0.1.
* gnu/packages/python-build.scm (python-tomli): Update to 2.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove build and install phase overrides.  Add add-self-to-path.
[native-inputs]: Remove python-pypa-build and input labels.
2023-04-19 20:12:11 -04:00
Maxim Cournoyer 19c178e35f
gnu: python-pathspec: Update to 0.11.1.
* gnu/packages/python-build.scm (python-pathspec): Update to 0.11.1.
[home-page]: Update URL.
2023-04-19 20:12:11 -04:00