gnu: Add go-github-com-jackc-pgservicefile.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgservicefile): New variable.
Change-Id: I8df2ea460e3436135a4f0660569b060f4208880c
gnu: Add go-github-com-jackc-pgpassfile.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgpassfile): New variable.
Change-Id: I87f5a049cd26357f99e49f410c506e2789585d6f
gnu: Add go-github-com-jackc-pgio.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgio): New variable.
Change-Id: I9757e72fcb007e516b4134ea429ffe6dfd1a2386
gnu: Add go-github-com-jackc-puddle.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-puddle,
go-github-com-jackc-puddle-v2): New variables.
Change-Id: I873dc9746eca089da32777b77bbb611a71fd35ef
gnu: Add go-gopkg-in-inconshreveable-log15.
* gnu/packages/golang-xyz.scm (go-gopkg-in-inconshreveable-log15-v1,
go-gopkg-in-inconshreveable-log15-v2,
go-gopkg-in-inconshreveable-log15-v3): New variables.
Change-Id: If6dbda1806281c278230eb8c30c9d5fc198de01a
gnu: go-github-com-go-stack-stack: Skip failing tests.
* gnu/packages/golang-xyz.scm (go-github-com-go-stack-stack)
[arguments]<test-flags>: Skip some failing tests.
Change-Id: Ibda14b48a98b1d4da50f22dc1c80a2fb647504ea
gnu: go-github-com-go-sql-driver-mysql: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-go-sql-driver-mysql): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I228b8d4e69d3914ad6f811414cd63ccca7e3831d
gnu: go-github-com-go-sql-driver-mysql: Enable tests.
* gnu/packages/golang.scm (go-github-com-go-sql-driver-mysql)
[arguments]<test-flags>: Skip some failing tests requiring networking
setup.
Change-Id: I53592dfee76a0239b12ae1da26ab2662da781fb4
gnu: Add go-github-com-aclements-go-moremath.
* gnu/packages/golang-maths.scm (go-github-com-aclements-go-moremath): New variable.
Change-Id: I8a291cba373d60710b2dc4c8f242d3a80c25f512
gnu: Add go-gonum-org-v1-gonum.
* gnu/packages/golang-maths.scm: Add golang-build module.
(go-gonum-org-v1-gonum): New variable.
Change-Id: I09da7049d1d7905380f2515c63d7949a44c75748
gnu: Add go-github-com-goccmack-gocc.
* gnu/packages/golang-build.scm (go-github-com-goccmack-gocc): New variable.
Change-Id: Ia81fe771b6acd086d5ecfc194f6f02cd44b7b6dc
gnu: go-golang-org-x-lint: Enable tests.
* gnu/packages/golang-check.scm (go-golang-org-x-lint)
[arguments]<tests?>: Enable them.
Change-Id: Ib5d30153c0f25e3420499b7860c87b47b7ecbfa5
gnu: go-golang-org-x-lint: Fix indentation.
* gnu/packages/golang-check.scm (go-golang-org-x-lint): Fix indentation.
Change-Id: I3ec261699ee31b5b8ab0dda90d5da6f9fe87a923
gnu: go-golang-org-x-lint: Update to 0.0.0-20241112194109-818c5a804067.
* gnu/packages/golang-check.scm (go-golang-org-x-lint): Update to 0.0.0-20241112194109-818c5a804067.
Change-Id: I397b4ad6e0483197165a23905128d128fd80d74c
build-system/go: Add skip-build? option key.
Golang project's root may miss any .go files which makes build phase to
fail with error similar to:
no Go files in /tmp/<...>/src/golang.org/x/mod
This change implements a SKIP-BUILD? key parameter which is, by default,
set to #f to invoke build procedure. It is taken from cargo-build-system
* guix/build-system/go.scm (go-build, go-cross-build): Add "skip-build?"
key parameter.
* guix/build/go-build-system.scm (build): Add "skip-build?" key
parameter and implement logic.
Change-Id: I3f41414868a7329cbe99324106427cdae4884d94
build-system/go: Add test-subdirs option key.
Golang projects may contain subdirectories with test files, which can't
be reached by providing just IMPORT-PATH to the test runner. This
change implements a TEST-SUBDIRS key parameter which is by default set
to "import-path/..." to run all available tests in the project, and may
be limited to particular subdirs list.
* guix/build-system/go.scm (go-build, go-cross-build): Add "test-subdirs"
key parameter.
* guix/build/go-build-system.scm (check): Add "test-subdirs" key
parameter and adjust test invokation accordingly.
Change-Id: Ibc107deea060f0d71e6f4e1e37c81d3b7c9992f5
build: go-build-system: Relax build verbosity.
During the build phase "-x" option forces go compiler to generate quite
a noisy build log which does not help too much when the build is failed.
This change makes it optional and governed by #:verbosity key passed to
`build' procedure.
* guix/build/go-build-system.scm (build): Provide a link to online
example. Consolidate options in GOFLAGS environment variable, make "-x"
optional. Add description for "-trimpath" option.
Change-Id: Icf1b03eb79db8a6f79f86f3cc212a53de5aa7c1c
gnu: Add go-github-com-antihax-optional.
* gnu/packages/golang-xyz.scm (go-github-com-antihax-optional): New variable.
Change-Id: Ieff78f711d339c1a8297bed3ec29b85c9eb994c0
gnu: kubo: Undundle more packages.
* gnu/packages/ipfs.scm (kubo) [source]: Delete
"vendor/github.com/ceramicnetwork".
[inputs]: Remove go-gopkg-in-square-go-jose-v2, add
go-github-com-ceramicnetwork-go-dag-jose.
Change-Id: I70f0db456a5685c533fa82f5ca31891905cbd592
gnu: Add go-github-com-ceramicnetwork-go-dag-jose.
* gnu/packages/ipfs.scm (go-github-com-ceramicnetwork-go-dag-jose): New variable.
Change-Id: I5be5496f318cdcf209326fe3e5ff9584034d7477