Commit graph

131004 commits

Author SHA1 Message Date
Timothy Sample
5f86eebd24
gnu: disarchive: Update to 0.6.0.
* gnu/packages/backup.scm (disarchive): Update to 0.6.0; add
'guile-bzip2' as an input.
* gnu/packages/package-management.scm (guix): Add 'guile-bzip2' as
an input to enable bzip2 support when using Disarchive.
* guix/self.scm (%packages): Add 'guile-bzip2'.
(compiled-guix): Include 'guile-bzip2' as a dependency when building
the 'guix' command.
* etc/disarchive-manifest.scm (tarball-origin?): Include bzip2
tarballs.

Co-authored-by: Ludovic Courtès <ludovic.courtes@inria.fr>
Change-Id: I4da479054f6bef225f5ea979c091152f8a9e51d5
2024-02-12 21:26:01 -06:00
Timothy Sample
94c0eeea49
gnu: Add guile-bzip2.
* gnu/packages/guile.scm (guile-bzip2): New package.

Change-Id: I450395f6699d4b622c8043c17a197c799255a9bb
2024-02-12 21:25:55 -06:00
Sharlatan Hellseher
ffc7650c11
gnu: nebula: Use G-expressions.
* gnu/packages/networking.scm (nebula) [arguments]: Use G-expressions.
<#:phases>: Set version during build time.

Change-Id: I0cda81f952e3543ac2a01d5d917df4944ac82950
2024-02-12 23:33:23 +00:00
Alexey Abramov
ace1785c5d
gnu: nebula: Update to 1.8.2.
* gnu/packages/networking.scm (nebula): Update to 1.8.2.
[arguments]: <#:go>: Use go-1.20.
[inputs]: Remove go-github-com-imdario-mergo. Add go-dario-cat-mergo.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ifab21622036f1d09dc61c687142f21515dd4f688
2024-02-12 23:33:23 +00:00
Dominic Martinez
082e13017d
gnu: Add nebula.
* gnu/packages/networking.scm (nebula): New variable.

Co-authored-by: Alexey Abramov <levenson@mmer.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I3b38d3e6255efd18d88b1762db7bf5c8b6f46b1c
2024-02-12 23:33:23 +00:00
Alexey Abramov
062a4a49db
gnu: Add go-dario-cat-mergo.
This is a new version of go-github-com-imdario-mergo. It was renamed and
now used as dario.cat/mergo in tests and other places.

* gnu/packages/golang.scm (go-dario-cat-mergo): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I10cf6c962441535493889820543d29a9a9b20e98
2024-02-12 23:33:23 +00:00
Sharlatan Hellseher
9cdcf7c6f9
gnu: go-github-com-stathat-go: Move to golang-xyz.
* gnu/packages/syncthing.scm (go-github-com-stathat-go): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I804043f512b60665233fba61da3f2225042d8d65
2024-02-12 23:33:23 +00:00
Sharlatan Hellseher
3da105865c
gnu: go-github-com-rcrowley-go-metrics: Move to golang-xyz.
* gnu/packages/syncthing.scm (go-github-com-rcrowley-go-metrics): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Id153e4b8295c1430077941c5e4ee854ef28a56fa
2024-02-12 23:33:23 +00:00
Sharlatan Hellseher
ae60a953d6
gnu: go-github-com-prometheus-client-model: Move to golang-xyz.
* gnu/packages/syncthing.scm (go-github-com-prometheus-client-model):
Move from here
* gnu/packages/golang-xyz.scm: ... to here.

* gnu/packages/golang.scm: Add (gnu packages golang-xyz) module.
* gnu/packages/ipfs.scm: As above.
* gnu/packages/networking.scm: As above.

Change-Id: Ibf79be7fd49acc8fc88bf2411a4d7d89b44713d0
2024-02-12 23:33:23 +00:00
Dominic Martinez
ac9044699a
gnu: Add go-github-com-skip2-go-qrcode.
* gnu/packages/golang-xyz.scm (go-github-com-skip2-go-qrcode): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I3510982cdbc7b540281c0b0f074c1cb140ce249b
2024-02-12 23:33:23 +00:00
Dominic Martinez
9a938589d1
gnu: Add go-github-com-songgao-water.
* gnu/packages/golang-xyz.scm (go-github-com-songgao-water): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: If08b2994f932b604d2d537e7d3d02e90934542fb
2024-02-12 23:33:23 +00:00
Dominic Martinez
7e4aebc39b
gnu: Add go-github-com-nbrownus-go-metrics-prometheus.
* gnu/packages/golang-xyz.scm (go-github-com-nbrownus-go-metrics-prometheus): New
variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I1fbaa3a54c761bbdb440ca211d76f6c43b4434ce
2024-02-12 23:33:22 +00:00
Dominic Martinez
eeda1c1cbc
gnu: Add go-github-com-miekg-dns.
* gnu/packages/golang-xyz.scm (go-github-com-miekg-dns): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I095c6a7a709614d2cbd1feb9488dfee47a35da57
2024-02-12 23:33:22 +00:00
Dominic Martinez
a90bc5030d
gnu: Add go-github-com-cyberdelia-go-metrics-graphite.
* gnu/packages/golang-xyz.scm (go-github-com-cyberdelia-go-metrics-graphite): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Id77785387b23a8317b21c2a7f7114f1c1aa6328b
2024-02-12 23:33:22 +00:00
Dominic Martinez
3fa6971f2c
gnu: Add go-github-com-armon-go-radix.
* gnu/packages/golang-xyz.scm (go-github-com-armon-go-radix): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Iee5b73c53cca088a05563377b691d607cc745b0e
2024-02-12 23:33:22 +00:00
Dominic Martinez
0969cb0b48
gnu: Add go-github-com-anmitsu-go-shlex.
* gnu/packages/golang-xyz.scm (go-github-com-anmitsu-go-shlex): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I75f63d866fb8c6cd8e80ac48fc207236d839a028
2024-02-12 23:33:07 +00:00
Ricardo Wurmus
bb4f0509b7
gnu: mutter: Disable one test when building for i686-linux.
This test no longer fails in future versions, so this is only a temporary
workaround.

* gnu/packages/gnome.scm (mutter)[arguments]: Conditionally disable the
activation test on i686-linux.

Change-Id: Ic8552355971b9926b7f72c228edf881a1c0cea1e
2024-02-12 22:04:22 +01:00
Denis 'GNUtoo' Carikli
bb92a4d7bc
gnu: debootstrap: use trisquel-keyring.
* gnu/packages/debian.scm (debootstrap): [arguments]: In 'patch-source'
phase, use trisquel-keyring.
[inputs]: Add trisquel-keyring, zstd.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I43d5543db4374b373dac65f65cfcef6a3df3b5bf
2024-02-12 14:41:46 +02:00
Denis 'GNUtoo' Carikli
15a9652e74
gnu: Add trisquel-keyring.
* gnu/packages/debian.scm (trisquel-keyring): New variable.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-02-12 14:41:46 +02:00
Efraim Flashner
3876c3a7c2
gnu: rrdtool: Remove unneeded input.
* gnu/packages/rrdtool.scm (rrdtool)[inputs]: Remove gtk+-2.

Change-Id: Iee01e038f1361e763ea0df62625fb06b65ce45d5
2024-02-12 14:41:46 +02:00
Ludovic Courtès
5a61ce6bcf
swh: Fix docstring of ‘lookup-directory’.
* guix/swh.scm (lookup-directory): Fix docstring.

Change-Id: Ia1fd9b2bc9184364cebbd30ee84c9fdea4ba897c
2024-02-12 12:03:53 +01:00
Ludovic Courtès
264fdbcaff
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
2024-02-12 12:03:53 +01:00
Ludovic Courtès
29f3089c84
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
2024-02-12 12:03:53 +01:00
Ludovic Courtès
1b72e14307
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
2024-02-12 12:03:53 +01:00
Ludovic Courtès
be773bd192
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
2024-02-12 12:03:53 +01:00
Ludovic Courtès
1610a632d4
swh: ‘vault-fetch’ follows redirects.
Today, URLs like
https://archive.softwareheritage.org/api/1/vault/flat/swh:1:dir:84a8b34591712c0a90bab0af604188bcd1fe3153/raw/
redirect to https://swhvaultstorage.blob.core.windows.net/….  This
change fixes ‘vault-fetch’ to follow these.

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

* guix/swh.scm (http-get/follow): New procedure.
(vault-fetch): Use it instead of ‘http-get*’.

Change-Id: Id6b9585a9ce6699a2274b99c9a6d4edda1018b02
2024-02-12 12:03:52 +01:00
Ludovic Courtès
5bd5bb5f6c
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
2024-02-12 12:03:52 +01:00
Ludovic Courtès
e0ade40c2b
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
2024-02-12 12:03:52 +01:00
Ludovic Courtès
15fd5d6c3f
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
2024-02-12 12:03:52 +01:00
Remco van 't Veer
faeae5114c
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
2024-02-12 11:49:11 +01:00
Allan Adair
bd9da70212
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>
2024-02-12 09:08:11 +01:00
Artyom V. Poptsov
c4372f7ebf
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>
2024-02-11 21:12:52 +00:00
Sharlatan Hellseher
ab3da80ae1
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
2024-02-11 21:03:07 +00:00
Sharlatan Hellseher
d0671703b6
gnu: abjad-ext-rmakers: Fix build.
* gnu/packages/music.scm (abjad-ext-rmakers) [native-inputs]: Add
python-sphinx-autodoc-typehints.

Change-Id: Ide0e00b3c12180d341f1ed8052fb4e10a6504499
2024-02-11 21:03:07 +00:00
Sharlatan Hellseher
70a43b328f
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
2024-02-11 21:03:06 +00:00
Sharlatan Hellseher
850bf6d65f
gnu: abjad-ext-nauert: Fix build.
* gnu/packages/music.scm (abjad-ext-nauert) [native-inputs]: Add
python-sphinx-autodoc-typehints.

Change-Id: Iec9dcbf1127ef7dc7b3bcd5a4be9eada51424f4a
2024-02-11 21:03:06 +00:00
Sharlatan Hellseher
592a6e1ceb
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
2024-02-11 21:03:06 +00:00
Sharlatan Hellseher
5ccae1ae44
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
2024-02-11 21:03:06 +00:00
Sharlatan Hellseher
bcd9a40c49
gnu: python-pyinstrument: Update to 4.6.2.
* gnu/packages/python-check.scm (python-pyinstrument): Update to 4.6.2.

Change-Id: I28e147272f273c04f7221f6d4f70677aee9a3747
2024-02-11 21:03:06 +00:00
Sharlatan Hellseher
120e2a64da
gnu: python-pytest-csv: Simplify package.
* gnu/packages/python-check.scm (python-pytest-csv) [build-system]: Swap
to pyproejct-build-system.
[arguments]: Use standard 'check phase.

Change-Id: Iae04747b117bf5b5f9fb3c8b57cd40b8822edd77
2024-02-11 21:03:06 +00:00
Sharlatan Hellseher
a3f02bc780
gnu: python-beartype: Simplify package.
* gnu/packages/python-check.scm (python-beartype) [build-system]: Swap
to pyproject-build-system.
[arguments]: Use standard 'check phase and <#:test-flags>.

Change-Id: I372c5be3b142f0e25d15fd2bac20fc9cd4d8030c
2024-02-11 21:03:06 +00:00
Troy Figiel
579a1a8c02
gnu: Add python-pandas-vet.
* gnu/packages/python-xyz.scm (python-pandas-vet): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-02-11 21:03:06 +00:00
Ricardo Wurmus
4bab3a2602
gnu: google-highway: Fix tests on i686-linux.
The tests are supposed to be skipped when there are problems with excess
precision.

* gnu/packages/cpp.scm (google-highway)[arguments]: Modify phases when
building for i686-linux to conditionally patch the tests.

Change-Id: I6381a8c9f65196fd1d7d4e4130d784863b634df5
2024-02-11 21:44:38 +01:00
Sören Tempel
16d2be6414
gnu: Add binsec.
* gnu/packages/ocaml.scm (binsec): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Change-Id: Ifc57720f97f9ffa8c3558e3cd2d741cdbf73ee3a
2024-02-11 17:30:33 +01:00
Sören Tempel
4221b50acb
gnu: Add ocaml-grain-dypgen.
* gnu/packages/ocaml.scm (ocaml-grain-dypgen): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Change-Id: I9804cb17863c112d57f0f93b414e568707dae88d
2024-02-11 17:30:22 +01:00
Sören Tempel
ad2c1833a0
gnu: Add ocaml-toml.
* gnu/packages/ocaml.scm (ocaml-toml): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Change-Id: Ia3ec7d0261cd6950f1a73641fc65b3ef7ce98f24
2024-02-11 17:28:59 +01:00
Sören Tempel
8b67932851
gnu: Add ocaml-iso8601
* gnu/packages/ocaml.scm (ocaml-iso8601): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Change-Id: I9463d6f6e3f8ffe43a0cfb1c95edea42fc770323
2024-02-11 17:26:37 +01:00
Ricardo Wurmus
a8930124d5
gnu: r-bionero: Update to 1.10.1.
* gnu/packages/bioconductor.scm (r-bionero): Update to 1.10.1.

Change-Id: I26b6c35d8966744bbcb79d98328c9734360f04f3
2024-02-11 16:55:14 +01:00
Ricardo Wurmus
b61f052752
gnu: r-biocset: Update to 1.16.1.
* gnu/packages/bioconductor.scm (r-biocset): Update to 1.16.1.

Change-Id: Ib758189b9439ec822edb2e85d261b4ccd8618609
2024-02-11 16:55:14 +01:00
Ricardo Wurmus
c23224da61
gnu: r-bgx: Update to 1.68.3.
* gnu/packages/bioconductor.scm (r-bgx): Update to 1.68.3.

Change-Id: I8aa747dd0a725f84dca1441693ce573a4567f70c
2024-02-11 16:55:14 +01:00