Commit graph

136696 commits

Author SHA1 Message Date
Tomas Volf
413ef75f89
gnu: buildah: Switch to gnu-build-system.
Buildah is fundamentally similar to podman and provides its own Makefile.
This commit switches from go-build-system to gnu-build-system so that the
build can be done using `make' instead of reinvention some parts (like
documentation) in the guile.  The package pretty much follows how podman
package looks like.

* gnu/packages/containers.scm (buildah)[source]: Reformat.
[build-system]: Use gnu-build-system.
[arguments]<#:import-path, #:unpack-path, #:go, #:install-source?>: Delete.
<#:make-flags>: Set make flags.
<#:test-target>: Set, even though the tests are disabled.
<#:imported-modules>: Also import (guix build go-build-system) for the
remove-go-references phase.
<#:phases>{'prepare-install-docs, 'build-docs, 'install-docs}: Delete.
{'configure}: Delete.
{'set-env, 'check, 'symlink-helpers, 'wrap-buildah, 'remove-go-references}
{'install-completions}: New phases.
[inputs]: Remove no longer used cni-plugins, conmon, runc.  Add bash-minimal.
[native-inputs]: Remove gnu-make, add go-1.21 and bats.

Change-Id: I0ddd5febb0116a71a857e2a98a9951dbe8bd40d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:46:59 +01:00
Tomas Volf
b55997d9df
gnu: podman: Revamp the package.
Substantial rework of the podman package.  The source is no longer patched (at
all) and all necessary modifications were moved into wrap-program and phases.

Not everything is supported out of the box, but description mentions what
packages to install to get additional functionality working.

* gnu/packages/containers.scm (podman)[source]: Remove snippet and patches.
[arguments]<#:make-flags>: Add HELPER_BINARIES_DIR.  Add GOMD2MAN to actually
use go-github-com-go-md2man package instead of the bundled version.
<#:imported-modules>: Add (guix build go-build-system).
<#:phases>{'set-env}: Set `CC' as an environment variable due to bug in make
before 4.4.
{'fix-hardcoded-paths}: Remove everything except patching `libexec' and `lib'
locations.
{'symlink-helpers}: New phase symlinking tools not discoverable via $PATH into
one directory (`HELPER_BINARIES_DIR').
{'wrap-podman}: New phase wrapping `podman' to set correct $PATH.
{'remove-go-references}: New phase stripping references to the golang
toolchain from the binaries.
[inputs]: Remove no longer needed cni-plugins, slirp4netns.  Remove referenced
in 'wrap-podman conmon, crun, iptables, passt.  Move go-github-com-go-md2man
into native-inputs.  Add bash-minimal.
[native-inputs]: Add custom grep with supported -P.  Use newer go.  Add
mandoc.
[description]: Explain how to get `podman compose' and `podman machine'
working.
* gnu/packages/patches/podman-program-lookup.patch: Delete file.

Change-Id: Ifc28971a68751831d781517b041eec951a617087
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:46:59 +01:00
Tomas Volf
4f02e0b7f8
gnu: buildah: Update to 1.35.3.
* gnu/packages/containers.scm (buildah): Update to 1.35.3.

Change-Id: I0a00d6a73079ddaa38a454856781adfc2d7f158f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:46:59 +01:00
Tomas Volf
19c1c385c7
gnu: gvisor-tap-vsock: Remove references to go.
This is handled automatically by go-build-system, but (obviously) not by the
gnu-build-system, so add the phase manually.

* gnu/packages/containers.scm (gvisor-tap-vsock)[arguments]<#:phases>: Add
'remove-go-references phase.

Change-Id: I5cef0bc03dfa7f219bdfec4226d0e7772401a5a5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:44:05 +01:00
Tomas Volf
e89bfb919e
gnu: Add podman-compose.
* gnu/packages/containers.scm (podman-compose): New variable.

Change-Id: Ieb5ee4b6e82464599a17ec950be8a7dbb2efa842
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:44:05 +01:00
Wilke Schwiedop
2bfdc768d7
gnu: Add catatonit.
* gnu/packages/containers.scm (catatonit): New variable.

Change-Id: Ib6948bde8204426a8cb008982cb7cc9302f9e6d6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:33:57 +01:00
Tomas Volf
5bea6482e6
gnu: passt: Update to 2024_03_20.71dd405.
* gnu/packages/containers.scm (passt): Update to 2024_03_20.71dd405.

Change-Id: I089b7e9364058e59139bdb7cb942fad693254c1f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:36 +01:00
Tomas Volf
d9e5c0f8d3
gnu: conmon: Update to 2.1.11.
* gnu/packages/containers.scm (conmon): Update to 2.1.11.

Change-Id: I2a46b2dcd344909da34199145fef4ad3fa4418de
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:36 +01:00
Tomas Volf
0d6815ae82
gnu: podman: Update to 5.0.2.
* gnu/packages/containers.scm (podman): Update to 5.0.2.

Change-Id: Id12c017e68f30db4ea99547beca54dbd01e3b029
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:36 +01:00
Tomas Volf
abc62671e0
gnu: podman: Drop obsolete comment.
cgroup2 is now the default type.

* gnu/packages/containers.scm (podman): Drop the comment.

Change-Id: I197ed7e4901b26ad820295ed7adcaffd7bf533f5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:35 +01:00
Tomas Volf
5c5e2a7491
gnu: crun: Update to 1.15.
* gnu/packages/containers.scm (crun): Update to 1.15.

Change-Id: I769c15663bf668a967cf32243dd8139b6c949953
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:35 +01:00
Guillaume Le Vaillant
3fd9f25bb3
gnu: Add cl-in-memory-streams.
* gnu/packages/lisp-xyz.scm (cl-in-memory-streams, ecl-in-memory-streams,
  sbcl-in-memory-streams): New variables.

Change-Id: I5f55f1185dfc396d7287b1a402541ad68f355b56
2024-05-21 15:15:03 +02:00
Guillaume Le Vaillant
e9f9740d42
gnu: Add cl-cf.
* gnu/packages/lisp-xyz.scm (cl-cf, ecl-cf, sbcl-cf): New variables.

Change-Id: Ic377597dceaf4f4d0c71319056185a958df06155
2024-05-21 14:54:15 +02:00
Guillaume Le Vaillant
af2791d4e1
gnu: cl-for: Update to 1.2.0-1.a397829.
* gnu/packages/lisp-xyz.scm (sbcl-for): Update to 1.2.0-1.a397829.

Change-Id: I521ed1cf56bf13934996ba35304cb842c394cdac
2024-05-21 14:38:19 +02:00
Efraim Flashner
b3d8d5511f
gnu: julia-fixedpointnumbers: Update to 0.8.5.
* gnu/packages/julia-xyz.scm (julia-fixedpointnumbers): Update to 0.8.5.
(julia-colortypes)[arguments]: Remove 'skip-failing-test phase.

Change-Id: I18cee60a90311af0a052e5d49e4f2b43b54e7e14
2024-05-21 11:49:56 +03:00
Efraim Flashner
c634135ef9
gnu: perl-dbix-class: Update to 0.082843.
* gnu/packages/databases.scm (perl-dbix-class): Update to 0.082843.
[propagated-inputs]: Remove perl-moo, perl-scalar-list-utils, and
perl-text-balanced; add perl-moo-2.
[native-inputs]: Remove perl-file-temp.
[properties]: New field.

Change-Id: I67f00f7e4f5b1bc71d9632bb90213df3c0a20ce5
2024-05-21 11:08:14 +03:00
Efraim Flashner
81d08d7970
gnu: abseil-cpp: Fix build on i686-linux.
* gnu/packages/cpp.scm (abseil-cpp)[source]: Add patch.
(abseil-cpp-20220623.1)[source]: Same.
* gnu/packages/patches/abseil-cpp-20220623.1-no-kepsilon-i686.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I27b9abc2c44ff6dc313209f4b0b12542a92d6fcd
2024-05-21 09:25:07 +03:00
Efraim Flashner
e50fc5380e
gnu: abseil-cpp-20200923.3: Fix test suite on some architectures.
* gnu/packages/cpp.scm (abseil-cpp-20200923.3)[source]: Add patches.
* gnu/packages/patches/abseil-cpp-20200923.3-adjust-sysinfo.patch,
gnu/packages/patches/abseil-cpp-20200923.3-duration-test.patch: New
files.
* gnu/local.mk (dist_patch_DATA): Register them.

Change-Id: I3a0a6c3396a7c2854236c68ec77a68bbdd6af1f4
2024-05-21 09:10:33 +03:00
Efraim Flashner
24db97c10d
gnu: labwc: Build with librsvg-for-system.
* gnu/packages/wm.scm (labwc)[inputs]: Replace librsvg with
librsvg-for-system.

Change-Id: I46505b3f041f46b42b403f9b7fbba5737c128f3f
2024-05-21 08:54:08 +03:00
Efraim Flashner
a1f1148dbd
gnu: enblend-enfuse: Build with librsvg-for-system.
* gnu/packages/photo.scm (enblend-enfuse)[native-inputs]: Replace
librsvg with librsvg-for-system.

Change-Id: I04e046191abf1e36cdbb42d50a5c5abab029edf1
2024-05-21 08:54:08 +03:00
Efraim Flashner
1b98688c29
gnu: lablgtk: Build with librsvg-for-system.
* gnu/packages/ocaml.scm (lablgtk)[inputs]: Replace librsvg with
librsvg-for-system.

Change-Id: I208d68d7f019f046c6ae28028d119a0fe5c96365
2024-05-21 08:54:08 +03:00
Efraim Flashner
246a118767
gnu: inklingreader: Build with librsvg-for-system.
* gnu/packages/inklingreader.scm (inklingreader)[inputs]: Replace
librsvg with librsvg-for-system.

Change-Id: I2cf3d3fbed982f199b94f847b75c6c49472d9b4a
2024-05-21 08:54:00 +03:00
Nicolas Goaziou
7881d60851
gnu: emacs-gptel: Update to 0.8.6.
* gnu/packages/emacs-xyz.scm (emacs-gptel): Update to 0.8.6.
[propagated-inputs]: Remove EMACS-MAP.

Change-Id: I1ae555a8b2213dbd96c2e1d251ebca0e87054fe1
2024-05-20 21:01:26 +02:00
Wilko Meyer
630cbcbae1
gnu: linux-libre 4.19: Update to 4.19.314.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.314.
(linux-libre-4.19-pristine-source): Update hash.

Change-Id: I52815b6b79d6a9f0cfec531ffa9ba90d8189f426
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-20 11:29:49 -04:00
Wilko Meyer
a1bb0afc7b
gnu: linux-libre 5.4: Update to 5.4.276.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.276.
(linux-libre-5.4-pristine-source): Update hash.

Change-Id: Ieea174e5ca46226f739cb9c092f7518bac44396f
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-20 11:29:48 -04:00
Wilko Meyer
49aa670554
gnu: linux-libre 5.10: Update to 5.10.217.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.217.
(linux-libre-5.10-pristine-source): Update hashes.

Change-Id: I3c9b72da4c45e5b4b91b532ad0db7de5a82a6973
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-20 11:29:48 -04:00
Wilko Meyer
7da663ff16
gnu: linux-libre 5.15: Update to 5.15.159.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.159.
(linux-libre-5.15-pristine-source): Update hash.

Change-Id: I66130cd1513ef3c5869fab9873c24d36f6a716cd
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-20 11:29:48 -04:00
Wilko Meyer
d0a14dfad1
gnu: linux-libre 6.1: Update to 6.1.91.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.91.
(linux-libre-6.1-pristine-source, deblob-scripts-6.1): Update hashes.

Change-Id: Ibcd0827399b8d75d841426c20af8f2a6788d3c2c
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-20 11:29:48 -04:00
Wilko Meyer
cd3e6d92d3
gnu: linux-libre 6.6: Update to 6.6.31.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.31.
(linux-libre-6.6-pristine-source, deblob-scripts-6.6): Update hashes.

Change-Id: Ib0e70c94c47a2e1b89ec3901c7b721f523d76f15
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-20 11:29:48 -04:00
Wilko Meyer
c8c1ed08c1
gnu: linux-libre-6.8: Update to 6.8.10.
* gnu/packages/linux.scm (linux-libre-6.8-version): Update to 6.8.10.
(linux-libre-6.8-pristine-source, deblob-scripts-6.8): Update hashes.

Change-Id: I9f29850d6fcc2863daf3e901885383d484c5e1bb
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-20 11:29:47 -04:00
Florian Pelz
9c3a8a380b
doc: cookbook: Fix overlong lines.
Fixes <https://issues.guix.gnu.org/63680>.

Thanks to Nigko Yerden for telling me ExecStart lines can be multi-line
<https://lists.gnu.org/archive/html/bug-guix/2024-05/msg00153.html>.

* doc/guix-cookbook.texi (System Configuration)
[Customizing the Kernel]: Split lines.
[Customizing a Window Manager]<StumpWM>: Likewise.
[Setting up a bind mount]: Move comments.
[Getting substitutes from Tor]: Split line with backslash.
[Music Server with Bluetooth Audio]: Likewise.
(Advanced package management)[Guix Profiles in Practice]
<Basic setup with manifests>: Likewise.
<Reproducible profiles>: Likewise.
(Environment management)[Guix environment via direnv]: Likewise.
(Installing Guix on a Cluster)[Setting Up a Head Node]:
On Info and PDF, split ExecStart= command with backslash.

Change-Id: I31ef5b0417b319c3f6946d65f83edafb86c8f36b
2024-05-19 19:09:40 +02:00
Jelle Licht
0685042c46
import: Add binary npm importer.
* guix/scripts/import.scm: (importers): Add "npm-binary".
* doc/guix.texi (Invoking guix import): Document npm-binary importer.
* guix/import/npm-binary.scm: New file.
* guix/scripts/import/npm-binary.scm: New file.
* tests/npm-binary.scm: New file.
* Makefile.am: Add them.

Co-authored-by: Timothy Sample <samplet@ngyro.com>
Co-authored-by: Lars-Dominik Braun <lars@6xq.net>

Change-Id: I98a45068cf5b9c42790664cc743feaa7ac76f807
2024-05-19 16:05:00 +02:00
Efraim Flashner
8c21c9ad23
gnu: python-peachpy: Limit to x86_64-linux.
* gnu/packages/python-xyz.scm (python-peachpy)[supported-systems]: New
field.

Change-Id: I1e0660ac95377130e919ba9ff00c59063ea2bdce
2024-05-19 16:10:51 +03:00
Efraim Flashner
85fa9458a1
gnu: python-numba: Adjust test suite on several architectures.
* gnu/packages/python-xyz.scm (python-numba)[arguments]: Adjust the
'disable-failing-tests phase to skip some additional tests on
aarch64-linux and powerpc64le-linux.  Also when building for armhf-linux
accept a wider range of python platforms as being part of armhf-linux.

Change-Id: If9edf9282684931a2a4cdcfed692ed3da1d4ec6e
2024-05-19 16:10:51 +03:00
Efraim Flashner
58614c9b4b
gnu: samtools: Fix build on i686-linux.
* gnu/packages/bioinformatics.scm (samtools)[arguments]: When building
for i686-linux adjust the make-flags to specifically use the sse math
libraries.

Change-Id: I322d521cbe87e10db7c23db8e68bb377db966aa7
2024-05-19 16:10:47 +03:00
Christopher Baines
dd03be186a
gnu: guix-build-coordinator: Update to 0-105.1ecad69.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-105.1ecad69.

Change-Id: Ib772367402d36f1d0feb7546c393f391421d566c
2024-05-19 12:58:03 +01:00
Christopher Baines
6c2d329556
gnu: nar-herder: Update to 0-33.bbf5119.
* gnu/packages/package-management.scm (nar-herder): Update to 0-33.bbf5119.

Change-Id: I802b55c70ef1466b40d0d1ec45f7d9401ab4a12d
2024-05-19 12:54:39 +01:00
Artyom V. Poptsov
ad520acdad
gnu: atop: Update to 2.10.0.
* gnu/packages/admin.scm (atop): Update to 2.10.0.
  [native-inputs]: Add "pkg-config".
  [inputs]: Add "glib".

Change-Id: I5d535489084c75867178668d74e51227e83b66b7
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-19 12:50:39 +01:00
fanquake
14176a289b
gnu: LLVM, Clang, libomp, lld: Update to 18.1.5.
* gnu/packages/llvm.scm (llvm-18, clang-18, libomp-18, lld-18):
Update to 18.1.5.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-19 12:50:23 +01:00
Christopher Baines
a47cab5d28
gnu: ruby-ruby-memcheck: Use non-interactive valgrind.
Use valgrind rather than valgrind/interactive, as this doesn't have gdb as an
input, which makes it easier to update gdb.

* gnu/packages/ruby.scm (ruby-ruby-memcheck)[inputs]: Use valgrind.

Change-Id: Icfcee2c27fc41e68e1a34b38c043ece188cc56af
2024-05-19 12:49:25 +01:00
Sergey Trofimov
e9b25a6c6c
gnu: emacs-telega: Update to 0.8.290.
* gnu/packages/emacs-xyz.scm (emacs-telega): Update to 0.8.290.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-05-17 20:25:03 +02:00
Sergey Trofimov
cf37df2278
gnu: tdlib: Update to 1.8.29.
* gnu/packages/messaging.scm (tdlib): Update to 1.8.29.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-05-17 20:23:16 +02:00
Artyom V. Poptsov
6faf82c7e9
gnu: 0xffff: Update to 0.10.
* gnu/packages/flashing-tools.scm (0xffff): Update to 0.10.
  [arguments]: Use gexps.

Change-Id: Ifb54578deb016a88e6314ecb7d16966c9294d7b3
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-05-17 20:18:09 +02:00
jgart
e4ee595999
gnu: python-tinydb: Upgrade to 4.8.0.
* gnu/packages/databases.scm (python-tinydb): Upgrade to 4.8.0.
[native-inputs]: Add python-poetry-core and python-pytest.
[build-system]: Use pyproject-build-system.
[arguments]: Remove no longer needed field.

Change-Id: Ib72f1b8c2a0749f2f0032f9dd047f10bc49d2545
2024-05-17 03:58:53 -05:00
Artyom V. Poptsov
0846eaecd4
gnu: xdot: Bugfix: Add the directory containing "dot" to the PATH.
"xdot" would always fail to run when graphviz "dot" binary is not available
directly in the user system.  This patch fixes it by adding graphviz binaries
from the inputs to the PATH environment variable in "xdot" wrapping script.

Reported by Ada Stevenson <adanskana@gmail.com> in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70910

* gnu/packages/graphviz.scm (xdot) [arguments]: Add the "bin" directory from
  the graphviz input to the xdot wrapping.

Change-Id: Iba4bbc37daf07407ad4c18b822956fbb730c0033
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-16 23:20:42 +01:00
Sharlatan Hellseher
508472d354
gnu: kubo: Unbundle go-github-com-elgris-jsondiff.
* gnu/packages/ipfs.scm (kubo): Unbundle go-github-com-elgris-jsondiff.
[inputs]: Remove go-github-com-mgutz-ansi; add go-github-com-elgris-jsondiff.

Change-Id: I1b41ecc1cd0e3c4d1a2856ecb48a32119b608df7
2024-05-16 23:20:41 +01:00
Sharlatan Hellseher
f1c8df4ee9
gnu: Add go-github-com-elgris-jsondiff.
* gnu/packages/golang-check.scm (go-github-com-elgris-jsondiff): New variable.

Change-Id: Ie0b85240bd0a9e68f9274edab6a15f34f42de26c
2024-05-16 23:20:41 +01:00
Artyom V. Poptsov
1f8e29256e
gnu: Add go-github-com-pion-stun-v2.
* gnu/packages/golang-web.scm (go-github-com-pion-stun-v2): New variable.

Change-Id: I5d83caa918203c651909af667e004ab6df06498a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-16 23:07:39 +01:00
Sharlatan Hellseher
6ae27a1838
gnu: Add go-github-com-pion-stun.
* gnu/packages/golang-web.scm (go-github-com-pion-stun): New variable.

Change-Id: I30ef8a231fd980ea976f07d108bcd676446161f1
2024-05-16 23:07:39 +01:00
Artyom V. Poptsov
c4ee108937
gnu: Add go-github-com-pion-dtls-v2.
* gnu/packages/golang-web.scm (go-github-com-pion-dtls-v2): New variable.

Change-Id: Ia3e77cda47fcb5a17a6cb7a82cd43f2beb8de1e9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-16 23:07:39 +01:00