Commit graph

130868 commits

Author SHA1 Message Date
Nicolas Graves
0ec31d7142
gnu: emacs-org-dailies: Update to 0-1.58e58d4.
* gnu/packages/emacs-xyz.scm (emacs-org-dailies): Update to 0-1.58e58d4.
[propagated-inputs]: Remove emacs-dash.

Change-Id: Ibf137dfb881b35786d42da050bd4b6a615a05b26
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:24:45 +00:00
Timotej Lazar
608b9a1c86
gnu: qtpass: Switch to qt-build-system and new package style.
* gnu/packages/password-utils.scm (qtpass): Use qt-build-system.
[arguments]: Drop 'wrap-qt and 'check-setup phases. Drop the unnecessary
'reset-resource-timestamps phase. Use new package style for remaining phases.
[inputs]: Drop qtbase-5.

Change-Id: I23a0b8dfd1fdfeca343704d3df084c522b319d30
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:23:17 +00:00
Timotej Lazar
4f9ea64b5f
gnu: qtpass: Update to 1.4.0.
* gnu/packages/password-utils.scm (qtpass): Update to 1.4.0.

Change-Id: Ia0d29a0044b8bfedef692aba337d1ef23c672804
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:23:17 +00:00
Andy Tai
a779b98816
gnu: anubis: Update to 4.3.
* gnu/packages/mail.scm (anubis): Update to 4.3.

Change-Id: If80772daaaa517e4baadfb8a7a00969749fcddda
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:07:27 +00:00
David Elsing
e5bfc462dd
gnu: rdkit: Update to 2023.09.4.
* gnu/packages/chemistry.scm (rdkit): Update to 2023.09.4.
[arguments]: Skip testConrec test in check phase.
[native-inputs]: Replace catch2 with catch2-3.
* gnu/packages/patches/rdkit-unbundle-external-dependencies.patch: Adjust
patch.
[supported-systems]: New field.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:04:48 +00:00
David Elsing
cc772e7f31
gnu: freesasa: Fix memerr tests.
* gnu/packages/chemistry.scm (freesasa)[arguments]: Add
"CFLAGS=-fno-builtin-malloc" to #:configure-flags.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:04:48 +00:00
David Elsing
52cca41c6f
gnu: avalon-toolkit: Update to 2.0.5a.
The bug freeing static memory and the makefile have been improved upstream, so
we don't have to work around them anymore. Now, two static libraries are built
instead.

* gnu/packages/chemistry.scm (avalon-toolkit): Update to 2.0.5a.
[source]: Switch to git reference from GitHub. Adjust snippet. Add patch from
the RDKit fork.
[arguments]: Remove 'dont-free-static-memory phase. Use provided
makefile. Adjust 'install phase.
* gnu/packages/patches/avalon-toolkit-rdkit-fixes.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:04:48 +00:00
David Elsing
baa711441a
gnu: yaehmop: Update to 2023.03.1.
* gnu/packages/chemistry.scm (yaehmop): Update to 2023.03.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:04:48 +00:00
David Elsing
805ee72237
gnu: coordgenlibs: Update to 3.0.2.
* gnu/packages/chemistry.scm (coordgenlibs): Update to 3.0.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:04:48 +00:00
David Elsing
6ab278b2e7
gnu: maeparser: Update to 1.3.1.
* gnu/packages/chemistry.scm (maeparser): Update to 1.3.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:04:47 +00:00
David Elsing
01ec7c3883
gnu: gemmi: Update to 0.6.4.
* gnu/packages/chemistry.scm (gemmi): Update to 0.6.4.
[arguments]: Adjust include/gemmi/sprintf.hpp -> src/sprintf.cpp.
(freesasa)[arguments]: Link to gemmi_cpp explicitly.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:04:47 +00:00
David Elsing
24518d038b
gnu: fast-float: Update to 6.0.0.
* gnu/packages/cpp.scm (fast-float): Update to 6.0.0.
[arguments]: Adjust path to test files.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:04:47 +00:00
David Elsing
5a8079e219
gnu: tinydir: Update to 1.2.6.
* gnu/packages/c.scm (tinydir): Update to 1.2.6.
* gnu/packages/patches/tinydir-fix-cbehave-test.patch: Adjust patch.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:04:47 +00:00
Andy Tai
68bc23a5ba
gnu: opencv: Update to 4.8.1.
* gnu/packages/image-processing.scm (opencv): Update to 4.8.1.

Change-Id: Ia493896c063b32c5b42cdfee5e8e921dc957ff71
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-13 11:03:55 +00:00
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