Sharlatan Hellseher
e277c9f6c6
gnu: go-github-com-bwesterb-go-ristretto: Fix import path.
...
* gnu/packages/golang-crypto.scm (go-github-com-bwesterb-go-ristretto)
[arguments]<import-path>: Set to match go.mod module path.
<unpack-path>: Remove it.
Change-Id: I4bc4a096ab5e0d75b727b8387f95f29d03b2d7d7
2025-01-11 23:39:04 +00:00
Sharlatan Hellseher
81c456cdd0
gnu: Add go-github-com-jackc-pgerrcode.
...
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgerrcode): New variable.
Change-Id: I91be89a09b50110255b67d57b65d4a362287d82b
2025-01-11 23:39:04 +00:00
Sharlatan Hellseher
e9edbc6611
gnu: Add go-github-com-jackc-pgx-v5.
...
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgx-v5): New variable.
Change-Id: Ia7a83221845b02bd338b7f3b310eb9b4b8462479
2025-01-11 23:39:04 +00:00
Sharlatan Hellseher
00e5a6bb3d
gnu: Add go-github-com-jackc-pgx-v4.
...
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgx-v4,
go-github-com-jackc-pgx-v4-bootstrap, go-github-com-jackc-pgtype,
go-github-com-jackc-pgtype-bootstrap): New variables.
Change-Id: I0575aae006265adfdd39462bc37cebc39e505127
2025-01-11 23:39:04 +00:00
Sharlatan Hellseher
991e63e231
gnu: Add go-github-com-jackc-pgx.
...
* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgx): New variable.
Change-Id: I9877c3e8012e2042e341f4f93888967f14f82887
2025-01-11 23:39:04 +00:00
Sharlatan Hellseher
09060e4703
gnu: Add go-github-com-jackc-fake.
...
* gnu/packages/golang-check.scm (go-github-com-jackc-fake): New variable.
Change-Id: I744e09a6ba01c750e80e533ea3fe1663ad0fb93d
2025-01-11 23:39:03 +00:00
Sharlatan Hellseher
06fdd813fa
gnu: Add go-github-com-icrowley-fake.
...
* gnu/packages/golang-check.scm (go-github-com-icrowley-fake): New variable.
Change-Id: Ia3158c274a7e69f777f695c63bdb9e7c70cc6ae8
2025-01-11 23:39:03 +00:00
Sharlatan Hellseher
1dfaca4ee1
gnu: Add go-github-com-corpix-uarand.
...
* gnu/packages/golang-check.scm (go-github-com-corpix-uarand): New variable.
Change-Id: I35e3f97bef1aae13671523d06c99288160662018
2025-01-11 23:39:03 +00:00
Sharlatan Hellseher
5390fac1f1
gnu: Add go-github-com-cockroachdb-apd.
...
* gnu/packages/golang-maths.scm (go-github-com-cockroachdb-apd,
go-github-com-cockroachdb-apd-v3): New variables.
Change-Id: I66f0b2bc276c3a8b8540a99e7d680bc22667ac76
2025-01-11 23:39:03 +00:00
Sharlatan Hellseher
2fa69af0ce
gnu: go-github-com-pkg-errors: Move to golang-build.
...
* gnu/packages/golang.scm (go-github-com-pkg-errors): Move from here ...
* gnu/packages/golang-build.scm: ... to here.
Change-Id: Ic91629d1832e559928b20567bd930783377b568c
2025-01-11 23:39:03 +00:00
Sharlatan Hellseher
f9ef27167d
gnu: Add go-github-com-satori-go-uuid.
...
* gnu/packages/golang-xyz.scm (go-github-com-satori-go-uuid): New variable.
Change-Id: Ief157b8ba62b4cfd04a29ac5e9749aab29419109
2025-01-11 23:39:03 +00:00
Sharlatan Hellseher
5b492f5825
gnu: go-go-uber-org-zap: Update to 1.27.0.
...
* gnu/packages/golang-xyz.scm (go-go-uber-org-zap): Update to 1.27.0.
[arguments]<test-flags>: Skip 3 tests.
<phases>: Remove 'remove-test-files, add 'remove-examples-and-benchamrks.
[propagated-inputs]: Remove go-github-com-benbjohnson-clock,
go-github-com-pkg-errors, go-go-uber-org-atomic, and
go-gopkg-in-yaml-v2; add go-gopkg-in-yaml-v3.
[native-inputs]: Remove go-golang-org-x-lint and go-honnef-co-go-tools.
Change-Id: I3f2d90ce093f9aac4342ed887cc3a96419a281a9
2025-01-11 23:39:03 +00:00
Sharlatan Hellseher
f77599dc11
gnu: go-github-com-rs-zerolog: Fix build.
...
* gnu/packages/golang-xyz.scm (go-github-com-rs-zerolog)
[arguments]<test-flags>: Skip one test.
[propagated-inputs]: Add go-golang-org-x-tools.
Change-Id: I1a7d8e276283c7b3669d3eae2ccf34a9a6ad3598
2025-01-11 23:39:03 +00:00
Sharlatan Hellseher
348436a030
gnu: go-golang-org-x-exp-typeparams: Update to 0.0.0-20241210194714-1829a127f884.
...
* gnu/packages/golang-build.scm (go-golang-org-x-exp-typeparams): Update
to 0.0.0-20241210194714-1829a127f884.
[arguments]<test-flags>: Skip one test.
Change-Id: Ibe5b79342f80036d7bfa13b0da654489b450be55
2025-01-11 23:39:03 +00:00
Sharlatan Hellseher
ee2f110b84
gnu: Add go-github-com-containerd-cgroups-v3.
...
* gnu/packages/golang-xyz.scm (go-github-com-containerd-cgroups-v3): New variable.
Change-Id: Ieb03de8524cccec8586c704653cffb4f650a7b1e
2025-01-11 23:39:02 +00:00
Sharlatan Hellseher
9fd2caaec1
gnu: Add go-github-com-containerd-log.
...
* gnu/packages/golang-xyz.scm (go-github-com-containerd-log): New variable.
Change-Id: I8adb2d0e13d2780493ee667f649c1a84d9626b15
2025-01-11 23:39:02 +00:00
Sharlatan Hellseher
ff7a366739
gnu: Add go-github-com-moby-sys-userns.
...
* gnu/packages/golang-xyz.scm (go-github-com-moby-sys-userns): New variable.
Change-Id: Ibe9091cd4113a63b298c256664fe0153d3b9318a
2025-01-11 23:39:02 +00:00
Sharlatan Hellseher
c48b12f9c3
gnu: go-github-com-urfave-cli: Adjust inputs.
...
* gnu/packages/golang-xyz.scm (go-github-com-urfave-cli)
[propagated-inputs]: Add go-github-com-burntsushi-toml and
go-gopkg-in-yaml-v2.
Change-Id: I15ad53bca70b910bb8bc59d7fe886e582415d157
2025-01-11 23:39:02 +00:00
Sharlatan Hellseher
9c54b74a7b
gnu: go-github-com-containerd-cgroups: Fix build.
...
* gnu/packages/golang-xyz.scm (go-github-com-containerd-cgroups)
[arguments]<test-flags>: Move tests skip logic here and skip more tests.
<phases>: Remove 'disable-failing-tests.
[propagated-inputs]: Add go-github-com-cilium-ebpf.
Change-Id: I3ee11a4c21ea3750e3e886155530439f2e363811
2025-01-11 23:39:02 +00:00
Sharlatan Hellseher
cfaa61bb68
gnu: Add go-github-com-cilium-ebpf.
...
* gnu/packages/golang-xyz.scm (go-github-com-cilium-ebpf): New variable.
Change-Id: I63147d352a7610748ed626826e81d30775a29fe3
2025-01-11 23:39:02 +00:00
Sharlatan Hellseher
58dfd887f2
gnu: go-github-com-mdlayher-netlink: Simplify package.
...
* gnu/packages/golang-web.scm (go-github-com-mdlayher-netlink)
[source]<snippet>: Remove submodule with integration tests to break
cycle.
[arguments]<test-flags>: Move test skipping logic here.
<phases>: Remove 'disable-failing-tests.
Change-Id: I66e32ce985ea5162da8c7d0705207ea1d5323685
2025-01-11 23:39:02 +00:00
Sharlatan Hellseher
3b0514343b
gnu: go-github-com-go-quicktest-qt: Skip some failing tests.
...
* gnu/packages/golang-check.scm (go-github-com-go-quicktest-qt)
[arguments]<test-flags>: Skip 5 tests.
Change-Id: I5485406acec4a7f69d5756fcc1dabbac4f528127
2025-01-11 23:39:02 +00:00
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