1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00
Commit Graph

168000 Commits

Author SHA1 Message Date
Ludovic Courtès
f543fe44e0 build-self: Remove 2018-era compatibility shim for ‘gexp->script’.
* build-aux/build-self.scm (load-path-expression, gexp->script): Remove.

Change-Id: I956e2b8461c1a3ab719f923aef857efc03ebb174
2025-09-11 22:32:10 +02:00
Ludovic Courtès
6a750fbfaf build-self: Remove 2018-era fallback for guile-gcrypt.
* build-aux/build-self.scm (guile-gcrypt): Remove fallback case for when the
host Guix lacks ‘guile-gcrypt’.

Change-Id: I840333a72a45f8582bb26271d41e3fadf1c59f3e
2025-09-11 22:31:59 +02:00
Ludovic Courtès
a5ac56f883 packages: ‘package-field-location’ returns a <location> for atoms.
Fixes guix/guix#1975.

When using ‘read’, ‘package-field-location’ would not get source location for
atoms such as symbols, typically making it impossible to get the location of
the value of a field list (build-system gnu-build-system).  This fixes that.

* guix/packages.scm (field-value-location): New procedure.
(package-field-location): Use it instead of inline code.
* tests/packages.scm ("package-field-location"): Test the ‘build-system’
field.

Reported-by: Nicolas Graves <ngraves@ngraves.fr>
Change-Id: I98c694bb6f1999fa9ca80e145fa016640067af55
2025-09-11 22:27:47 +02:00
Hugo Buddelmeijer
fd4402f09a gnu: python-glob2: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-glob2)[build-system]: Switch to
pyproject-build-system.
[native-inputs]: Add python-pytest. and python-setuptools-next.
[arguments] <#:phases>: Add fixes for pytest 8.

Change-Id: I95459df0aedf4c5ba22d060aa1e2640875ecb240
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-11 18:53:12 +01:00
Lars Bilke
5d31f8f406 gnu: ogs-petsc: Fix build.
This is a follow-up to cc0f3ff18b.

Fixes build error:

   /<...>-ogs-petsc-6.5.5-builder:1:6093: Unknown # object: "#<"

* gnu/packages/geo.scm (ogs-petsc): Arguments to G-expressions.

Change-Id: Ideec2bd833e2dbf0f701659bac31796ac0d06009
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-11 16:48:47 +01:00
Yelninei
452dacd7e8 gnu: Add fastfetch-minimal.
* gnu/packages/admin.scm (fastfetch-minimal): New variable.
(fastfetch): inherit from fastfetch-minimal.

Change-Id: Ie1b39699e5202a7a29c606f9e9ba08fb769eadd0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-11 16:42:24 +01:00
Sharlatan Hellseher
355e47a9ec gnu: incus: Update to 6.15.0.
* gnu/packages/virtualization.scm (incus): Update to 6.15.0.

Change-Id: Id03bb3b716f28ff96e3fe8dde74648cf08006b7b
2025-09-11 16:24:12 +01:00
Sharlatan Hellseher
fc046443f4 gnu: go-github-com-zitadel-oidc-v3: Update to 3.43.0.
* gnu/packages/golang-web.scm (go-github-com-zitadel-oidc-v3): Update to 3.43.0.
[arguments] <go>: Use default go-1.24.
<test-flags>: Skip code vet during tests.
[propagated-inputs]: Add go-go-opentelemetry-io-otel-trace.

Change-Id: Id5debd7a426de5e31ea1985bd536b23a9bebcc5f
2025-09-11 16:23:29 +01:00
Sharlatan Hellseher
3ba7261e87 gnu: go-github-com-vishvananda-netlink: Update to 1.3.1.
* gnu/packages/golang-web.scm (go-github-com-vishvananda-netlink): Update to 1.3.1.

Change-Id: I00803901994f3f4dfc9931e9e8049d08877fce53
2025-09-11 16:23:11 +01:00
Sharlatan Hellseher
321361c1d7 gnu: lf: Update to 37.
* gnu/packages/disk.scm (lf): Update to 37.
[native-inputs]: Remove go-golang-org-x-text.

Change-Id: I65e526ca6b24bb5d359ef8d264b7efd0995072d1
2025-09-11 15:40:07 +01:00
Sharlatan Hellseher
0df23ca77b gnu: gomacro: Update to 0.0.0-20250712144029-20095acfbf18.
* gnu/packages/golang-apps.scm (gomacro): Update to 0.0.0-20250712144029-20095acfbf18.

Change-Id: I55103b91fb6dd0ed46fc306a16d0ebf8c05aa427
2025-09-11 15:34:29 +01:00
Sharlatan Hellseher
7d734b94ca gnu: gore: Update to 0.6.1.
* gnu/packages/golang-apps.scm (gore): Update to 0.6.1.
[arguments] <go>: Use default go-1.24.
<test-flags>: Skip 4 more tests.

Change-Id: Ifa57d4c1b025c83468dce9d03a910186728d8e59
2025-09-11 15:31:06 +01:00
Sharlatan Hellseher
7f1922891e gnu: go-ifacemaker: Impvoe package.
* gnu/packages/golang-xyz.scm (go-ifacemaker)[arguments]: Substitute
keyword arguments instead of overwriting them.
[native-inputs]: Inherit.
[propagated-inputs]: Drop all.
[inputs]: Drop all.
[description]: Fix it.

Change-Id: Ib53b8643597d9b7b817282fdf2e0a90b6e87915b
2025-09-11 15:26:26 +01:00
Sharlatan Hellseher
240054733c gnu: go-github-com-vburenin-ifacemaker: Update to 1.3.0.
* gnu/packages/golang-xyz.scm (go-github-com-vburenin-ifacemaker): Update to 1.3.0.

Change-Id: I79eba0c5d3b14d5c83fa58540da539bb09a8ddf3
2025-09-11 15:21:46 +01:00
Sharlatan Hellseher
3cf2051c28 gnu: go-hclogvet: Switch to package/inherit.
* gnu/packages/golang-xyz.scm (go-hclogvet): Switch to package/inherit.
[arguments]: Substitute keyword arguments instead of overwriting them.
[native-inputs]: Inherit.
[propagated-inputs]: Drop all.
[inputs]: Drop all.

Change-Id: I8544c879069d4b13a2356b79eb3c6c05c7adfde3
2025-09-11 15:20:10 +01:00
Sharlatan Hellseher
679ce822e7 gnu: go-github-com-hashicorp-go-hclog: Update to 1.6.3.
* gnu/packages/golang-xyz.scm (go-github-com-hashicorp-go-hclog): Update to 1.6.3.

Change-Id: Ibdc1840e1b8c115ba830800b009a01f7e6c30b47
2025-09-11 15:14:35 +01:00
Sharlatan Hellseher
2bdc1aefdc gnu: go-fxlint: Update to 0.0.0-20250513223611-0a30575829d4.
* gnu/packages/golang-apps.scm (go-fxlint): Update to 0.0.0-20250513223611-0a30575829d4.

Change-Id: I819b04a1760ab80d5aaa750fb4144666fe4a32a5
2025-09-11 15:09:55 +01:00
Sharlatan Hellseher
b88d83ee53 gnu: go-fxlint: Move to golang-apps.
* gnu/packages/golang-xyz.scm (go-fxlint): Move from here ...
* gnu/packages/golang-apps.scm: ... to here.

Change-Id: I292ffa1c60bf56abfbd09f21271a0242e67576fa
2025-09-11 15:08:15 +01:00
Sharlatan Hellseher
ceeeff81d2 gnu: Remove go-go-uber-org-fx-tools.
* gnu/packages/golang-xyz.scm (go-go-uber-org-fx-tools): Delete variable.

Change-Id: I4eed619e7fa3d38dce7bdb29a62b85c63d7e51a7
2025-09-11 15:07:23 +01:00
Sharlatan Hellseher
7979b51f45 gnu: go-fxlint: Do not inherit.
go-go-uber-org-fx-tools package needs to be deleted as it does not
provide any source Golang library but only `fxlint' final executable,
this change re-package go-fxlint as a stand along one.

* gnu/packages/golang-xyz.scm (go-fxlint): Do not inherit from
go-go-uber-org-fx-tools and migrate all missing fields.

Change-Id: I55aec9a4d28ebb7b80a37e4799b5903707e2033b
2025-09-11 15:04:44 +01:00
Sharlatan Hellseher
e913d6d595 gnu: go-github-com-olekukonko-tablewriter: Update to 1.0.9.
* gnu/packages/golang-xyz.scm (go-github-com-olekukonko-tablewriter): Update to 1.0.9.
[arguments] <go>: Use default go-1.24 compiler.
<test-flags>: Skip vet during tests.

Change-Id: I0f46664d59f3b29ce3bc256e76f94f78a094e55e
2025-09-11 14:45:13 +01:00
Sharlatan Hellseher
5fe9296618 gnu: go-chroma: Move to golang-apps.
* gnu/packages/golang-xyz.scm (go-chroma): Move from here ...
* gnu/packages/golang-apps.scm: ... to here.

Change-Id: Ie86b2c62c4afd1d7fb41c1f73abb1339fc62c47f
2025-09-11 14:35:32 +01:00
Sharlatan Hellseher
188a7b54da gnu: go-chroma: Update to 2.20.0.
* gnu/packages/golang-xyz.scm (go-chroma): Update to 2.20.0.
Do not inherit from go-github-com-alecthomas-chroma-v2 and complete
missing fields.
[arguments] <embed-files>: Copy "*.xml" files into build directory.
[native-inputs]: Remove go-github-com-alecthomas-assert-v2; add
go-github-com-alecthomas-chroma-v2.
[home-page]: Add field.
[synopsis]: Likewise.
[license]: Likewise
[description]: Add chroma CLI related description.

Change-Id: Ie3ec51ee78f96be4fee2ca1e8d3ffc5b14b9e6f0
2025-09-11 14:35:32 +01:00
Sharlatan Hellseher
f82c2082da gnu: go-github-com-niklasfasching-go-org: Update to 1.9.1.
* gnu/packages/golang-xyz.scm (go-github-com-niklasfasching-go-org): Update to 1.9.1.
[arguments] <test-flags>: Skip one test.

Change-Id: I489272261619803b0080414f30109afb573f670a
2025-09-11 14:35:21 +01:00
Sharlatan Hellseher
8f00a8f5c6 gnu: go-github-com-charmbracelet-x-input: Update to 0.3.7.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-input): Update to 0.3.7.
[propagated-inputs]: Remove go-github-com-erikgeiser-coninput; add
go-github-com-rivo-uniseg.

Change-Id: I92b1cb180ab240bfe11a0e1214d052f24f802449
2025-09-11 14:22:52 +01:00
Sharlatan Hellseher
dea5b20af1 gnu: go-github-com-charmbracelet-glamour: Update to 0.10.0.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-glamour): Update to 0.10.0.
[arguments] <test-flags>: Skip some problematic tests.
[propagated-inputs]: Add go-github-com-charmbracelet-x-exp-slice and
go-golang-org-x-text.

Change-Id: I643fbb63a7f5a1cb4be79b4d80dad6fdaf4589c1
2025-09-11 14:15:35 +01:00
Sharlatan Hellseher
c09dca0c12 gnu: Add go-github-com-charmbracelet-x-exp-slice.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-exp-slice): New variable.

Change-Id: I3eff87e1ceb6740ac4ad40f712690124b5087d9a
2025-09-11 14:08:58 +01:00
Sharlatan Hellseher
0d1fab2608 gnu: go-github-com-alecthomas-chroma-v2: Update to 2.20.0.
* gnu/packages/golang-xyz.scm (go-github-com-alecthomas-chroma-v2): Update to 2.20.0.
[source] <snippet>: Remove submodules with their own go.mod files.
[arguments] <phases>: Remove 'remove-failing-testdata-and-cmd-files.
Use default 'check.

Change-Id: I651bf6e4418fe8467233ab68bda9f38fa88b3f01
2025-09-11 14:08:58 +01:00
Sharlatan Hellseher
0c20a0e370 gnu: go-github-com-charmbracelet-lipgloss: Update to 1.1.0.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-lipgloss): Update to 1.1.0.
[propagated-inputs]: Add go-github-com-charmbracelet-x-cellbuf.

Change-Id: Ic776c1ff279f886454a3d41a071f4c1c9e8813cd
2025-09-11 14:08:58 +01:00
Sharlatan Hellseher
08bd553497 gnu: Add go-github-com-charmbracelet-x-cellbuf.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-cellbuf): New variable.

Change-Id: I9833d4d87f7b1eea4fad4f1e32d7dc24899c9d18
2025-09-11 14:08:58 +01:00
Sharlatan Hellseher
af7daf1e1c gnu: Add go-github-com-charmbracelet-colorprofile.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-colorprofile): New variable.

Change-Id: Ic342ff55465727362059a0b25811596d815d396d
2025-09-11 14:08:58 +01:00
Sharlatan Hellseher
a6ab914cea gnu: go-github-com-charmbracelet-x-term: Use delete-all-but.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-term)[source]<snippet>:
Delete all but source for the current module.

Change-Id: I7e6577a70d184b26b9707dc0ae7874debc98cb43
2025-09-11 14:07:19 +01:00
Sharlatan Hellseher
10f52ccbcd gnu: go-github-com-charmbracelet-x-ansi: Update to 0.10.1.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-ansi): Update to 0.10.1.
[source] <snippet>: Keep just current package source.
[propagated-inputs]: Add go-github-com-bits-and-blooms-bitset and
go-github-com-mattn-go-runewidth.

Change-Id: I5ff71cee36325192d8ac9a46e3ca770b3eb06a5b
2025-09-11 14:06:47 +01:00
Sharlatan Hellseher
7d5a852e91 gnu: go-ariga-io-atlas: Update to 0.36.1.
* gnu/packages/golang-xyz.scm (go-ariga-io-atlas): Update to 0.36.1.
[arguments] <test-flags>: Rework skipped tests.
[propagated-inputs]: Remove go-github-com-data-dog-go-sqlmock.
[native-inputs]: Add go-github-com-data-dog-go-sqlmock and
go-github-com-mattn-go-sqlite3.

Change-Id: Ieaed1fda9254973960f5812b7e3ad895ec7d3115
2025-09-11 13:00:23 +01:00
Sharlatan Hellseher
1925f23a62 gnu: git-sync: Update to 4.4.3.
* gnu/packages/golang-vcs.scm (git-sync): Update to 4.4.3.

Change-Id: Ice97e408175987902ebfd073fac0a02e947f8598
2025-09-11 12:40:44 +01:00
Sharlatan Hellseher
96e93d586b gnu: packages/golang-xyz: Remove ipfs module.
* gnu/packages/golang-web.scm: Remove unused ipfs module.

Change-Id: Idba822ee31eb8c53c5db9e98a7a3aa2b3c3f5c94
2025-09-11 12:37:30 +01:00
Sharlatan Hellseher
1bbd95458a gnu: go-github-com-libp2p-go-socket-activation: Move to ipfs.
* gnu/packages/golang-web.scm (go-github-com-libp2p-go-socket-activation):
Move from here ...
* gnu/packages/ipfs.scm: ... to here.

Change-Id: I4f119ef54dcb26f9c448cc9a7b4d57bc30e0f544
2025-09-11 12:35:34 +01:00
Sharlatan Hellseher
06251ce90c gnu: go-github-com-libp2p-go-doh-resolver: Move to ipfs.
* gnu/packages/golang-web.scm (go-github-com-libp2p-go-doh-resolver):
Move from here ...
* gnu/packages/ipfs.scm: ... to here.

Change-Id: I18b4ed7a1549755a3a7618823b0fe492c2914afb
2025-09-11 12:33:25 +01:00
Sharlatan Hellseher
82121b3572 gnu: go-github-com-ipfs-go-cid: Move to golang-web.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-cid): Move from here ...
* gnu/packages/golang-web.scm: ... to here.

Change-Id: Iea8fc418f2b4e479f453ac63a27d97e3e203e13f
2025-09-11 12:30:56 +01:00
Sharlatan Hellseher
e75833ff8d gnu: go-github-com-libp2p-go-cidranger: Move to ipfs.
* gnu/packages/golang-web.scm (go-github-com-libp2p-go-cidranger): Move
from here ...
* gnu/packages/ipfs.scm: ... to here.

Change-Id: Idb0ada9852e028d76ca88237b298d4f0d5d8617a
2025-09-11 12:27:10 +01:00
Sharlatan Hellseher
a3e6b7509d gnu: git-spice: Update to 0.15.2.
* gnu/packages/version-control.scm (git-spice): Update to 0.15.2.
[native-inputs]: Remove go-github-com-charmbracelet-log; add go-go-abhg-dev-log-silog.

Change-Id: Ib49889eefcfe92116bedda4e10651b53c602eba1
2025-09-11 12:17:40 +01:00
Sharlatan Hellseher
275f5d9628 gnu: go-github-com-alecthomas-kong: Update to 1.12.1.
* gnu/packages/golang-xyz.scm (go-github-com-alecthomas-kong): Update to 1.12.1.

Change-Id: I89f6834a25c9f051e072027ddf8b3d12ae6ae3cd
2025-09-11 12:17:40 +01:00
Sharlatan Hellseher
11ad0901a4 gnu: go-gitlab-com-gitlab-org-api-client-go: Update to 0.130.1.
* gnu/packages/golang-web.scm (go-gitlab-com-gitlab-org-api-client-go):
Update to 0.130.1.
[source] <url>: Remove trailing ".git", fix indentation.
[arguments] <test-flags>: Rework the list of skipped tests.
[native-inputs]: Add go-go-uber-org-mock.

Change-Id: I3f9e642dcc0d88eeb062f9c85845281d9c018b37
2025-09-11 12:17:40 +01:00
Sharlatan Hellseher
e9af0c2462 gnu: Add go-github-com-hexops-autogold-v2.
* gnu/packages/golang-check.scm (go-github-com-hexops-autogold-v2): New variable.

Change-Id: Ibf8ef896b7753085ac801ec3f664a385a987c4c0
2025-09-11 12:17:40 +01:00
Sharlatan Hellseher
63222170a5 gnu: Add go-github-com-hexops-valast.
* gnu/packages/golang-check.scm (go-github-com-hexops-valast): New variable.

Change-Id: I77a08047ce3076b491ab7c25f7252d995c8ce552
2025-09-11 12:17:40 +01:00
Sharlatan Hellseher
b54936b610 gnu: Add go-go-abhg-dev-log-silog.
* gnu/packages/golang-xyz.scm (go-go-abhg-dev-log-silog): New variable.

Change-Id: I6d053ab8ac3605e42cbc7e76aadc7ec7d2fd947e
2025-09-11 12:17:40 +01:00
Sharlatan Hellseher
7205bd4224 gnu: Add go-go-abhg-dev-container-ring.
* gnu/packages/golang-xyz.scm (go-go-abhg-dev-container-ring): New variable.

Change-Id: I1c5f1be96a9fb3112556cf8c1b7e8c80c9cde185
2025-09-11 12:17:40 +01:00
Sharlatan Hellseher
2de34c845e gnu: go-pgregory-net-rapid: Update to 1.2.0.
* gnu/packages/golang-check.scm (go-pgregory-net-rapid): Update to 1.2.0.

Change-Id: I9bc11ba4d5fbe43bbcaa9d23864c9a73650e4ed7
2025-09-11 12:17:40 +01:00
Sharlatan Hellseher
4345d9197b gnu: Add go-github-com-nightlyone-lockfile.
* gnu/packages/golang-xyz.scm (go-github-com-nightlyone-lockfile): New variable.

Change-Id: I82c3d42cf350bc71dc5315f84f76d43c9677ac26
2025-09-11 12:17:39 +01:00
Efraim Flashner
fe2ed12e66 gnu: libssh: Fix building on powerpc-linux.
* gnu/packages/ssh.scm (libssh)[arguments]: When building for
powerpc-linux add a phase to skip a test.

Change-Id: I15d1b0d556373e4b127c295ed2ee8f7c34513e9a
2025-09-11 12:52:10 +03:00