gnu: belr: Update to 5.3.57.
* gnu/packages/linphone.scm (belr): Update to 5.3.57.
[configure-flags]: Replace -DENABLE_STATIC=OFF with -DBUILD_SHARED_LIBS=ON.
[phases]{check, move-tester}: Adjust the file name of the tester binary and
paths.
Change-Id: I9d1870c976f5e6b40a682d32d31ccf47e4806716
gnu: bctoolbox: Update to 5.3.57.
* gnu/packages/linphone.scm (bctoolbox): Update to 5.3.57.
[arguments] <configure-flags>: Replace -DENABLE_STATIC=OFF with
-DBUILD_SHARED_LIBS=ON.
<phases>: Use gexps. Use search-input-directory in patch-cmake phase. Adjust
tester file name in check phase override.
Change-Id: I4571c238268220c0ac11f42f3caec3e41c879331
gnu: libdecaf: Update to 1.0.2-0.e5cc624.
* gnu/packages/crypto.scm (libdecaf): Update to 1.0.2-0.e5cc624.
[arguments]: Use gexps.
[#:imported-modules]: New argument.
[#:modules]: Likewise.
[#:phases] {ensure-no-mtimes-pre-1980}: New phase.
{install-python-binding}: Adjust to use site-packages procedure.
{install-documentation}: Remove. The target must is now called decaf-doc,
contains only the API Doxygen doc.
[native-inputs]: Remove graphviz and doxygen. Replace python-wrapper with
python-wrapper-minimal.
Change-Id: I390c1671251280892088498f1b1f6e7fad2b3b6f
gnu: bcunit: Update to 5.3.57.
* gnu/packages/linphone.scm (bcunit): Update to 5.3.57.
[source]: Update origin URI.
[outputs]: Delete field.
[arguments] <configure-flags>: Update to reflect changes in version 5.
<phases> Use gexps. Delete move-doc phases.
{check}: Honor #:tests?.
Change-Id: Ic7a67e1ef0841aec5a1ecce3c406ccd90010270f
gnu: snapcast: Update to 0.32.3.
* gnu/packages/audio.scm (snapcast): Update to 0.32.3.
[inputs]: Add expat and openssl. Sort.
Change-Id: I0e9db187b16992b2c4434283c3fe60b9a6cd8c69
home: Add home-oci-service-type.
* gnu/home/service/containers.scm: New file;
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (OCI backed services): Document it.
Change-Id: I8ce5b301e8032d0a7b2a9ca46752738cdee1f030
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
tests: Use lower-oci-image-state in container tests.
This patch replaces boilerplate in container related tests with
oci-image plumbing from (gnu services containers).
* gnu/tests/containers.scm (%oci-tarball): New variable;
(run-rootless-podman-test): use %oci-tarball;
(build-tarball&run-rootless-podman-test): drop procedure.
* gnu/tests/docker.scm (%docker-tarball): New variable;
(build-tarball&run-docker-test): use %docker-tarball;
(%docker-system-tarball): New variable;
(build-tarball&run-docker-system-test): new procedure.
Change-Id: Iad6f0704aee188d89464c83722dea0bb7adb084a
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
services: Add oci-service-type.
This patch implements a generalization of the
oci-container-service-type, which consequently is made deprecated. The
oci-service-type, in addition to all the features from the
oci-container-service-type, can now provision OCI networks and volumes.
It only handles OCI objects creation, the user is supposed to handle
state once the objects are provsioned.
It currently supports two different OCI runtimes: Docker and rootless
Podman. Both runtimes are tested to make sure provisioned containers
can connect to each other through provisioned networks and can
read/write data with provisioned volumes.
At last the Scheme API is thought to facilitate the implementation of a
Guix Home service in the future.
* gnu/build/oci-containers.scm: New file containg OCI runtime business
logic used in OCI backed Shepherd services.
oci-read-lines
(oci-system*,oci-object-exists?,oci-object-service-available?
oci-image-load,oci-log-verbose,oci-container-execlp,oci-object-create):
New procedures.
* gnu/local.mk: Add it.
* gnu/services/containers.scm (list-of-oci-containers?,
list-of-oci-networks?,list-of-oci-volumes?,%oci-supported-runtimes,
oci-runtime?,oci-runtime-system-environment,oci-runtime-system-extra-arguments,
oci-runtime-system-requirement,oci-runtime-cli,oci-runtime-system-cli,
oci-runtime-home-cli,oci-runtime-name,oci-runtime-group,
oci-container-shepherd-name,oci-networks-shepherd-name,
oci-networks-home-shepherd-name,oci-volumes-shepherd-name,
oci-volumes-home-shepherd-name,oci-container-configuration->options,
oci-network-configuration->options,oci-volume-configuration->options,
oci-container-shepherd-service,oci-objects-merge-lst,oci-extension-merge,
oci-service-accounts,oci-service-profile,oci-service-subids,
oci-configuration->shepherd-services,oci-configuration-extend): New
procedures.
(image-reference): Implement unambiguous naming convention, that paired
with the new implementation for listing caches images with docker ls or
podman ls, allows for more efficient image caching.
(oci-container-configuration)[user,group]: Change default-type to
maybe-string, since by default containers will run under the user and
group declared in oci-configuration records. When unset the
oci-service-type will derive their value from the OCI runtime state.
[runtime,host-environment,environment,shepherd-actions,ports,extra-arguments]:
define a predicate and use it as a type in the configuration. This
way errors are reported with source location information.
(lower-manifest): Defer to caller the logic of setting up an image tag.
(lower-oci-image): Rename to load-oci-image-state.
(oci-runtime-state): Intermediate representation of the OCI runtime
details. It is supposed to be an internal API.
(oci-state): Intermediate representation of the OCI provisioning state,
such as containers and networks. It is supposed to be an internal API.
(oci-container-invocation): Intermediate representation of the OCI
runtime run command to start a container. It is supposed to be an
internal API.
(%oci-image-loader): Rename to oci-image-loader and use
oci-runtime-state and (gnu build oci-containers).
(oci-container-shepherd-service): Use oci-state and oci-runtime-state,
add command-line action.
(oci-network-configuration,oci-volume-configuration,oci-configuration,
oci-extension): New record types.
(oci-service-type): New service-type.
* doc/guix.texi: Document it.
* gnu/tests/containers.scm: Test it.
* gnu/services/docker.scm: Deprecate the oci-container-service-type.
Change-Id: I656b3db85832e42d53072fcbfb91d1226f39ef38
Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
tests: oci-container: Set explicit timeouts.
* gnu/tests/docker.scm: Simplify %test-oci-container test case and add
explicit timeouts to tests outcomes.
Change-Id: I75868479dcce031f3edc98064b1ebcf975f598f5
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
gnu: delve: Update to 1.25.1.
* gnu/packages/debug.scm (delve): Update to 1.25.1.
[srouce] <snippet>: Delete "vendor" directory.
[arguments] <tests?>: Use it instead deleting 'check phase.
[native-inputs]: Add go-github-com-cilium-ebpf,
go-github-com-cosiner-argv, go-github-com-creack-pty,
go-github-com-derekparker-trie, go-github-com-go-delve-liner,
go-github-com-google-go-dap, go-github-com-hashicorp-golang-lru,
go-github-com-mattn-go-colorable, go-github-com-mattn-go-isatty,
go-github-com-spf13-cobra, go-github-com-spf13-pflag,
go-go-starlark-net, go-golang-org-x-arch, go-golang-org-x-sys,
go-golang-org-x-telemetry, go-golang-org-x-tools, and
go-gopkg-in-yaml-v3.
Closes guix/guix#2131
Change-Id: I23c5f6f477002d8d0b3288973c497ecc2750c05b
Change-Id: Iea21ebf095c70c3654fbfd868c5f697912473dea
Signed-off-by: jgart <jgart@dismail.de>
gnu: Add go-github-com-go-delve-liner.
* gnu/packages/golang-xyz.scm (go-github-com-go-delve-liner): New variable.
Change-Id: Ifcc72ac131d1fc4aff06b5384b5a31b5e9fc6d00
Signed-off-by: jgart <jgart@dismail.de>
gnu: Add go-github-com-derekparker-trie-v3.
* gnu/packages/golang-xyz.scm (go-github-com-derekparker-trie-v3): New variable.
Change-Id: I9a615d29cf6b86c8abfca4d7c17753900772857f
Signed-off-by: jgart <jgart@dismail.de>
gnu: Add go-github-com-derekparker-trie.
* gnu/packages/golang-xyz.scm (go-github-com-derekparker-trie): New variable.
Change-Id: I7b498ee39ec7be32a292fdbc2347a04f724b7c57
Signed-off-by: jgart <jgart@dismail.de>
gnu: Add go-github-com-google-go-dap.
* gnu/packages/golang-web.scm (go-github-com-google-go-dap): New variable.
Change-Id: I746f6a6a31813cbf5b2b47b5af0c052db9c7e067
Signed-off-by: jgart <jgart@dismail.de>
gnu: Add go-github-com-cosiner-argv.
* gnu/packages/golang-xyz.scm (go-github-com-cosiner-argv): New variable.
Change-Id: Iafc036027f8b89dd965c8865838631def8237ba9
Signed-off-by: jgart <jgart@dismail.de>
gnu: trealla: Update to 2.82.20.
* gnu/packages/prolog.scm (trealla): Update to 2.82.20.
Change-Id: Ic8e5c4c7ba5febfec85b6bab129cb0a179e5e034
gnu: python-myhdl: Update home page URL.
* gnu/packages/fpga.scm (python-myhdl) [home-page]: Use HTTP, as the
TLS certificate is expired/invalid.
Change-Id: I095e6509b8ba01aec2d0f7a78025adfa92a98842
gnu: systemc: Update home page.
* gnu/packages/fpga.scm (systemc) [home-page]: Update URL.
Change-Id: Iec9dcd9cb9a92a8020ad5908b665e2ec09a44ba4
gnu: systemc: Update to 3.0.1.
* gnu/packages/fpga.scm (systemc): Update to 3.0.1.
Change-Id: Ibd5857686cb1e7628bf6052cd4ef85e73a6ec5d1
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
gnu: nvc: Update to 1.17.2.
* gnu/packages/fpga.scm (nvc): Update to 1.17.2.
Change-Id: I1024d01bf1b54e6322c301ff9dd87192f3d76b7c
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>