After the defult Golang version was set to 1.24 some of the older
packages which had no fresh version started failing on the 'check phase,
this change pins them to go-1.23 helping to resolve the issue.
Go 1.24 requires non-constant format strings to be explicitly handled.
The errors might look like these:
non-constant format string in call to (*testing.common).Errorf
ExampleParseOptionsLifetime refers to unknown identifier: ParseOptionsLifetime
See <https://tip.golang.org/doc/go1.24#vet>.
Change-Id: Ife5093c4fd98af7cea59abf1a9a29351b66602bb
We are now building with go-1.24 by default.
Automated via:
git grep -rl '#:go go-1.2' | xargs sed -i '/.*#:go go-1.2[234].*/d'
Change-Id: Ib821d96753619c7748a67ff58b95d8fa358839b7
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/python-xyz.scm (cobib, python-cobib): Move from here ...
* gnu/packages/textutils.scm: ... to here.
Change-Id: I7cea3adc41f08fa4650e548ad31dc76fde49174c
* gnu/packages/textutils.scm: Add (gnu packages golang).
(vale): Update to 3.9.4.
[source] <snippet>: Remove it.
[arguments] <go>: Use go-1.23.
<test-flags>: Skip just 3 tests.
<test-subdirs>: Test the whole code base by starting from import-path.
[native-inputs]: Remove go-github-com-karrick-godirwalk and
go-github-com-mholt-archiver-v3; add
go-github-com-jdkato-go-tree-sitter-julia,
go-github-com-pelletier-go-toml-v2,
go-github-com-smacker-go-tree-sitter, go-github-com-stretchr-testify,
and go-github-com-tomwright-dasel-v2.
Change-Id: Ic13b52caa92f6ba2fcd2f34f74b5a599773c5254
* gnu/packages/textutils.scm: As all Golang dependencies were shifted to
corresponded submodules, remove not required "golang" module from used
ones.
Change-Id: Ied355422df939ee21199eb4a86405685b15d5dd4
* gnu/packages/textutils.scm (uniutils): Update to 2.28.
[source]: Change HTTP to HTTPS in the URI.
Change-Id: I8c01c6021bf9f28c2bd9a6039ff26a8dc5e4dd16
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
golang.org/x/net is distributed as a single module according to provided
go.mod file. This changes remove the last reference to
golang.org/x/net/html.
* gnu/packages/golang-build.scm (go-golang-org-x-net) [propagated-inputs]: Add
go-golang-org-x-sys, go-golang-org-x-term and go-golang-org-x-text.
(go-golang-org-x-net-html): Remove variable.
* gnu/packages/version-control.scm (ghq) [inputs]: Remove
go-golang-org-x-net-html. Add go-golang-org-x-net.
* gnu/packages/textutils.scm (vale) [inputs]: Remove
go-golang-org-x-net-html. Add go-golang-org-x-net.
Change-Id: Ic275f2f7ccd145edfd376d65bd24599a550e849a
* gnu/packages/textutils.scm (utf8proc): fix cross-compilation.
[arguments]<#:make-flags>: Use CC-FOR-TARGET.
<#:phases>: When cross-compilation, Get test data from native-inputs.
Change-Id: I42699e62f28585cc215a8843b5daad9c52af44c9
* gnu/packages/textutils.scm (vale):
[source]: Remove some packaged module from vendor.
[arguments]: Move above native-inputs. Swap to list style, do not
install source.
[description]: Fix indentation.
Change-Id: I3efbffc74e76ba2c88467bfc7e79b06d4d05ee18
* gnu/packages/textutils.scm (csvdiff): Adjust inputs.
[arguments]: Swap to list style, do not install sources.
[native-inputs]: Swap from propagated-inputs to native-inputs.
Remove indirect Golang modules: go-github-com-mattn-go-colorable,
go-github-com-oneofone-xxhash, go-github-com-spaolacci-murmur3, and
go-golang-org-x-sys.
Change-Id: I903d8869b8c468c15a2e78a565bcaaf34594e34b
* gnu/packages/golang.scm (go-golang-org-x-sys): Move
from here ...
* gnu/packages/golang-build.scm: ... to here.
* gnu/packages/curl.scm: Add (gnu packages golang-build) module.
* gnu/packages/databases.scm: As above.
* gnu/packages/docker.scm: As above.
* gnu/packages/golang-build.scm: As above.
* gnu/packages/golang.scm: As above.
* gnu/packages/irc.scm: As above.
* gnu/packages/linux.scm: As above.
* gnu/packages/password-utils.scm: As above.
* gnu/packages/syncthing.scm: As above.
* gnu/packages/textutils.scm: As above.
* gnu/packages/vpn.scm: As above.
* gnu/packages/weather.scm: As above.
* gnu/packages/web.scm: As above.
Change-Id: I161e89cacb9aa87b4fbb643ecd9ad32cfe49c9d7
* gnu/packages/ipfs.scm (go-github-com-errata-ai-vale): Rename to "vale".
(go-github-com-errata-ai-vale): Define as deprecated by "vale".
Change-Id: I3c715a36295cd52e36b16e99f39455b7ad961743
* gnu/packages/syncthing.scm (go-github-com-cespare-xxhash): Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.
* gnu/packages/textutils.scm: Add (gnu packages golang-crypto) to used
modules.
Change-Id: Ic72cf6c4770cd3f03cc2e27c3455632ee16e7c09