Commit graph

144221 commits

Author SHA1 Message Date
Sharlatan Hellseher
08fc94fa8b
gnu: go-golang-org-x-tools: Update to 0.25.0.
* gnu/packages/golang-build.scm (go-golang-org-x-tools): Update to 0.25.0.
[arguments]: <#:phases>: 'check phase  disable tests for subdir
"go/collgraph", sort alphabetically.
[native-inputs]: Add go-github-com-google-go-cmp.

Change-Id: I8419f09d283d1332351a0620269ef39e2db32f09
2024-11-09 21:33:42 +00:00
Sharlatan Hellseher
9e897dabca
gnu: kubo: Fix build.
* gnu/packages/ipfs.scm (kubo): Fix build.
[arguments]: <#:phases>: Swap 'fix-embed-go-libp2p-asm-util with
'fix-embed-files, which implements generalized solution to fix embed
files issue.

Change-Id: I1cc9b6eaf7ca72c0cea81387c9b80853b22dcf83
2024-11-09 21:33:42 +00:00
Sharlatan Hellseher
e703f973eb
gnu: go-github-com-libp2p-go-libp2p: Fix build.
* gnu/packages/ipfs.scm (go-github-com-libp2p-go-libp2p): Fix build.
[arguments]: <#:phases>: Swap 'fix-embed-go-libp2p-asm-util with
'fix-embed-files, which implements generalized solution to fix embed
files issue.

Change-Id: Ic20c0c2855d8add4e80e33cd617f05bd90f56628
2024-11-09 21:33:42 +00:00
Sharlatan Hellseher
9d093bc601
gnu: go-github-com-ipfs-go-ds-badger: Fix build.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ds-badger): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: I78f43ec2598ab6644e4be0d4d0c2fec665f2551b
2024-11-09 21:33:42 +00:00
Sharlatan Hellseher
90a82e1624
gnu: go-github-com-prometheus-statsd-exporter: Fix build.
* gnu/packages/prometheus.scm (go-github-com-prometheus-statsd-exporter):
Fix build
[arguments]: <#:phases>: Rework 'copy-input-to-vendor-directory and
'remove-vendor-directory by consolidating and simplifying them into
'fix-embed-files.

Change-Id: I5c255ea17dc9926bf9e2ea9a0a0e662afe9c2e5d
2024-11-09 21:33:42 +00:00
Sharlatan Hellseher
449fa18bf6
gnu: go-github-com-prometheus-exporter-toolkit: Fix build.
* gnu/packages/prometheus.scm (go-github-com-prometheus-exporter-toolkit):
Fix build
[arguments]: <#:phases>: Add 'fix-embed-editions-defaults-binpb phase;
remove 'disable-failing-tests in favor of "-skip" test flags.
[native-inputs]: Add go-google-golang-org-protobuf.

Change-Id: If573aa261adc3a136a4907267d1427a9f9cfb4d9
2024-11-09 21:33:42 +00:00
Sharlatan Hellseher
f40fde0e85
gnu: go-github-com-prometheus-client-golang: Fix build.
* gnu/packages/prometheus.scm (go-github-com-prometheus-client-golang): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: Ifdd422e4574291d7a101b28862bc129262b48196
2024-11-09 21:33:42 +00:00
Sharlatan Hellseher
560c64a23b
gnu: go-github-com-prometheus-common: Fix build.
* gnu/packages/prometheus.scm (go-github-com-prometheus-common): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: Ia213327d15288315b54b623c4a15837d7d895a69
2024-11-09 21:33:42 +00:00
Sharlatan Hellseher
d580f6ae81
gnu: go-github-com-dgraph-io-badger: Fix build.
* gnu/packages/golang-xyz.scm (go-github-com-dgraph-io-badger): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files; remove
'disable-failing-tests in favor of "-skip" test option.

Change-Id: Ib4d91509a0c6a83c8108a47ae2bd6254df53b430
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
191e950fc3
gnu: go-github-com-libp2p-go-msgio: Fix build.
* gnu/packages/golang-xyz.scm (go-github-com-libp2p-go-msgio): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: I39c59d5483d5af7968cde30a883fbcdaf08bebb1
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
73d7039c5b
gnu: go-github-com-golang-groupcache: Fix build.
* gnu/packages/golang-web.scm (go-github-com-golang-groupcache): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: I69f1df0a64176d3a0483ebf38840302d7e5a5d18
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
dabcd9c45a
gnu: go-github-com-golang-groupcache: Fix indentation.
* gnu/packages/golang-web.scm (go-github-com-golang-groupcache): Fix indentation.

Change-Id: I40bf67a27f71844669deedd4106aec51760a0d46
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
41f1067b99
gnu: go-github-com-golang-groupcache: Update to 0.0.0-20210331224755-41bb18bfe9da.
* gnu/packages/golang-web.scm (go-github-com-golang-groupcache): Update to 0.0.0-20210331224755-41bb18bfe9da.

Change-Id: I9dbc112050259ad609d2b1e0e3a9dcb742473a06
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
4b88b53d01
gnu: go-google-golang-org-protobuf: Enable all tests
* gnu/packages/golang-build.scm (go-google-golang-org-protobuf)
[arguments]: <#:phases>: Remove 'disable-failing-tests.

Change-Id: Iaec1e3238765e20ce7caecf60cdae7bc236161fc
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
cd590445c2
gnu: go-github-com-golang-protobuf: Update to 1.5.4.
* gnu/packages/golang-build.scm (go-github-com-golang-protobuf): Update to 1.5.4.
[arguments]: <#:phases>: Add 'fix-embed-files.
[native-inputs]: Add go-github-com-google-go-cmp.

Change-Id: I9ee7bb07cd9718345bace243ca2bf0afa99ef411
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
9a41ef9424
gnu: go-google-golang-org-protobuf: Update to 1.34.2.
* gnu/packages/golang-build.scm (go-google-golang-org-protobuf): Update to 1.34.2.

Change-Id: I4151652887b855b5af1ecddad2d03e3aa9dc8500
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
305ccb64eb
gnu: go-golang-org-x-xerrors: Fix indentation.
* gnu/packages/golang-build.scm (go-golang-org-x-xerrors): Fix
indentation, apply new list style.

Change-Id: I2c83816293f299cac9bc641a7710fedcc1419f3a
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
41d93b749e
gnu: go-golang-org-x-xerrors: Update to 0.0.0-20200804184101-5ec99f83aff1.
* gnu/packages/golang-build.scm (go-golang-org-x-xerrors): Update to 0.0.0-20200804184101-5ec99f83aff1.

Change-Id: I85ba367e0b1b1f38f10326f8a29e664e59c3dc07
2024-11-09 21:33:41 +00:00
Sharlatan Hellseher
42f88db23c
gnu: go-golang-org-x-text: Update to 0.18.0.
* gnu/packages/golang-build.scm (go-golang-org-x-text): Update to 0.18.0.

Change-Id: I3a00af2d3392d1a3e20e95883e385a06f62d4c80
2024-11-09 21:33:40 +00:00
Sharlatan Hellseher
bc3c274af8
gnu: go-golang-org-x-term: Update to 0.24.0.
* gnu/packages/golang-build.scm (go-golang-org-x-term): Update to 0.24.0.

Change-Id: Ib4fab73d7bb7d214a71498ec2f287ee276d3ad5b
2024-11-09 21:33:40 +00:00
Sharlatan Hellseher
4a4feb7c01
gnu: go-golang-org-x-sys: Update to 0.25.0.
* gnu/packages/golang-build.scm (go-golang-org-x-sys): Update to 0.25.0.

Change-Id: I4bdcca9010542c8fc99eb387457ecb888213ec06
2024-11-09 21:33:40 +00:00
Sharlatan Hellseher
5f19ee0bb8
gnu: go-golang-org-x-net: Update to 0.29.0.
* gnu/packages/golang-build.scm (go-golang-org-x-net): Update to 0.29.0.

Change-Id: Ice5bd90a97d203537ef2c8e860423586c0c29294
2024-11-09 21:33:40 +00:00
Sharlatan Hellseher
f9ec9f81ee
gnu: go-golang-org-x-mod: Update to 0.21.0.
* gnu/packages/golang-build.scm (go-golang-org-x-mod): Update to 0.21.0.

Change-Id: Ic1ade4156426e10b2cb26c8b6271f3ff8a5e1631
2024-11-09 21:33:40 +00:00
Sharlatan Hellseher
19dfc8c8a2
gnu: go-golang-org-x-image: Update to 0.20.0.
* gnu/packages/golang-build.scm (go-golang-org-x-image): Update to 0.20.0.

Change-Id: I3ef3746b1c7c44b7d6d6abe9caeb2bfc24d9635e
2024-11-09 21:33:40 +00:00
Sharlatan Hellseher
8bea1e05fa
gnu: packages/golang-crypto: Apply #:subdir parameter.
* gnu/packages/golang-crypto.scm (go-github-com-decred-dcrd-crypto-blake256,
go-github-com-decred-dcrd-dcrec-secp256k1-v4) [source]: Apply new
<#:subdir> parameter for monorepo projects.

Change-Id: I85004b257c767ce202129e621d78b285d4578f7a
2024-11-09 21:33:40 +00:00
Christina O'Donnell
a8d5d08708
import/go: Add diagnostics.
guix/import/go.scm (go-module-available-versions): Add warning when fetching
a list of versions from the proxy fails and raise exception when no version
can be found at all.
(module-path->repository-root): Warn when all attempts to find the repository
root have failed.
(fetch-module-meta-data): Raise exception when no meta element could be found.
(go-module->guix-package): Catch general exceptions and warn that the package
could not be imported.

Change-Id: I6dcdccc71f54bfec7110f6bfc5aeb8855502d1e3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:40 +00:00
Christina O'Donnell
296c78aab6
import/go: Account for monorepo modules in the Go importer.
This change allows for importing of modules situated in repos where they're
not at the root directory.

* guix/import/go.scm (go-module-verstion-string): Delete
(go-module-version-info): New procedure
(module-path->repository-root): Add parameter
(vcs->origin): Add parameter
(path-diff): New procedure

Change-Id: If50f7a951ce8e527e5ea44ed24db10d6a3676ff0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:40 +00:00
Christina O'Donnell
18a77fb3f8
build-system/go: Add subdir parameter to go-version->git-ref.
This implements logic to handle cases where Go can have multiple modules
at different versions within a single repository.  It distinguishes their
releases by using tags along with their subdirectories.  See
https://go.dev/ref/mod#vcs-version.

* guix/build-system/go.scm (go-version->git-ref): Add <#:subdir> keyword
parameter and extend condition checks.

Change-Id: I68bc9e785e49877bb0b756de8458308549f4c957
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:40 +00:00
Efraim Flashner
ecdca86e1c
gnu: go-1.20: Build with gccgo-12 on some systems.
* gnu/packages/golang.scm (go-1.20)[native-inputs]: Don't replace the
gccgo input on architectures bootstrapping go with it.

Change-Id: I26831b2bcfe623f6eb0ac7c16b463e5e873110e6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:39 +00:00
Brennan Vincent
867d7a8b2f
gnu: go-1.23: Update to 1.23.1.
* gnu/packages/golang.scm (go-1.23): Update to 1.23.1.

Change-Id: I2f5c377ae8009facd899d1cd3d0f6e2fe89fcf14
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:39 +00:00
Troy Figiel
56cc37bfb2
build-system/go: Allow providing additional test flags.
By allowing the use of test flags, we can more precisely skip failing tests
(for go version >=1.20), disable the vetting stage or select a subset of tests
(e.g. if an upstream flag is provided to skip tests which require a network
connection).  At the moment, the only way around these test failures is to
remove the test file completely or patch the code ourselves.

* guix/build-system/go.scm (go-build): Add test-flags variable.
(go-cross-build): Add test-flags variable.
* guix/build/go-build-system.scm (check): Pass the additional test flags to the invoke call.
* doc/guix.texi (go-build-system): Document <#:test-flags> parameter.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I4015870fbbc15503cb405fe9ef6032953a5ff17f
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
7f6a9ecaa3
import/go: Add comment about monorepo.
* guix/import/go.scm: Clarify what is monorepo in Go ecosystem.

Change-Id: I86e35db4f02bfacb3df15a330ca1fde373b3cc13
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
75d1ca21f3
gnu: go-github-com-aws-aws-sdk-go-v2: Update to 1.30.5.
* gnu/packages/golang-web.scm (go-github-com-aws-aws-sdk-go-v2): Update to 1.30.5.
[propagated-inputs]: Remove go-github-com-google-go-cmp.

Change-Id: I87c1cf86c707fb3c4e369d58ac69a2a8b806ef80
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
a6e95a7202
gnu: Remove go-github-com-rylans-getlang.
Not in use by any packages in Guix, no updates for 4y.

* gnu/packages/golang.scm (go-github-com-rylans-getlang): Delete variable.

Change-Id: I6a7e1201d52166fc43b5e99e38181c6a5dedea69
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
a62da8c22a
gnu: Remove go-github-com-kyoh86-xdg.
Not in use by any packages in Guix: "This repository has been archived by
the owner on May 25, 2021. It is now read-only."

* gnu/packages/golang.scm (go-github-com-kyoh86-xdg): Delete variable.

Change-Id: If80ceb32e4624f08d04cb0270341cac41e6b11fb
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
32853832d5
gnu: Add go-github-com-deckarep-golang-set-v2.
* gnu/packages/golang-xyz.scm (go-github-com-deckarep-golang-set-v2): New variable.

Change-Id: I0e59fecfeba327c4f926c94b65f7bc8c42750fda
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
9a29c9e09e
gnu: go-github-com-deckarep-golang-set: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-deckarep-golang-set): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I10c1c8b2e0ad69913068cf89bc646a4ceb471c8f
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
4e1e6beaf9
gnu: go-github-com-operatorfoundation-monolith-go: Update to 1.0.10.
* gnu/packages/golang.scm (go-github-com-operatorfoundation-monolith-go): Update to 1.0.10.

Change-Id: Ib1777f2d34ca57d97eaa1f4acab9afd0dbe28bee
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
bef1218cfc
gnu: Add go-html2text.
* gnu/packages/golang-web.scm (go-html2text): New variable.
(go-github-com-jaytaylor-html2text) [source]: Adjust module import path
to use in CLI.

Change-Id: Ia440d027cb02a1d6584c6f32ff81353b22d4145a
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
856e342fd7
gnu: go-github-com-jaytaylor-html2text: Move to golang-web.
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Move from here ...
* gnu/packages/golang-web.scm ... to here.

Change-Id: Ie2e79aa4a7f034579433f9ea7d55bcfdea1b90d8
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
39f0bd003b
gnu: go-github-com-jaytaylor-html2text: Enable tests.
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Enable tests.

Change-Id: I014b718d13ce4b266acdb617acc35a3ef9b0ce28
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
2d5fef2d59
gnu: go-github-com-jaytaylor-html2text: Update to 0.0.0-20230321000545-74c2419ad056.
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Update to 0.0.0-20230321000545-74c2419ad056.

Change-Id: Ibe7aacec03a4b8b4e3df7f8a8c871a7f072b6fc9
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
2f4175c16f
gnu: go-github-com-gogs-chardet: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-gogs-chardet): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I88666bcaf2e8ea62274a0b01a5cf7247da160fa2
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
2c173a76e4
gnu: go-github-com-jhillyerd-enmime: Update to 1.3.0.
* gnu/packages/golang-web.scm (go-github-com-jhillyerd-enmime): Update to 1.3.0.
[propagated-inputs]: Remove go-github-com-go-test-deep.
[native-inptus]: Add go-github-com-go-test-deep.

Change-Id: Ie57f6739250ffcaf1b24564b8fba44fdd2d52fce
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
f9786d2519
gnu: Remove go-github-com-niemeyer-pretty.
Not in use by any other packages, not maintained fork of
<https://github.com/kr/pretty>.

* gnu/packages/golang.scm (go-github-com-niemeyer-pretty): Delete variable.

Change-Id: I6b3340fa95a6bdf6735cace1bcd979766afd6453
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
56f663870f
gnu: go-github-com-lithammer-fuzzysearch: Move to golang-xyz.
gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): Move from
here ...
gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Ica80efe706f97694f5f6584fe64f9a764e5d082b
2024-11-09 21:33:37 +00:00
Sharlatan Hellseher
e4fcdc52bb
gnu: go-github-com-lithammer-fuzzysearch: Enable tests.
* gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): Enable tests.

Change-Id: Ib040db7321d33e2dfdefa37b59bcc095ea96dbb2
2024-11-09 21:33:37 +00:00
Wilko Meyer
14abf6e19e
news: Add entry for removing linux-libre 6.10 ("end of life").
* etc/news.scm: Add entry for linux-libre 6.10 removal.

Change-Id: If1bc44d8d31deddf7b214678e5024f78ac3bd22a
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-11-09 14:18:59 -05:00
Wilko Meyer
cfc85eb0c6
gnu: Remove linux-libre 6.10.
* gnu/packages/linux.scm (linux-libre-6.10-version, linux-libre-6.10-gnu-revision,
deblob-scripts-6.10, linux-libre-6.10-pristine-source, linux-libre-6.10-source,
linux-libre-headers-6.10, linux-libre-6.10): Remove variables.
* gnu/packages/aux-files/linux-libre/6.10-arm.conf,
gnu/packages/aux-files/linux-libre/6.10-arm64.conf,
gnu/packages/aux-files/linux-libre/6.10-riscv.conf
gnu/packages/aux-files/linux-libre/6.10-i686.conf,
gnu/packages/aux-files/linux-libre/6.10-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove aforementioned .conf files.

Change-Id: I7a22ca60378b38d45130d8a7ffee52eed1fba7f3
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-11-09 14:11:43 -05:00
Navid Afkhami
2a6d96425e
gnu: r-demultiplex2: Update to 1.0.2-2.c1ce09e.
* gnu/packages/bioinformatics.scm (r-demultiplex2): Update to 1.0.2-2.c1ce09e.

Change-Id: I42038c8f4a003ae5c274fe635ddb8c2a027ddce4
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2024-11-07 11:30:39 +01:00