Commit graph

152409 commits

Author SHA1 Message Date
Sharlatan Hellseher
c3a35dbf5c
gnu: go-github-com-xdg-go-scram: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-xdg-go-scram): Move from here ...
* gnu/packages/golang-web.scm: ... to here.

Change-Id: I1aacfb2fe0b0adfa0142774c29557f6dd6751e85
2025-01-11 23:38:53 +00:00
Sharlatan Hellseher
db160486b9
gnu: go-github-com-xdg-go-scram: Update to 1.1.2.
* gnu/packages/golang.scm (go-github-com-xdg-go-scram): Update to 1.1.2.

Change-Id: Id28ab2ae051d2633357f9e0e418698c7b113dcea
2025-01-11 23:38:53 +00:00
Sharlatan Hellseher
da1eb12aa1
gnu: go-github-com-urfave-cli: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-urfave-cli,
go-github-com-urfave-cli-v2): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

* gnu/packages/curl.scm: Add golang-xyz module.

Change-Id: Ic6fc7a312c0c7bccb47451ec2b9500c8ab1927de
2025-01-11 23:38:53 +00:00
Sharlatan Hellseher
81a768982a
gnu: go-github-com-urfave-cli-v2: Update to 2.27.5.
* gnu/packages/golang.scm (go-github-com-urfave-cli-v2): Update to 2.27.5.
[source]<patches>: Remove patch as no longer required.
[propagated-inputs]: Add go-github-com-burntsushi-toml,
go-github-com-go-md2man, go-github-com-xrash-smetrics, and
go-gopkg-in-yaml-v3.

* gnu/packages/patches/go-github-com-urfave-cli-fix-v2-tests.patch: Delete file.
* gnu/local.mk: Deregister patch.

Change-Id: I18c5b778b18d44bb8a6508440174cd87f5ec390a
2025-01-11 23:38:53 +00:00
Sharlatan Hellseher
49341822ad
gnu: go-github-com-urfave-cli: Update to 1.22.16.
* gnu/packages/golang.scm (go-github-com-urfave-cli): Update to 1.22.16.
[source]: Remove patch.
[native-iputs]: Add go-github-com-stretchr-testify.

* gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch: Delete file.
* gnu/local.mk: Deregister patch.

Change-Id: If4f1db104fbdcd5b603003065c88110746d12ebb
2025-01-11 23:38:53 +00:00
Sharlatan Hellseher
0ab82b0cd0
gnu: Add go-github-com-xrash-smetrics.
* gnu/packages/golang-xyz.scm (go-github-com-xrash-smetrics): New variable.

Change-Id: I5f3d2e41810452cd3c77d5147039819c692222af
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
63c1db8d8b
gnu: packages/textutils: Remove golang module.
* gnu/packages/textutils.scm: As all Golang dependencies were shifted to
corresponded submodules, remove not required "golang" module from used
ones.

Change-Id: Ied355422df939ee21199eb4a86405685b15d5dd4
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
ffa089879a
gnu: Add go-csv2table.
* gnu/packages/golang-xyz.scm (go-csv2table): New variable.

Change-Id: I8e86d510273a147bb068da269672c773c1119ad4
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
ccf8d88975
gnu: go-github-com-olekukonko-tablewriter: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-olekukonko-tablewriter): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I29317ffb579c61cfd3197cfae53aa3158e34ff63
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
df137029ce
gnu: go-github-com-olekukonko-tablewriter: Update to 0.0.5.
* gnu/packages/golang.scm (go-github-com-olekukonko-tablewriter): Update to 0.0.5.

Change-Id: I3cd5c978564ae2ff388b28da4bd5c98120249e7d
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
97af8f5adf
gnu: go-github-com-mitchellh-mapstructure: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-mitchellh-mapstructure): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I33ff5f856b6473363a1fcf9701583ce2176e5964
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
a4954ec060
gnu: go-github-com-bmatcuk-doublestar: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar,
go-github-com-bmatcuk-doublestar-v2,
go-github-com-bmatcuk-doublestar-v3,
go-github-com-bmatcuk-doublestar-v4): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I96ad2e60f6e21caf2a110bba38823c28e453ce6c
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
f40cab0218
gnu: go-github-com-bmatcuk-doublestar-v4: Update to 4.7.1.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar-v4): Update to 4.7.1.

Change-Id: Ibe065ddfd379b51519096973fb9750def45165a5
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
b6ed921d38
gnu: go-github-com-bmatcuk-doublestar-v3: Enable tests.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar-v3)
[arguments]: Preserve most of them, enable tests.

Change-Id: I86efb276ae968e0f70ae4f1c468abeb5f22c3fc2
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
d4175e216b
gnu: go-github-com-bmatcuk-doublestar-v2: Enable tests.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar-v2)
[arguments]: Preserve most of them, enable tests.

Change-Id: If288c91dff37241cf0c96b7322d746dad124b884
2025-01-11 23:38:52 +00:00
Sharlatan Hellseher
f8d2fb1903
gnu: go-github-com-bmatcuk-doublestar: Simplify package.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar)
[arguments]<test-flags>: Move test skip logic here.

Change-Id: I8e6929b519585e5150fcc7d12e9c5cda4fb2e3c5
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
6522a4aa57
gnu: go-github-com-twpayne-go-vfs: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-twpayne-go-vfs): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I17966b165d427dcaed1ee06c7b2c32b153f9d2cd
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
8f523616ef
gnu: go-github-com-twpayne-go-vfs: Update to 5.0.4.
* gnu/packages/golang.scm (go-github-com-twpayne-go-vfs): Update to 5.0.4.
[arguments]<phases>: Use custom 'check.
[native-inputs]: Remove go-github-com-bmatcuk-doublestar and
go-github-com-stretchr-testify; add
go-github-com-alecthomas-assert-v2.

Change-Id: I3714118169840883aa5d896d72ba03891bf6d421
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
6356384491
gnu: go-github-com-nxadm-tail: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-nxadm-tail): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I9762891d9c8cd8d2c01e69153eab88aa909ea7d1
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
1551375c0f
gnu: go-github-com-nxadm-tail: Update to 1.4.11.
* gnu/packages/golang.scm (go-github-com-nxadm-tail): Update to 1.4.11.

Change-Id: Idf79c94c6ca973f4662f3ad702e4850d63a6ea8b
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
a4a20c5b24
gnu: go-github-com-spf13-viper: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-spf13-viper): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I752e96566094db0a30d24b76e2d4ca0d0e937b75
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
8725fcb10f
gnu: go-github-com-spf13-pflag: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-spf13-pflag): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I15be5ebbc1b2c200267676ae0c8b88fc2e062e85
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
6dee9a8f69
gnu: go-github-com-spf13-jwalterweatherman: Improve description.
* gnu/packages/golang-xyz.scm (go-github-com-spf13-jwalterweatherman)
[description]: Add more details from project's README.

Change-Id: I6e86b52098624dffc56bfb052295ef5256e92a9e
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
6dfd436abe
gnu: go-github-com-spf13-jwalterweatherman: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-spf13-jwalterweatherman): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Icb52b710679d4ee51e7ae9a47ae9b12f3f9b3203
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
0c2464bd7e
gnu: go-github-com-spf13-cast: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-spf13-cast): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Iba26cf7fc5c85c32b78d1ee0d9eb4e1117c62c12
2025-01-11 23:38:51 +00:00
Sharlatan Hellseher
91c923187d
gnu: go-github-com-spf13-afero: Run all tests.
* gnu/packages/golang-xyz.scm (go-github-com-spf13-afero): Enable all
tests from subdirectories.
[arguments]<phases>: Use custom 'check.

Change-Id: Iada2f737c19c6fe18038da56c316717e6e0ce3ac
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
9ff927d42d
gnu: go-github-com-spf13-afero: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-spf13-afero): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I9c4fe91acd0e09eb588664f01ec745d229178488
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
2f78de048f
gnu: go-github-com-spf13-viper: Update to 1.8.1.
* gnu/packages/golang.scm (go-github-com-spf13-viper): Update to 1.8.1.
[arguments]<tests>: Enable them.

Change-Id: I999b3cd7416a342ef399b9d47a2d71b8c6d6853f
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
fee52e6fa8
gnu: go-github-com-spf13-pflag: Add a maintenance note.
* gnu/packages/golang.scm (go-github-com-spf13-pflag): Add a maintenance
note.

Change-Id: Id563c7b0024477fe7f64af00c20857845b2cb64d
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
a32faaab36
gnu: go-github-com-spf13-cast: Update to 1.7.0.
* gnu/packages/golang.scm (go-github-com-spf13-cast): Update to 1.7.0.
[native-inputs]: Remove go-github-com-stretchr-testify; add
go-github-com-frankban-quicktest.

Change-Id: Ifb1e93fa7fcb2d662f0c083e2c4f7ec41f9ff039
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
6c7197ee64
gnu: go-github-com-spf13-afero: Update to 1.6.0.
* gnu/packages/golang.scm (go-github-com-spf13-afero): Update to 1.6.0.

Change-Id: Iee577be145783146c9312ac0469ae91dddb89227
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
c816b6bd77
gnu: go-github-com-cyphar-filepath-securejoin: Update to 0.3.4.
* gnu/packages/golang-xyz.scm (go-github-com-cyphar-filepath-securejoin): Update to 0.3.4.
[source]: Fix typo in URL.

Change-Id: Iee8bc25e03ebe760ddfe5ec5e2b9f20a80b9e806
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
f8d5501b7c
gnu: go-github-com-kylelemons-godebug: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-kylelemons-godebug,
go-github-com-kylelemons-godebug-pretty): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I8dad929a25526a0aa08a9a6fc958e8b2034d702e
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
4a3e250b4e
gnu: go-github-com-kylelemons-godebug: Improve style.
* gnu/packages/golang.scm (go-github-com-kylelemons-godebug): Provide
"diff" and "pritty" modules together.
[arguments]<phases>: Remove 'build, add custom 'check.

Change-Id: I4815d3476025c0c16645e32c675de601ba582f6d
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
097bf2b0dc
gnu: go-github-com-go-md2man: Update to 2.0.5.
* gnu/packages/golang.scm (go-github-com-go-md2man): Update to 2.0.5.
[source]<snippet>: Remove, as no longer exists.

Change-Id: Iee88ae6665cc26203520e11dc1c665f70427bfbb
2025-01-11 23:38:50 +00:00
Sharlatan Hellseher
fa0d6c444c
gnu: go-github-com-russross-blackfriday: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-russross-blackfriday,
go-github-com-russross-blackfriday-v2): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I004efdcd797da670a87e2f319b4df1b072e5bf10
2025-01-11 23:38:49 +00:00
Sharlatan Hellseher
58fd081cff
gnu: Remove go-github-com-dustin-gojson.
It's not maintained for 8y and not in use by any other packages in Guix.

* gnu/packages/golang-xyz.scm (go-github-com-dustin-gojson): Delete variable.

Change-Id: I0b8d6e0873967d2454654640fa5f5add0b2bfaf3
2025-01-11 23:38:49 +00:00
Sharlatan Hellseher
c1c47fff11
gnu: Remove go-github-com-calmh-xdr.
* gnu/packages/golang-xyz.scm (go-github-com-calmh-xdr): Delete variable.

Change-Id: I5414a14b093819d1f17d5eb9791f29a705daa5fe
2025-01-11 23:38:41 +00:00
Zheng Junjie
c560a14378
gnu: chibi-scheme: Fix cross-compilation.
* gnu/packages/scheme.scm (chibi-scheme)[arguments]: Use G-expression.
<#:make-flags>:When cross-compilation, Set CHIBI.
[native-inputs]: When cross-compilation. Add this-package.

Change-Id: I424854d77e575f2e2aab8a5a9d32ef628c9db953
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-11 23:36:58 +01:00
Giacomo Leidi
24a12aeb91
services: rootless-podman: Enable I/O delegation.
Based on
https://rootlesscontaine.rs/getting-started/common/cgroup2/#enabling-cpu-cpuset-and-io-delegation
, this patch enables I/O delegation for cgroups v2 enabled users.

* gnu/services/containers.scm (cgroups-limits-entrypoint): Enable I/O
controller delegation.
* gnu/tests/containers.scm: Test it.

Change-Id: I7caba33695f11830bea477c4ab3afb89cfaa2fa5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-11 23:36:58 +01:00
Giacomo Leidi
b7746ad83f
services: tests: Add delay for rootless Podman system test.
* gnu/tests/containers.scm (run-rootless-podman-test): Add 60 seconds
long delay before tests are actually run.

Change-Id: Ifcf70f7258f9e0886bf829884d7daedc9803352b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-11 23:36:58 +01:00
Leo Nikkilä
5ee26f0bf4
services: nginx: Make log formats configurable.
* gnu/services/web.scm (<nginx-log-format-configuration>): New record.
(<nginx-configuration>)[log-format, log-formats]: New fields.
(assert-valid-log-format-escape): New procedure.
(emit-nginx-log-format-config): New procedure.
(default-nginx-config): Make log formats configurable.
* doc/guix.texi (Web Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I8a16a1a9a20f64606dac0a1e14f1c5217d351f90
2025-01-11 23:36:58 +01:00
Sören Tempel
8db6cfe022
services: dns: Add unbound service.
This allows using Unbound as a local DNSSEC-enabled resolver. This
commit also allows configuration of the Unbound DNS resolver via a
Scheme API. The API currently provides very common options and
includes an escape hatch to enable less common configurations.

* gnu/service/dns.scm (unbound-serialize-field): New procedure.
(unbound-serialize-alist, unbound-serialize-section)
(unbound-serialize-string, unbound-serialize-boolean)
(unbound-serialize-list-of-strings): New procedures.
(unbound-zone): New record type.
(unbound-serialize-unbound-zone)
(unbound-serialize-list-of-unbound-zone): New procedures.
(unbound-remote): New record type.
(unbound-serialize-unbound-remote): New procedure.
(unbound-server): New record type.
(unbound-serialize-unbound-server): New procedure.
(unbound-configuration): New record type.
(unbound-config-file, unbound-shepherd-service): New procedures.
(unbound-account-service): New variable.
(unbound-service-type): New services.
* gnu/tests/dns.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (DNS Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I4c9646c9e17d4882e596d33ff8f738e1877fa1ae
2025-01-11 23:36:58 +01:00
Marco Rimoldi
73e413b6cd
doc: cookbook: Update "Build system arguments" section.
* doc/guix-cookbook.texi (Build system arguments)

Remove recommendation on phase return value.
Ensure code examples can run and are up-to-date.

Change-Id: I143babf79983751578d6d4e20b20195ea000656d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-11 23:36:58 +01:00
Ludovic Courtès
d081b41d2e
services: cuirass: Add ‘build-expiry’ field.
* gnu/services/cuirass.scm (<cuirass-configuration>)[build-expiry]: New
field.
(cuirass-shepherd-service): Honor it.
* doc/guix.texi (Continuous Integration): Document it.

Change-Id: I1f9e21368437fd8fc236719e32bad7656928c926
2025-01-11 23:36:57 +01:00
Ludovic Courtès
1326817ddd
gnu: cuirass: Update to 6b499a7.
* gnu/packages/ci.scm (cuirass): Update to 6b499a7.

Change-Id: I38dd8283ae928b9f736488683426fd8aedf40d66
2025-01-11 23:36:57 +01:00
Ludovic Courtès
6e215b83db
etc: upgrade: Add web and crypto packages.
* etc/manifests/upgrade.scm (security-packages): add nghttp2, nginx,
nettle, and libsodium.

Change-Id: I264d4595c3448cdfe5aefebbeb19eeee5107cef9
2025-01-11 23:36:57 +01:00
Ludovic Courtès
ab4dc03b67
upstream: Return #f when ‘source-urls’ is a <git-reference>.
Fixes a type error where ‘find2’ could be passed a <git-reference>
instead of a list of strings (URLs).

* guix/upstream.scm (preferred-upstream-source-url): Return #f and #f
when ‘upstream-source-urls’ does not return a pair.

Change-Id: If43a610fac5f3feb871e0900966d65b4971bd053
2025-01-11 23:36:57 +01:00
Ekaitz Zarraga
5d288cdeaf
gnu: opensc: Update to 0.26.0.
* gnu/packages/security-token (opensc): Update to 0.26.0.

Change-Id: Ib4dc6b971c7f99cbf48fb6d2c701ce4fe5e994df
2025-01-11 22:42:09 +01:00
Evgeny Pisemsky
75749800be
gnu: snac2: Update to 2.68.
* gnu/packages/fediverse.scm (snac2): Update to 2.68.

Change-Id: Iccb52a4b1d7eb6c19f13114b9c42acfb9613e728
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2025-01-11 21:10:04 +08:00