gnu: rrdtool: Remove unneeded input.
* gnu/packages/rrdtool.scm (rrdtool)[inputs]: Remove gtk+-2.
Change-Id: Iee01e038f1361e763ea0df62625fb06b65ce45d5
swh: Fix docstring of ‘lookup-directory’.
* guix/swh.scm (lookup-directory): Fix docstring.
Change-Id: Ia1fd9b2bc9184364cebbd30ee84c9fdea4ba897c
git-download: Download from SWH by nar hash when possible.
* guix/build/git.scm (git-fetch-with-fallback): Add #:hash
and #:hash-algorithm. Try ‘swh-download-directory-by-nar-hash’ before
‘swh-download’ when #:hash is provided.
* guix/git-download.scm (git-fetch/in-band*): Pass #:hash
and #:hash-algorithm to ‘git-fetch-with-fallback’.
* guix/scripts/perform-download.scm (perform-git-download): Likewise.
Change-Id: Ic875a7022fd78c9fac32e92ad4f8ce4d81646ec5
lint: archival: Check with ‘lookup-directory-by-nar-hash’.
While this method is new and nar-sha256 ExtIDs are currently available
only for new visits, it is fundamentally more reliable than the other
methods, which is why it comes first.
* guix/lint.scm (check-archival)[lookup-by-nar-hash]: New procedure.
Call ‘lookup-by-nar-hash’ before the other lookup methods.
* tests/lint.scm ("archival: content available")
("archival: content unavailable but disarchive available")
("archival: missing revision")
("archival: revision available"): Add a 404 response corresponding to
the ‘lookup-external-id’ request.
* tests/lint.scm ("archival: nar-sha256 extid available"): New test.
Change-Id: I4a81d6e022a3b72e6484726549d7fbae627f8e73
swh: Add ‘swh-download-directory-by-nar-hash’.
This allows us to take advantage of content addressing by giving SWH the
expected nar hash.
* guix/swh.scm (swh-download-directory-by-nar-hash): New procedure.
Change-Id: I0494ee15a3cde390a22552de7c2246e0314ba7b5
swh: Add bindings for the “ExtID” API.
This interface was deployed at archive.softwareheritage.org a few days
ago. Our main use case will be looking up directories by “nar-sha256”
hashes.
* guix/swh.scm (<external-id>): New JSON-mapped record type.
(lookup-external-id, lookup-directory-by-nar-hash): New procedures.
* tests/swh.scm (%external-id): New variable.
("lookup-directory-by-nar-hash"): New test.
Change-Id: Ib671c7798aeb6f8132ac78f2b06b9285da8e7bd5
git authenticate: Gracefully handle invalid fingerprints.
Previously the command would crash when passed an invalid fingerprint on
the command line.
* guix/scripts/git/authenticate.scm (guix-git-authenticate)
[openpgp-fingerprint*]: New procedure.
Use it instead of ‘openpgp-fingerprint’.
Change-Id: I99e0549781382f36a684a84449b603e00b53778d
services: virtual-build-machine: Use a larger partition by default.
So far the partition had too little free space.
* gnu/services/virtualization.scm (%default-virtual-build-machine-image-size):
New variable.
(virtual-build-machine-default-image): Define ‘partitions’ field.
Change-Id: Iffe0f316eecad8754d29f8c811cdc4836a818a3f
services: virtual-build-machine: Add base file systems to default OS.
This provides /dev/pts and other things that are important for
builds (for example, Python 2.x has ‘openpty’ unit tests that can only
succeed when /dev/pts is available.)
* gnu/services/virtualization.scm (%virtual-build-machine-operating-system)
[file-systems]: Add %BASE-FILE-SYSTEMS.
Change-Id: I7d12a4cb491e957bf55e6c5f9dd09c013473ca42
gnu: ruby-3.2: Update to 3.2.3.
Fixes CVE-2023-36617 (ReDoS vulnerability in URI).
* gnu/packages/ruby.scm (ruby-3.2): Update to 3.2.3.
Signed-off-by: Andreas Enge <andreas@enge.fr>
Change-Id: I20d92f4b6e566466e5af087712e91d0ecc1735da
gnu: vpn-slice: Include required inputs "iproute" and "iptables".
vpn-slice expects commands "ip" and "iptables" to be found according to FHS
paths.
* gnu/packages/vpn.scm (vpn-slice)[arguments]: Include inputs "iproute" and
"iptables" and patch "vpn_slice/linux.py" to use correct locations in the
store.
Change-Id: Ia06e2bb99f060108cc0758e89174294bcbb2848d
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
gnu: guile-png: Update to 0.7.2.
* gnu/packages/guile-xyz.scm (guile-png): Update to 0.7.2.
Change-Id: Ic84b1472bdfdf47db26e0954b6135054290e49b0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: abjad-ext-rmakers: Simplify package.
* gnu/packages/music.scm (abjad-ext-rmakers) [build-system]: Swap to
pyproject-build-system.
[arguments]: Use standard 'check phase.
Change-Id: Ic2591fbe35d7479e120048d334cc202a5e1c9243
gnu: abjad-ext-rmakers: Fix build.
* gnu/packages/music.scm (abjad-ext-rmakers) [native-inputs]: Add
python-sphinx-autodoc-typehints.
Change-Id: Ide0e00b3c12180d341f1ed8052fb4e10a6504499
gnu: abjad-ext-nauert: Simplify package.
* gnu/packages/music.scm (abjad-ext-nauert) [build-system]: Swap to
pyproject-build-system.
[arguments]: Use standard 'check phase.
Change-Id: Ica32dd692964d200a81628e82a8333656dc10170
gnu: abjad-ext-nauert: Fix build.
* gnu/packages/music.scm (abjad-ext-nauert) [native-inputs]: Add
python-sphinx-autodoc-typehints.
Change-Id: Iec9dcbf1127ef7dc7b3bcd5a4be9eada51424f4a
gnu: python-pytest-socket: Simplify package, enable tests.
* gnu/packages/python-check.scm (python-pytest-socket) [build-system]:
Swap to pyproject-build-system.
[arguments] <#:test-flags>: Disable tests requiring network
access. <#:phases>: Use standard phases.
Change-Id: Ib7fe0b3dab4e269c00856a10b8ca23acc8c8e180
gnu: python-pyinstrument: Enable tests.
* gnu/packages/python-check.scm (python-pyinstrument) [build-system]:
Swap to pyproject-build-system.
[native-inputs]: Add python-greenlet.
Change-Id: I1cd0c3e906fbbdc561e66bae9fe35333f61801cf
gnu: python-pyinstrument: Update to 4.6.2.
* gnu/packages/python-check.scm (python-pyinstrument): Update to 4.6.2.
Change-Id: I28e147272f273c04f7221f6d4f70677aee9a3747