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
gnu: Add go-github-com-tetratelabs-wazero.
* gnu/packages/golang-web.scm (go-github-com-tetratelabs-wazero): New variable.
Change-Id: I2ee9e92b2a358afa661d690d5def1767ffd6727a
gnu: Add go-github-com-iancoleman-strcase.
* gnu/packages/golang-xyz.scm (go-github-com-iancoleman-strcase): New variable.
Change-Id: I9795c3941c4dc7a693baefeaa1c400a296847ef5
gnu: Add protoc-gen-go.
* gnu/packages/golang-build.scm (protoc-gen-go): New variable.
Change-Id: I09bf1a7a4d42aab8787acb5476cebb00aad0bb40
gnu: Add go-github-com-tetratelabs-wabin.
* gnu/packages/golang-web.scm (go-github-com-tetratelabs-wabin): New variable.
Change-Id: I9f0d88de247d6f1843c00019d02f578e09147c93
gnu: Add go-software-sslmate-com-src-go-pkcs12.
* gnu/packages/golang-crypto.scm (go-software-sslmate-com-src-go-pkcs12):
New variable.
Change-Id: I54dabe976a94c2191c3805e1751ea612822b1783
gnu: Add git-spice.
* gnu/packages/version-control.scm (git-spice): New variable.
Change-Id: Id0936171caa586a98a3c500e6d669baa171f48da
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: Add go-go-abhg-dev-testing-stub.
* gnu/packages/golang-check.scm (go-go-abhg-dev-testing-stub): New variable.
Change-Id: Idf937f7a27219af80a29748da89ea9fc5ddfa538
gnu: Add go-gopkg-in-dnaeon-go-vcr-v4.
* gnu/packages/golang-check.scm (go-gopkg-in-dnaeon-go-vcr-v4): New variable.
Change-Id: I63a48e9e5c60f22f756d885bdd3ec247f6565394
gnu: Add go-go-abhg-dev-komplete.
* gnu/packages/golang-xyz.scm (go-go-abhg-dev-komplete): New variable.
Change-Id: I75069767b85c2e859602efe3dc9fd693e3783293
gnu: go-github-com-alecthomas-kong: Update to 1.5.1.
* gnu/packages/golang-xyz.scm (go-github-com-alecthomas-kong): Update to 1.5.1.
Change-Id: I3d78b5682ff0c1f76318bc298e0b9a5dab91e6b5
gnu: Add go-github-com-xanzy-go-gitlab.
* gnu/packages/golang-vcs.scm (go-github-com-xanzy-go-gitlab): New variable.
Change-Id: Id59090f6642e01e223690b022e29e123a6bac03c