Commit graph

152342 commits

Author SHA1 Message Date
Sharlatan Hellseher
958d3b8115
gnu: go-github-com-sirupsen-logrus: Adjust inputs.
* gnu/packages/golang-xyz.scm (go-github-com-sirupsen-logrus)
[propagated-inputs]: Remove go-github-com-davecgh-go-spew,
go-github-com-pmezard-go-difflib, go-github-com-stretchr-testify, and
go-golang-org-x-crypto.
[native-inputs]: Add go-github-com-stretchr-testify.

Change-Id: I005f0f7046747884588e84d29631a58f2d92e9a8
2025-01-11 23:39:02 +00:00
Sharlatan Hellseher
1e8a093703
gnu: go-github-com-sirupsen-logrus: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-sirupsen-logrus): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

* gnu/packages/docker.scm: Add golang-xyz module.

Change-Id: I31851e4ea52e7ad1f69ff6ec32f53f00bff6b105
2025-01-11 23:39:02 +00:00
Sharlatan Hellseher
bb074c7fa3
gnu: go-github-com-sirupsen-logrus: Skip one test.
* gnu/packages/golang.scm (go-github-com-sirupsen-logrus)
[arguments]<test-flags>: Skip one failing test.

Change-Id: I23aec0766e2667c6c53272458162e10435c30ab4
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
c853f74968
gnu: Add go-github-com-jackc-pgconn.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgconn): New variable.

Change-Id: I2666e06631f56ff7534fde336c3556a9740ff68a
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
a091106878
gnu: Add go-pgmockproxy.
* gnu/packages/golang-check.scm (go-pgmockproxy): New variable.

Change-Id: I8778114b8ea6b2905594e3fb4cde6f98f2f61131
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
77f5837863
gnu: Add go-github-com-jackc-pgmock.
* gnu/packages/golang-check.scm (go-github-com-jackc-pgmock): New variable.

Change-Id: Ibc0428a18cf6134a9843b5b845076172d9da3d2c
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
0a023cb0a0
gnu: Add go-github-com-jackc-pgproto3.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgproto3,
go-github-com-jackc-pgproto3): New variables.

Change-Id: I7ea229704dc9bd7ed961c46044d53b9d6a34ba48
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
9c8d2093b5
gnu: Add go-github-com-jackc-chunkreader.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-chunkreader,
go-github-com-jackc-chunkreader-v2): New variables.

Change-Id: I8a7c9a20fec268b21cd211d2ea0a259cd26ef97c
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
6d5695437a
gnu: Add go-github-com-jackc-pgservicefile.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgservicefile): New variable.

Change-Id: I8df2ea460e3436135a4f0660569b060f4208880c
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
3295ae21a5
gnu: Add go-github-com-jackc-pgpassfile.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgpassfile): New variable.

Change-Id: I87f5a049cd26357f99e49f410c506e2789585d6f
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
1945477b94
gnu: Add go-github-com-jackc-pgio.
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgio): New variable.

Change-Id: I9757e72fcb007e516b4134ea429ffe6dfd1a2386
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
6d85d2a476
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
2025-01-11 23:39:01 +00:00
Sharlatan Hellseher
6f1c61ec85
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
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
7fee4da033
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
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
7f83b4b920
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
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
34daaf9dcb
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
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
90d147b18c
gnu: Add go-github-com-aclements-go-moremath.
* gnu/packages/golang-maths.scm (go-github-com-aclements-go-moremath): New variable.

Change-Id: I8a291cba373d60710b2dc4c8f242d3a80c25f512
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
ea9a2ef8f3
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
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
5299c6f3a1
gnu: Add go-github-com-goccmack-gocc.
* gnu/packages/golang-build.scm (go-github-com-goccmack-gocc): New variable.

Change-Id: Ia81fe771b6acd086d5ecfc194f6f02cd44b7b6dc
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
d7e211ffb8
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
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
17714a7b04
gnu: go-golang-org-x-lint: Fix indentation.
* gnu/packages/golang-check.scm (go-golang-org-x-lint): Fix indentation.

Change-Id: I3ec261699ee31b5b8ab0dda90d5da6f9fe87a923
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
81cab9077a
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
2025-01-11 23:39:00 +00:00
Sharlatan Hellseher
4ced25f0ca
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
2025-01-11 23:38:59 +00:00
Sharlatan Hellseher
dac115935f
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
2025-01-11 23:38:59 +00:00
Sharlatan Hellseher
333648548f
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
2025-01-11 23:38:59 +00:00
Sharlatan Hellseher
cf8f027e9d
gnu: Add go-github-com-antihax-optional.
* gnu/packages/golang-xyz.scm (go-github-com-antihax-optional): New variable.

Change-Id: Ieff78f711d339c1a8297bed3ec29b85c9eb994c0
2025-01-11 23:38:59 +00:00
Sharlatan Hellseher
7e620703d0
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
2025-01-11 23:38:59 +00:00
Sharlatan Hellseher
dd19211e69
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
2025-01-11 23:38:59 +00:00
Sharlatan Hellseher
556898c4c7
gnu: Add go-github-com-tetratelabs-wazero.
* gnu/packages/golang-web.scm (go-github-com-tetratelabs-wazero): New variable.

Change-Id: I2ee9e92b2a358afa661d690d5def1767ffd6727a
2025-01-11 23:38:59 +00:00
Sharlatan Hellseher
8bbd0cee6b
gnu: Add go-github-com-iancoleman-strcase.
* gnu/packages/golang-xyz.scm (go-github-com-iancoleman-strcase): New variable.

Change-Id: I9795c3941c4dc7a693baefeaa1c400a296847ef5
2025-01-11 23:38:59 +00:00
Sharlatan Hellseher
3249b57f9c
gnu: Add protoc-gen-go.
* gnu/packages/golang-build.scm (protoc-gen-go): New variable.

Change-Id: I09bf1a7a4d42aab8787acb5476cebb00aad0bb40
2025-01-11 23:38:59 +00:00
Sharlatan Hellseher
3438b28806
gnu: Add go-github-com-tetratelabs-wabin.
* gnu/packages/golang-web.scm (go-github-com-tetratelabs-wabin): New variable.

Change-Id: I9f0d88de247d6f1843c00019d02f578e09147c93
2025-01-11 23:38:58 +00:00
Sharlatan Hellseher
584d93767e
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
2025-01-11 23:38:58 +00:00
Herman Rimm
c9c0c4739e
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>
2025-01-11 23:38:58 +00:00
Sharlatan Hellseher
214dee7c11
gnu: Add go-go-abhg-dev-testing-stub.
* gnu/packages/golang-check.scm (go-go-abhg-dev-testing-stub): New variable.

Change-Id: Idf937f7a27219af80a29748da89ea9fc5ddfa538
2025-01-11 23:38:58 +00:00
Sharlatan Hellseher
af9d8b3af3
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
2025-01-11 23:38:58 +00:00
Sharlatan Hellseher
86a7951579
gnu: Add go-go-abhg-dev-komplete.
* gnu/packages/golang-xyz.scm (go-go-abhg-dev-komplete): New variable.

Change-Id: I75069767b85c2e859602efe3dc9fd693e3783293
2025-01-11 23:38:58 +00:00
Sharlatan Hellseher
8355436d6c
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
2025-01-11 23:38:58 +00:00
Sharlatan Hellseher
ac7e9bf96f
gnu: Add go-github-com-xanzy-go-gitlab.
* gnu/packages/golang-vcs.scm (go-github-com-xanzy-go-gitlab): New variable.

Change-Id: Id59090f6642e01e223690b022e29e123a6bac03c
2025-01-11 23:38:58 +00:00
Sharlatan Hellseher
cdbf368f8b
gnu: Add packages/golang-vcs module.
* gnu/packages/golang-vcs.scm: New file.
* gnu/local.mk: Add gnu/packages/golang-vcs.scm to the scope.

Change-Id: Ie318d25052d72e25ce9207dc890709f7321431b4
2025-01-11 23:38:58 +00:00
Sharlatan Hellseher
c3f33a3bec
gnu: Add go-github-com-cli-browser.
* gnu/packages/golang-xyz.scm (go-github-com-cli-browser): New variable.

Change-Id: I31a7c0790c8f67805c5b5ee91b47c776ba26a4d9
2025-01-11 23:38:58 +00:00
Sharlatan Hellseher
21e2ccf592
gnu: go-github-com-charmbracelet-x-exp-golden: Sort.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-exp-golden):
Sort variable alphabetically.

Change-Id: I5ebe17342f458589f3a1d490203d3a0bf84ac9e4
2025-01-11 23:38:57 +00:00
Herman Rimm
b379c72de5
gnu: Add go-github-com-charmbracelet-x-input.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-input,
go-github-com-charmbracelet-x-ansi-0.4.5): New variables.

Change-Id: I523dbbf6ea5734fd88a9ca817bb31c26facf13dc
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-11 23:38:57 +00:00
Herman Rimm
6923784cbd
gnu: Add go-github-com-charmbracelet-x-windows.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-windows): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I6e436897b6261b695f1347951a978d56373e8e56
2025-01-11 23:38:57 +00:00
Herman Rimm
719d565a67
gnu: Add go-github-com-charmbracelet-log.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-log): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I5458a03649545ae8aa2bdf4e0f70ccf4e0b6240a
2025-01-11 23:38:57 +00:00
Herman Rimm
f751397f82
gnu: Add go-github-com-vito-midterm.
* gnu/packages/golang-xyz.scm (go-github-com-vito-midterm): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ia09e3a330436640e6dc65c243eb4061921aa0ff8
2025-01-11 23:38:57 +00:00
Herman Rimm
c28e902b9f
gnu: Add go-github-com-sebdah-goldie-v2.
* gnu/packages/golang-xyz.scm (go-github-com-sebdah-goldie-v2): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I34b6aaf6e7a5db6778fdbcd46c886aa6b5eb9b37
2025-01-11 23:38:57 +00:00
Herman Rimm
157426970b
gnu: Add go-github-com-erikgeiser-coninput.
* gnu/packages/golang-xyz.scm (go-github-com-erikgeiser-coninput): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ib18b02e26070c87a6dc541c64b16f31ce879b012
2025-01-11 23:38:57 +00:00
Herman Rimm
12db6dd926
gnu: Add go-github-com-buildkite-shellwords.
* gnu/packages/golang-xyz.scm (go-github-com-buildkite-shellwords): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: If6ff06dcd0b66a96e66d130b1ac54aa04a3309b3
2025-01-11 23:38:57 +00:00
Herman Rimm
1fbff25ff0
gnu: Add go-github-com-shurcool-githubv4.
* gnu/packages/golang-web.scm (go-github-com-shurcool-githubv4): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I2870863792172db990e0f9a58a8e7dc13224bf16
2025-01-11 23:38:57 +00:00