Commit graph

209 commits

Author SHA1 Message Date
Sharlatan Hellseher
03af506e47
gnu: Add go-sigs-k8s-io-randfill.
* gnu/packages/golang-check.scm (go-sigs-k8s-io-randfill): New variable.

Change-Id: Ib21f097667686ccff5d97431ab8d449c7c674cb9
2025-08-11 21:42:46 +01:00
Sharlatan Hellseher
1a4bc7e120
gnu: go-ginkgo: Fix build.
* gnu/packages/golang-check.scm (go-github-com-onsi-ginkgo-v2)
[native-inputs]: Add go-go-uber-org-automaxprocs.
(go-ginkgo): Swap to PACKAGE/INHERIT.
[arguments]: Substitute instead of overwrite.
[native-inputs]: Merge native and propagated inputs from
go-github-com-onsi-ginkgo-v2.
[propagated-inputs]: Drop all.
[inputs]: Likewise.

Change-Id: Ie5184de7ed2176a955ac5c089da37606b145ac7a
2025-08-11 21:42:44 +01:00
Sharlatan Hellseher
19606b2e38
gnu: go-github-com-onsi-ginkgo-v2: Update to 2.23.4.
* gnu/packages/golang-check.scm (go-github-com-onsi-ginkgo-v2): Update to 2.23.4.
[arguments] <go>: Use go-1.23.

Change-Id: Icc65bf2883779f7ccc4c22121e6052cbcdd16e74
2025-08-11 21:42:44 +01:00
Sharlatan Hellseher
c49080698a
gnu: go-github-com-onsi-gomega: Update to 1.37.0.
* gnu/packages/golang-check.scm (go-github-com-onsi-gomega): Update to 1.37.0.
[arguments] <go>: Use go-1.23.

Change-Id: I60aa288b821be247b603ae32474884e4a6e1c982
2025-08-11 21:42:44 +01:00
Sharlatan Hellseher
87661cea77
gnu: Pin some golang packages to use go-1.23.
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
2025-08-11 21:42:42 +01:00
Maxim Cournoyer
1482e0d789
gnu: Remove #:go arguments using go-1.22, go-1.23 or go-1.24.
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>
2025-08-11 21:42:39 +01:00
Sharlatan Hellseher
eed1cf4cea
gnu: Add go-github-com-hydrogen18-memlistener.
* gnu/packages/golang-check.scm (go-github-com-hydrogen18-memlistener): New variable.

Change-Id: Ice2368b2417cbb9e662ff3b923316249b7d919f3
2025-08-11 21:42:37 +01:00
Sharlatan Hellseher
3d22571fef
gnu: Add go-github-com-cockroachdb-datadriven.
* gnu/packages/golang-check.scm (go-github-com-cockroachdb-datadriven): New variable.

Change-Id: I96d63fadc8f668ccff4c08f8e54942d5ca1c6430
2025-08-11 21:42:37 +01:00
Sharlatan Hellseher
b585cc6b69
gnu: Remove go-keyify.
go-honnef-co-go-tools@0.6.1 does not provide <cmd/keyify> which was
removed in v0.5.0.
See: <https://github.com/dominikh/go-tools/releases/tag/2024.1>.

* gnu/packages/golang-check.scm (go-keyify): Delete variable.

Change-Id: I4e4b8cd8611dfd70f6dce3b6815e0ef057191f33
2025-07-25 00:02:37 +01:00
Sharlatan Hellseher
90880a7d65
gnu: go-honnef-co-go-tools: Fix build for inherited packages.
Fixes guix/guix#1555

Simplify package by utilizing <skip-build?> argument parameter and using
default 'check. Do not overwrite chosen go compiler in inherited
packages which fixes their build.

* gnu/packages/golang-check.scm (go-honnef-co-go-tools):
  [arguments] <skip-build?>: No go files in project's root, use it
  instead of deleting 'build phase.
  <phases>: Use default 'check.

(go-staticcheck, go-structlayout, go-structlayout,optimize,
go-structlayout-pretty): Do not overwrite argument paramter, substitue
them. Swap INHERIT with PACKAGE/INHERIT.

Change-Id: I308e6162813757a1c668bb328652adf89b3b30f0
2025-07-25 00:02:37 +01:00
Sharlatan Hellseher
57b906df44
gnu: Add go-github-com-adalogics-go-fuzz-headers.
* gnu/packages/golang-check.scm (go-github-com-adalogics-go-fuzz-headers): New variable.

Change-Id: I98b9f7bc1d74d435967cccd4a9122eba07b107c6
2025-07-22 20:13:01 +01:00
Sharlatan Hellseher
5a0cbb1f4d
gnu: Add go-github-com-tailscale-depaware.
* gnu/packages/golang-check.scm (go-github-com-tailscale-depaware): New variable.

Change-Id: I88bab7cc1a4533bd011f9116ed640940f9351246
2025-07-22 20:12:51 +01:00
Tomas Volf
710f245eea
gnu: go-honnef-co-go-tools: Update to 0.6.1.
* gnu/packages/golang-check.scm (go-honnef-co-go-tools): Update to 0.6.1.
[arguments]: Use go-1.23.
[propagated-inputs]: Add go-golang-org-x-exp.

Change-Id: I113e77de26f72a8b88052a1d5b687ee0293c406d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-14 10:53:17 +01:00
Sharlatan Hellseher
2e628ad02c
gnu: packages/golang-check: Sort variables.
* gnu/packages/golang-check.scm: (go-github-com-petermattis-goid,
go-github-com-smarty-assertions, go-github-com-smarty-gunit,
go-github-com-smartystreets-goconvey,
go-github-com-warpfork-go-testmark, go-github-com-warpfork-go-wish,
go-github-com-zeebo-assert, go-go-abhg-dev-requiredfield,
go-go-uber-org-goleak, go-go-uber-org-mock): Sort variables
alphabetically.

Change-Id: Ib3314b9e99d8255213d2dbea31d395698ed8147b
2025-07-08 10:00:29 +01:00
Sharlatan Hellseher
f8bc382e55
gnu: go-gopkg-in-dnaeon-go-vcr-v4: Simplify.
* gnu/packages/golang-check.scm (go-gopkg-in-dnaeon-go-vcr-v4)
[arguments] <skip-build?>: Utilize this parameter instead of deleting
'build phase.
<phases>: Use default 'check.

Change-Id: I5c8e9599920fb012d2e067e70664be5a7df6de1c
2025-07-08 10:00:29 +01:00
Sharlatan Hellseher
03237c4e72
gnu: go-github-com-go-playground-assert-v2: Swap inheritance.
* gnu/packages/golang-check.scm (go-gopkg-in-go-playground-assert-v1):
Inherit from go-github-com-go-playground-assert-v2.
(go-github-com-go-playground-assert-v2): Sort alphabetically by moving up.

Change-Id: I789340f83eefe32184a37909472a549cc727bd96
2025-07-08 10:00:29 +01:00
Maxim Cournoyer
13d4df966c
gnu: Add go-github-com-h2non-gock.
* gnu/packages/golang-check.scm (go-github-com-h2non-gock): New variable.

Change-Id: I9d441873043d474110c3e723222da2ef02bed9a0
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-24 10:35:29 +01:00
Maxim Cournoyer
ceb72c6a40
gnu: Add go-github-com-nbio-st.
* gnu/packages/golang-check.scm (go-github-com-nbio-st): New variable.

Change-Id: I7a2b0d463c5a8d784b6e50814eacb45352cda590
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-24 10:30:06 +01:00
Maxim Cournoyer
847b3dacd3
gnu: Add go-github-com-jiu2015-gotestspace.
* gnu/packages/golang-check.scm (go-github-com-jiu2015-gotestspace): New variable.

Change-Id: I4a7c627f14eb5d392c66a04e8e2c2aef7ca8921f
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-24 10:20:41 +01:00
Sharlatan Hellseher
08da56701f
gnu: packages/golang-*: Skip some tests on ARM.
* gnu/packages/golang-build.scm (go-golang-org-x-sys) [arguments]
<test-flags>: Skip 4 failing tests on ARM systems.
(go-golang-org-x-net) [arguments] <test-flags>: Skip 2 tests on ARM
systems.  <phases>: Do not delete 'build, skip it.

* gnu/packages/golang-check.scm (go-github-com-smartystreets-goconvey)
[arguments] <test-flags>: Skip one failing test on ARM systems.

* gnu/packages/golang-maths.scm (go-gonum-org-v1-gonum) [arguments]
<test-subdirs>: Skip tests in "spatial" on non x86-64 systems.

* gnu/packages/golang-web.scm (go-github-com-safchain-ethtool)
[arguments] <test-flags>: Skip one test failing on ARM.
(go-github-com-mdlayher-socket) [arguments] <test-flags>: Skip one test
on ARM systems.
(go-github-com-mdlayher-netlink) [arguments] <test-flags>: Skip some
failing tests on ARM systems.
(go-github-com-mikioh-tcp) [arguments] <test-flags>: Move logic here,
skip one test on ARM system.  <phases>: Remove 'disable-failing-tests.
(go-github-com-libp2p-go-yamux-v4) [arguments] <test-flags>: Skip one
failing test on ARM systems.
(go-github-com-libp2p-go-yamux-v5) [arguments]: Inherit from
go-github-com-libp2p-go-yamux-v4.
(go-github-com-marten-seemann-tcp) [arguments] <test-flags>: Move logic
here, and skip one failing test on ARM system.  <phases>: Remove
'disable-failing-tests.

* gnu/packages/golang-xyz.scm (go-github-com-jbenet-go-temp-err-catcher)
[arguments] <test-flags>: Skip one failing test on ARM system.
(go-github-com-jbenet-goprocess): [arguments] <test-flags>: Run short
tests only skip 7 tests on ARM systems.
(go-github-com-cilium-ebpf) [arguments] <test-flags>: Skip 2 failing
tests on ARM system.
(go-github-com-elastic-gosigar) [arguments] <test-flags>: Utilize it and
skip 2 failing tests on ARM systems.  <phases>: Remove
'disable-failing-tests.

Change-Id: I191cd2a20a16eef0c77b04f0f6fdf72a3bb8d3be
2025-05-26 16:50:33 +01:00
Sharlatan Hellseher
0dff26eac4
gnu: go-gotest-tools-v3: Update to 3.5.2.
* gnu/packages/golang-check.scm (go-gotest-tools-v3): Update to 3.5.2.
[arguments] <test-flags>: Refresh the list of skipped tests, add skip
ARM specific one.

Change-Id: I789e7ef0bf678427ca5d67b2ad4871937c146fa7
2025-05-26 16:50:32 +01:00
Sharlatan Hellseher
d046c9775c
gnu: Add go-github-com-coder-quartz.
* gnu/packages/golang-check.scm (go-github-com-coder-quartz): New variable.

Change-Id: Ib9ed659959961e6df57bbbd29818dc794f1720d5
2025-05-26 16:50:30 +01:00
Sharlatan Hellseher
4db91aa852
gnu: packages: Remove redundant (gnu packages golang) from some modules.
* gnu/packages/android.scm: Remove redundant (gnu packages golang) from
used modules.
* gnu/packages/bioinformatics.scm: Likewise.
* gnu/packages/check.scm: Likewise.
* gnu/packages/configuration-management.scm: Likewise.
* gnu/packages/databases.scm: Likewise.
* gnu/packages/emacs-xyz.scm: Likewise.
* gnu/packages/file-systems.scm: Likewise.
* gnu/packages/golang-check.scm: Likewise.
* gnu/packages/hardware.scm: Likewise.
* gnu/packages/hyperledger.scm: Likewise.
* gnu/packages/irc.scm: Likewise.
* gnu/packages/mail.scm: Likewise.
* gnu/packages/messaging.scm: Likewise.
* gnu/packages/networking.scm: Likewise.
* gnu/packages/password-utils.scm: Likewise.
* gnu/packages/radio.scm: Likewise.
* gnu/packages/terminals.scm: Likewise.
* gnu/packages/tor-browsers.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/vpn.scm: Likewise.

Change-Id: I6bb92ac0f7c68644cc9b9cc16834aa54240d8fc9
2025-05-26 16:50:21 +01:00
Sharlatan Hellseher
2b7ca2ad22
gnu: Add go-github-com-dvyukov-go-fuzz.
* gnu/packages/golang-check.scm (go-github-com-dvyukov-go-fuzz): New variable.

Change-Id: I60674438726a618b48b2aada16b80e81ef487a5d
2025-05-26 16:50:12 +01:00
Sharlatan Hellseher
a974cf2f85
gnu: go-github-com-benbjohnson-clock: Move to golang-check.
* gnu/packages/golang-xyz.scm (go-github-com-benbjohnson-clock): Move
from here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: I8dbd3490ef60bfcc84c2d10956c2b69e7751d8af
2025-05-26 16:50:10 +01:00
Sharlatan Hellseher
f022edf357
gnu: Add go-github-com-filecoin-project-go-clock.
* gnu/packages/golang-check.scm (go-github-com-filecoin-project-go-clock): New variable.

Change-Id: Ie835c2b3d9d47e6cd95c74136ac4c7bb349ac28c
2025-05-26 16:50:09 +01:00
Sharlatan Hellseher
0862361f9a
gnu: Add go-github-com-data-dog-go-sqlmock.
* gnu/packages/golang-check.scm (go-github-com-data-dog-go-sqlmock): New variable.

Change-Id: I81034c7457c26054f0daa102319c1db0baada921
2025-05-26 16:50:05 +01:00
Sharlatan Hellseher
db2cf5220d
gnu: Add go-github-com-gdey-tbltest.
* gnu/packages/golang-check.scm (go-github-com-gdey-tbltest): New variable.

Change-Id: I00c5b7f15ce5184dfa8c6204539038003c3f15a0
2025-05-26 16:50:03 +01:00
Christopher Baines
ba294c5e9c
gnu: go-github-com-google-gofuzz: Skip tests on 32bit systems.
As they seem to fail, and this package seems unmaintained.

* gnu/packages/golang-check.scm (go-github-com-google-gofuzz)[arguments]: Skip
tests on 32bit systems.

Change-Id: I1f87d4e37199b7dcf9c88e05727d1e5defb85f60
2025-04-27 11:48:49 +01:00
Efraim Flashner
66daf46b41
gnu: Fix some misspellings.
Change-Id: I316652aff7418af4b8e83bea24638b1513f8aa97
2025-02-19 11:21:47 +02:00
Vagrant Cascadian
3842479e75
gnu: Fix typos in golang package description and synopsis.
* gnu/packages/golang-check.scm (go-modernc-org-ccorpus2)[description]: Fix
spelling of "package".
* gnu/packages/golang-compression.scm
(go-github-com-mholt-archiver-v3)[description]: Fix spelling of "command".
* gnu/packages/golang-crypto.scm (go-gitlab-com-yawning-bsaes-git)[synopsis]:
Fix spelling of "implementation".
* gnu/packages/golang-web.scm
(go-github-com-pires-go-proxyproto)[description]: Fix spelling of "coming".
* gnu/packages/golang-xyz.scm (go-github-com-golangplus-bytes)[synopsis]: Fix
spelling of "Extension".  (go-github-com-goreleaser-fileglob)[description]:
Fix spelling of "directories".  (go-github-com-joho-godotenv)[synopsis]: Fix
spelling of "library".  (go-github-com-otiai10-copy)[description]: Fix
spelling of "implements".  (go-github-com-otiai10-copy)[description]: Fix
spelling of "functinoality".  (go-github-com-zyedidia-poller)[description]:
Fix spelling of "concurrent".
2025-02-17 12:38:08 -08:00
Vagrant Cascadian
27ebe4e459
gnu: Fix several "This packages" typos in descriptions.
* gnu/packages/golang-check.scm (go-github-com-bitfield-gotestdox): Fix typo.
* gnu/packages/python-check.scm (python-pytest-html): Fix typo.
* gnu/packages/python-xyz.scm (python-uri-template): Fix typo.
(python-rgbxy): Fix typo.
2025-02-17 01:40:35 -08:00
Sharlatan Hellseher
60e1d11154
gnu: go-github-com-golangplus-fmt: Move to golang-check.
* gnu/packages/golang.scm (go-github-com-golangplus-fmt): Move from here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: If236c036b3922d82d88fd745bf81c94f9d4d2bc5
2025-01-24 22:52:20 +00:00
Sharlatan Hellseher
325085f778
gnu: go-github-com-rubyist-tracerx: Move to golang-check.
* gnu/packages/golang.scm (go-github-com-rubyist-tracerx): Move from here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: Ie3791edb545221c42468293b1ac7e9a818c32662
2025-01-21 23:47:57 +00:00
Sharlatan Hellseher
1128e5262b
gnu: Remove go-gopkg-in-errgo-v2.
No in use by any packages in Guix, no updates for 6 years.

* gnu/packages/golang-check.scm (go-gopkg-in-errgo-v2): Delete variable.

Change-Id: I21ff459c1a67e252e7b18343d50697f4d95246fd
2025-01-21 23:47:56 +00:00
Sharlatan Hellseher
5572b70e30
gnu: go-mvdan-cc-unparam: Move to golang-check.
* gnu/packages/golang.scm (go-mvdan-cc-unparam, unparam): Move from here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: I4059ca18c951182d7fa186b8b9787992cfe90410
2025-01-21 23:47:47 +00:00
Sharlatan Hellseher
ff9538022d
gnu: go-github-com-jtolds-gls: Move to golang-check.
* gnu/packages/golang.scm (go-github-com-jtolds-gls): Move from here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: Ic4e483abf95146a3a39919f40e8dda86c64dd355
2025-01-21 23:47:45 +00:00
Sharlatan Hellseher
f8f921963c
gnu: Update copyright headers.
* gnu/packages/admin.scm: Add copyright line for Roman Scherer
<roman@burningswell.com>.
* gnu/packages/golang-check.scm: Likewise.
* gnu/packages/golang-web.scm: Likewise.
* gnu/packages/golang-xyz.scm: Likewise.

Change-Id: Ie9f9a0d1e72f5155d101c50ebd8e3178650e6f26
2025-01-21 23:47:30 +00:00
Roman Scherer
18ac047ca0
gnu: Add go-github-com-swaggest-assertjson.
* gnu/packages/golang-check.scm (go-github-com-swaggest-assertjson): New variable.

Change-Id: Ib679c647d68c03bcd941ec6b475cc0745c6dc236
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-21 23:42:45 +00:00
Roman Scherer
395b3cf941
gnu: Add go-github-com-bool64-shared.
* gnu/packages/golang-check.scm (go-github-com-bool64-shared): New variable.

Change-Id: Ib6b26619e2065e3a40ccae59f821aabffa2b00a0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-21 23:42:44 +00:00
Roman Scherer
bb451548f1
gnu: Add go-github-com-bool64-dev.
* gnu/packages/golang-check.scm (go-github-com-bool64-dev): New variable.

Change-Id: I6fce0b2cf64735ce2719d32063a37af2184aecf3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-21 23:42:44 +00:00
Sharlatan Hellseher
0f510fc044
gnu: go-github-com-golangplus-testing: Fix tests.
These changes need to be applied together to allow bootstrapping of
missing inputs.

* gnu/packages/golang-check.scm (go-github-com-golangplus-testing-bootstrap):
New variable.
(go-github-com-golangplus-testing) [native-inputs]: Add
go-github-com-golangplus-bytes-bootstrap.

* gnu/packages/golang-xyz.scm (go-github-com-golangplus-bytes): New
variable.

Change-Id: Ib97363281fc9a169a734a63197db70a3ce8f9d48
2025-01-21 23:42:43 +00:00
Sharlatan Hellseher
baba666a6f
gnu: Add go-github-com-ldez-tagliatelle.
* gnu/packages/golang-check.scm (go-github-com-ldez-tagliatelle): New variable.

Change-Id: I78d19e9c1afa21ac126b76ee7ec0222d11c4ff9a
2025-01-21 23:42:43 +00:00
Sharlatan Hellseher
e5bf6db0a0
gnu: Add go-go-simpler-org-sloglint.
* gnu/packages/golang-check.scm (go-go-simpler-org-sloglint): New variable.

Change-Id: I29f210fd6d57e4eaf14000410271e9b77c7a3767
2025-01-21 23:42:43 +00:00
Sharlatan Hellseher
e386ef9d4c
gnu: Add go-modernc-org-ccorpus2.
* gnu/packages/golang-check.scm (go-modernc-org-ccorpus2): New variable.

Change-Id: I5b39ac40d965aab779c30caebd1565414d2ca23d
2025-01-21 23:42:42 +00:00
Sharlatan Hellseher
f5eaca3cba
gnu: Add go-github-com-jmhodges-clock.
* gnu/packages/golang-check.scm (go-github-com-jmhodges-clock): New variable.

Change-Id: I0fe9ad9addebc951c2d8776701453adecfa45c76
2025-01-21 23:42:41 +00:00
Sharlatan Hellseher
9623f6d92c
gnu: go-github-com-go-playground-validator-v10: Limit tests to x86_64.
Limit tests to x86_64 architecture as they fail on others, see
<https://ci.guix.gnu.org/build/7801336/log/raw>.

* gnu/packages/golang-check.scm (go-github-com-go-playground-validator-v10)
[arguments] <tests?>: Only run on x86_64 system.

Change-Id: I0b07638cbfdf8a737ea2f040bcb0dd27bfede09a
2025-01-21 23:42:40 +00:00
Sharlatan Hellseher
07536320d6
gnu: go-github-com-go-playground-validator-v10: Move to golang-check.
* gnu/packages/golang.scm (go-github-com-go-playground-validator-v10):
Move from here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: Idd8b93fbd1415c0cd329fad722f40cd22a0e5d4b
2025-01-21 23:42:39 +00:00
Sharlatan Hellseher
9a1a5f174c
gnu: go-github-com-maruel-panicparse: Move to golang-check.
* gnu/packages/golang.scm (go-github-com-maruel-panicparse): Move from
here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: Ib11a56341d3c77bb87a1eef21956482df7e1b50d
2025-01-21 23:42:37 +00:00
Sharlatan Hellseher
97452b52f2
gnu: go-github-com-stretchr-testify: Update to 1.10.0.
Fix build on non x86_64 architectures by disabling tests.

* gnu/packages/golang-check.scm: Add "guix utils" module.
(go-github-com-stretchr-testify): Update to 1.10.0.
[arguments] <tests?>: Limit them to x86_64 architecture.

Change-Id: Ib157a3824df37e3bc9293ef9278a86573ababef1
2025-01-21 23:42:35 +00:00