* gnu/packages/python-xyz.scm (python-unique-log-filter)[arguments]
<test-backend>: Use custom.
<test-flags>: Move here from custom 'check phase.
<phases>: Use default 'check.
Change-Id: If27a05c0cb1ff76f98665ccc49d474d6feb8f4d6
* gnu/packages/python-xyz.scm (poetry): Move from here ...
* gnu/packages/package-management.scm: ... to here.
Change-Id: I40e76ac0b8ddc38ea80b48f8f7ad867c43809481
* gnu/packages/python-xyz.scm (python-pynixutil)[source] <snippet>: Drop
it and ignore test file in <#:test-flags> instead.
[arguments] <test-flags>: Ignore test file requiring Nix.
<phases>: Add 'use-poetry-core.
[native-inputs]: Remove poetry; add python-poetry-core.
Change-Id: I9691533aaff6e5217fe7497056c2b4cab0cf98f4
* gnu/packages/protobuf.scm (python-nanopb)[build-system]: Switch to
pyproject-build-system.
[arguments] <phases>: Add 'use-poetry-core, and 'pre-build; use default
'build and 'install.
[native-inputs]: Remove poetry, and python-pypa-build; add
python-poetry-core, and python-setuptools.
Change-Id: I67f57a7d4d89c69faca2be689f07a42a61c8d4fb
* gnu/packages/python-xyz.scm (python-userspacefs)[build-system]: Switch
to pypproejct-build-system.
[native-inputs]: Add python-setuptools.
[home-page]: Upstream move development away from GitHub to it's own
repository.
Change-Id: Ie659f21c206f50d6808b92ddedd531c2ff4fc250
It fails to build on master tip; further, upstreamn is archived since at least
2024-12-02.
* gnu/packages/kde-pim.scm (kpeoplevcard): Delete variable.
Change-Id: I2650ac856a193daca738686ce6d2d37e5fb19e7b
Signed-off-by: Sughosha <sughosha@disroot.org>
* gnu/packages/bootloaders.scm (grub): Rename to make-grub.
[arguments]: Adjust configure-flags to pass a platform flag. Don't
disable the tests on armhf and aarch64.
(grub-pc): New variable.
(grub): Set to grub-pc.
(grub-minimal, grub-coreboot, grub-efi, grub-emu): Rewrite to use
make-grub.
* etc/manifests/release.scm (%bootloader-packages): Rename the grub
package.
Change-Id: If020356cb1f8fec885df5732713078ebe4ffec96
* gnu/packages/bootloaders.scm (grub-efi)[arguments]: Adjust the
'patch-ovmf-path phase to also check the native-inputs.
Change-Id: I5f547821480d3d6c9d46e6c9f35d7dad6d3c6e89
This corresponds to "_PATH_MOUNTED" in paths.h from libc.
* gnu/build/hurd-boot.scm (set-hurd-device-translators): Change etc/mtab to var/run/mtab.
Change-Id: I688289fe4b8143ae14a8eef5ba1625c4ebd2a209
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/guile-xyz.scm (guile-extensible-match)[synopsis]: Fix typo
"patter" to "pattern".
[license]: Use CC0 according to the request from package author.
Change-Id: I01d5a1a96c94b08f08b9cd8cba14422547d72baa
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/monitoring.scm (fatrace): Update to 0.19.1.
[arguments]<#:phases>: Use gexps.
[arguments]<#:phases>: Do not delete check.
[arguments]<#:tests?>: Set to #f.
Change-Id: I835241873553d9f057b8abeb10e89f20660d2b31
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
While 'url-fetch*' in (guix download) special-cases these URIs, 'git-fetch'
does not. Consequently, the recent changes to (guix scripts perform-download)
that disallow these URIs cause tests that use builtin:git-download to fail.
* guix/tests/git.scm (serve-git-repository, call-with-served-git-repository):
new procedures.
(with-served-git-repository, with-served-temporary-git-repository): new
syntax.
* .dir-locals.el (scheme-mode): add indentation information for
'with-served-git-repository'.
* tests/builders.scm ("git-fetch, file URI"): use git:// URI with
'with-served-temporary-git-repository'.
* tests/derivations.scm ("'git-download' build-in builder, invalid hash",
"'git-download' built-in builder, invalid commit", "'git-download' built-in
builder, not found"): same.
("'git-download' built-in builder"): same, and use a nonce in the repo
contents so that success isn't cached.
Change-Id: Id3e1233bb74d5987faf89c4341e1d37f09c77c80
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
In the case of the rootless daemon, perform-download runs as the daemon user.
There are files - such as /etc/guix/signing-key.sec - that guix-daemon can
read but that it is essential that ordinary users cannot.
Currently url-fetch can't access raw filenames, and it doesn't include a case
for "file://" urls. 'git-fetch-with-fallback' can fetch from "file://" urls,
but it requires that the specified url is a valid git repository.
To be on the safe side, and to insulate against any changes to what url-fetch
and git support, explicitly disallow raw filenames and "file://" urls.
* guix/scripts/perform-download.scm (assert-non-local-urls): new procedure.
(perform-download, perform-git-download): use it.
Change-Id: Ibf2a91e696246eccb89c2423fcbcabb2131d3be5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Git's option parsing is more flexible than its command synopses would lead one
to believe: they can apparently be passed even after positional arguments.
Some of these options can be quite nasty if an attacker is able to choose
them.
Additionally, some commands offer no way of disambiguating the meaning of an
argument. For example, "git checkout" has no way of specifying that an
argument should be unconditionally treated as a commit specifier instead of,
say, an option or a filespec.
* guix/build/git.scm (git-fetch): pass "--" to every git invocation that
includes non-constant strings. Explicitly reject commits that start with
"-".
Change-Id: I3b1707ff8f8544925d1549472f0bda7954249f89
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/luanti.scm (luanti-voxelibre): Update to 0.90.1.
[synopsis]: Do not start with article.
[description]: Use double spaces between sentences.
Change-Id: I135a8e0eb9e1af44d5a9feeba6827579be968baa
* gnu/packages/python-web.scm (python-fastapi-pagination)[arguments]
<test-flags>: Skip some tests requiring network access and provide
"--asyncio-mode=auto".
Change-Id: I788b0656cba44729984a6c1f8dcbd8a276967b7a
* gnu/packages/django.scm (python-django-allauth): Update to 65.7.0,
the first version that officially supports Django 5.2.
[native-inputs]: Add python-pytest-asyncio.
Change-Id: I088abf44da232ade8e7ac5ba8ac3dd9098dd2628
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>