Commit graph

116176 commits

Author SHA1 Message Date
Nicolas Graves b97f158456
home: services: ssh: Export configuration predicates.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-09 23:28:37 +02:00
Nicolas Graves 95853e61a7
home: services: ssh: Add 'match-criteria' option.
* gnu/home/services/ssh.scm (serialize-address-family): Raise
'&formatted-message' instead of '&error'.
(ssh-match-keywords): New variable.
(match-criteria?): New procedure.
(match-criteria): New maybe type.
(openssh-host)[name]: Turn into 'maybe-string'.
[match-criteria]: New field.
(serialize-openssh-host): Adjust accordingly.
* doc/guix.texi (Secure Shell): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-09 23:28:18 +02:00
Nicolas Graves f19e1b4f96
home: services: ssh: Add 'add-keys-to-agent' field.
* gnu/home/services/ssh.scm (<home-openssh-configuration>)[add-keys-to-agent]:
New field.
(serialize-add-keys-to-agent): New procedure.
(openssh-configuration->string): Use it.
* doc/guix.texi (Secure Shell): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-09 23:27:52 +02:00
Andy Tai 48812c85dd
gnu: obs-websocket: Deprecate in favor of "obs".
* gnu/packages/video.scm (obs-websocket): Rewrite as a deprecated alias
for "obs".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-06-09 23:07:12 +02:00
SeerLite 71c2f02ba0
gnu: i3-wm: Add missing inputs for i3-save-tree.
* gnu/packages/wm.scm (i3-wm)[inputs]: Add perl, perl-anyevent-i3,
perl-json-xs, perl-common-sense, and perl-types-serialiser.
[arguments]: Add phase to wrap i3-save-tree to use perl inputs listed above.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-09 22:59:26 +02:00
SeerLite a863b5de8d
gnu: i3-wm: Use new package style.
* gnu/packages/wm.scm (i3-wm)[arguments]: Use gexps.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-09 22:59:20 +02:00
Ludovic Courtès 1259786194
gnu: guix: Update to 44bbfc2.
* gnu/packages/package-management.scm (guix): Update to 44bbfc2.
2023-06-09 22:11:14 +02:00
Ludovic Courtès 44bbfc24e4
linux-container: Adjust to 'modify-services' semantic change.
This is a followup to dbbc7e946131ba257728f1d05b96c4339b7ee88b:
'nscd-service-type' isn't necessarily present in OS, so we cannot use
the 'modify-services' as it would now error out.  This was happening
with the "guix system docker-image" test in 'tests/guix-system.sh'.

* gnu/system/linux-container.scm (containerized-operating-system): Use
'filter-map' instead of 'remove' + 'modify-services'.
2023-06-09 18:15:07 +02:00
Navid Afkhami 74443c30f3
gnu: Add python-mudata.
* gnu/packages/bioinformatics.scm (python-mudata): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-06-09 17:09:38 +02:00
Navid Afkhami c348b1be38
gnu: Add python-mofax.
* gnu/packages/bioinformatics.scm (python-mofax): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-06-09 16:56:22 +02:00
Ricardo Wurmus 6dc44cc963
gnu: Add python-sacrebleu.
* gnu/packages/machine-learning.scm (python-sacrebleu): New variable.
2023-06-09 16:53:29 +02:00
Ricardo Wurmus c0e510dfa3
gnu: Add python-portalocker.
* gnu/packages/python-xyz.scm (python-portalocker): New variable.
2023-06-09 16:53:29 +02:00
Ludovic Courtès dd587a4fef
gnu: lapack: Build CBLAS.
This adds libcblas.so, which users typically expect to have.

* gnu/packages/maths.scm (lapack)[arguments]: Pass "-DCBLAS=ON".
2023-06-09 14:50:43 +02:00
Ludovic Courtès 1c9e992e8c
records: Remove "guix" from error message.
* guix/records.scm (map-fields): Tweak error message.
2023-06-09 14:19:14 +02:00
Ludovic Courtès 56ad923f47
system: account: Fix default value.
Fixes a regression introduced in
66ecffbeba.

* gnu/system/shadow.scm (account-service-type)[default-value]: Change to
the empty list.
2023-06-09 14:19:14 +02:00
Ludovic Courtès 53bf9fba0c
tests: Ensure 'elpa' test does not access the network.
Previously it would try to access the real elpa.gnu.org.  This would
succeed when network is available because "taxy-magit-section" is an
existing package.

* guix/import/elpa.scm (elpa-repository)
(package-from-elpa-repository?): Recognize 'gnu/http.
* tests/elpa.scm ("package-latest-release"): Use 'http' instead of
'https'.  Change "taxy-magit-section" to "fake-taxy-magit-section".
2023-06-09 14:19:14 +02:00
Ludovic Courtès f69d14d31a
tests: Ensure 'cpan' updater test does not access the network.
Previously it would try to access the real metacpan.org.  This would
succeed when network is available because "Test-Script" is an existing
package.

* tests/cpan.scm ("package-latest-release"): Wrap
'upstream-source-inputs' call in 'parameterize'.  Set
'current-http-proxy'.  Change the order of responses in
'with-http-server'.
2023-06-09 14:19:14 +02:00
Ludovic Courtès df8b3821a8
import: stackage: Updater resolves inputs lazily.
Fixes the "haskell-stackage" test in 'tests/lint.scm', which started
failing with e6223017d9 because the extra
HTTP GETs induced by the 'haskell-fetch' calls would fail.

* guix/import/stackage.scm (latest-lts-release): Call 'hackage-fetch'
and its continuation from within 'inputs', which is delayed.  Pass it
NAME-VERSION instead of HACKAGE-NAME-VERSION.
2023-06-09 14:19:14 +02:00
Ludovic Courtès 213d3cad6a
tests: Adjust minetest tests.
Fixes a regression introduced in
e7910f4882.

* tests/minetest.scm (call-with-packages): Add #:timeout parameter to
'http-fetch' mock.
2023-06-09 14:19:14 +02:00
Andy Tai 12fd3a9755
gnu: hubbub: Fix build.
* gnu/packages/web.scm (hubbub)[source]: Add patch.
* gnu/packages/patches/hubbub-maybe-uninitialized.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-06-09 12:53:56 +02:00
Efraim Flashner 3c39011114
gnu: opencv: Fix building on aarch64.
* gnu/packages/image-processing.scm (opencv)[arguments]: When building
for aarch64 adjust the 'disable-broken-tests phase to make the test
suite pass.
2023-06-09 08:28:51 +03:00
Efraim Flashner aaf8891ed4
gnu: tbb: Fix building on riscv64-linux.
* gnu/packages/tbb.scm (tbb)[arguments]: When building for riscv64-linux
always link the test suite with -latomic.
2023-06-09 08:28:50 +03:00
EuAndreh 22e7ba67dd
gnu: Add tmux-plugin-continuum.
* gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:42:27 +02:00
Andy Tai 5a761ff6ae
gnu: octave-cli: Update to 8.2.0
* gnu/packages/maths.scm (octave-cli): Update to 8.2.0

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:37:10 +02:00
Wiktor Żelazny 1cb9c2206c
gnu: Add pandoc-include.
* gnu/packages/textutils.scm (pandoc-include): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:34:11 +02:00
Wiktor Żelazny 2fd76ec1a3
gnu: Add python-panflute.
* gnu/packages/textutils.scm (python-panflute): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:34:08 +02:00
gemmaro 5e0b8d51b8
gnu: Add ruby-minima.
I added a test by `jekyll build`.

* gnu/packages/ruby.scm (ruby-minima): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:33:39 +02:00
Ludovic Courtès aceb150d29
doc: Use the term "Procedure" for definitions.
In an effort to homogenize things, commit
3c40dfe285 replaced:

  @deffn {Scheme Procedure}

with:

  @defun

However, the latter prints "Function" when all existing material about
Scheme uses the term "procedure".

Thus, for consistency, this commit switches to:

  @deffn {Procedure}

* doc/guix.texi, doc/contributing.texi: Use "@deffn {Procedure}"
consistently rather than "@defun" or similar.
2023-06-08 23:29:27 +02:00
Zongyuan Li 0c76e5f71a
gnu: Add Buildah.
* gnu/packages/containers.scm (buildah): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:28:57 +02:00
Andy Tai 27fcbf3c81
gnu: Add swig@4.1.
* gnu/packages/swig.scm (swig-next): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:28:52 +02:00
Hilton Chain 8716f33d98
gnu: flashrom: Wrap PATH to find dmidecode.
* gnu/packages/flashing-tools.scm (flashrom)[inputs]: Add bash-minimal.
[arguments]<#:phases>: Add phase 'wrap-program.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:18:05 +02:00
Hilton Chain e6ce706604
gnu: flashrom: Update to 1.3.0.
* gnu/packages/patches/flashrom-fix-building-on-aarch64.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/flashing-tools.scm (flashrom): Update to 1.3.0.
[build-system]: Switch to meson-build-system.
[inputs]: Add libjaylink.
[native-inputs]: Add cmocka.

Actually, at least from 1.2, the exact \"dmidecode\" is not present in dmi.c.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:17:59 +02:00
Artyom V. Poptsov d33275a3a1
gnu: Add rust-uom.
* gnu/packages/crates-io.scm (rust-uom-0.34): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:16:09 +02:00
Jakob Kirsch 42ea60b7dd
gnu: Add rogue.
* gnu/packages/games.scm (rogue): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:07:59 +02:00
Felix Lechner 8f855dd187
doc: Update outdated URL for Eudev wiki.
Change was coordinated with upstream maintainer Boian Bonev.

* doc/guix.texi: Update outdated URL for Eudev wiki.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 22:59:26 +02:00
Felix Lechner 44e4dc7c72
doc: Replace reference to non-existing (gnu home services ssh-agent).
Thanks to Alexandros Prekates and Markku Korkeala for pointing out the bug in
the documentation. [1]

[1] https://lists.gnu.org/archive/html/help-guix/2023-05/msg00220.html

* doc/gnu.texi (Secure Shell): Replace reference to non-existing (gnu home
services ssh-agent)

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 22:58:25 +02:00
Ludovic Courtès 885d524f79
substitute: Gracefully retry after failed partial downloads.
Fixes <https://issues.guix.gnu.org/63443>.
Reported by Attila Lendvai <attila@lendvai.name>.

* guix/scripts/substitute.scm (catch-system-error): New macro.
(download-nar): Add call to 'delete-file-recursively'.
* tests/substitute.scm ("substitute, previous partial download around"):
New test.
2023-06-08 22:54:58 +02:00
Ludovic Courtès 3f5e141829
substitute: Delete cached narinfos more than two-month old.
This allows 'guix substitute' to shrink the cache a bit more, which
saves space and improves performance of cache-cleanup phases since fewer
entries need to be traversed.

* guix/scripts/substitute.scm (cached-narinfo-expiration-time): Define
'max-ttl' and use it as an upper bound.
2023-06-08 22:27:20 +02:00
Ludovic Courtès 92ee0fd5eb
import: Gracefully handle EPIPE.
Previously, "guix import pypi f3 | head -3" would print a backtrace.

* guix/scripts/import.scm (guix-import): Wrap
'pretty-print-with-comments' call in 'leave-on-EPIPE'.
2023-06-08 22:06:00 +02:00
Guillaume Le Vaillant 872b248745
gnu: sbcl: Fix build on armhf.
* gnu/packages/lisp.scm (sbcl)[source]: Update snippet.
2023-06-08 14:31:57 +02:00
宋文武 91454f54a4
gnu: xfce4-screensaver: Update to 4.18.2.
* gnu/packages/xfce.scm (xfce4-screensaver): Update to 4.18.2.
2023-06-08 17:53:15 +08:00
宋文武 47085b3ea0
gnu: xfce4-power-manager: Update to 4.18.2.
* gnu/packages/xfce.scm (xfce4-power-manager): Update to 4.18.2.
2023-06-08 17:53:14 +08:00
宋文武 60c09c3b5e
gnu: xfce4-session: Update to 4.18.3.
* gnu/packages/xfce.scm (xfce4-session): Update to 4.18.3.
2023-06-08 17:53:14 +08:00
宋文武 756ccd9202
gnu: xfce4-pulseaudio-plugin: Update to 0.4.7.
* gnu/packages/xfce.scm (xfce4-pulseaudio-plugin): Update to 0.4.7.
2023-06-08 17:53:14 +08:00
宋文武 cbeb3204ef
gnu: xfce4-screenshooter: Update to 1.10.4.
* gnu/packages/xfce.scm (xfce4-screenshooter): Update to 1.10.4.
2023-06-08 17:53:14 +08:00
宋文武 0a8fbee0d1
gnu: xfce4-panel: Update to 4.18.4.
* gnu/packages/xfce.scm (xfce4-panel): Update to 4.18.4.
2023-06-08 17:53:14 +08:00
宋文武 2d9601ed3d
gnu: libxfce4ui: Update to 4.18.4.
* gnu/packages/xfce.scm (libxfce4ui): Update to 4.18.4.
2023-06-08 17:53:14 +08:00
Ricardo Wurmus 266e54d7cb
gnu: Add python-spacy.
* gnu/packages/machine-learning.scm (python-spacy): New variable.
2023-06-08 10:37:08 +02:00
Ricardo Wurmus d3934c7cc2
gnu: Add python-pathy.
* gnu/packages/python-xyz.scm (python-pathy): New variable.
2023-06-08 10:37:08 +02:00
Ricardo Wurmus 7a78dd1e39
gnu: Add python-thinc.
* gnu/packages/machine-learning.scm (python-thinc): New variable.
2023-06-08 10:37:08 +02:00