1
0
forked from tribes/guix

Compare commits

...

107 Commits

Author SHA1 Message Date
Sharlatan Hellseher f8c9c4abde gnu: yq: Update to 4.53.2.
* gnu/packages/textutils.scm (yq): Update to 4.53.2.
[native-inputs]: Remove go-gopkg-in-op-go-logging-v1; add go-golang-org-x-mod.

Change-Id: I96e86ccd6eeca08624e3b75a572205c873d88d3b
2026-05-28 20:25:53 +01:00
Sharlatan Hellseher b1437ca2a2 gnu: nats-server: Update to 2.14.1.
* gnu/packages/high-availability.scm (nats-server): Update to 2.14.1.
[inputs]: Remove go-go-uber-org-automaxprocs.

Change-Id: I0cf593e90c8d8d7e68e11c0d3f7c22a79c22eb74
2026-05-28 20:25:53 +01:00
Sharlatan Hellseher 31a7b57e28 gnu: kubo: Update to 0.41.0.
* gnu/packages/ipfs.scm (kubo): Update to 0.41.0.
[inputs]: Remove go-bazil-org-fuse and
go-github-com-filecoin-project-go-clock; add
go-github-com-hanwen-go-fuse-v2.

Change-Id: I629c8e3cc26316c408fc8468b243b1a39bd28103
2026-05-28 20:25:53 +01:00
Sharlatan Hellseher 1cfe1e1a7f gnu: Add go-code-forgejo-org-go-chi-binding.
* gnu/packages/golang-web.scm (go-code-forgejo-org-go-chi-binding): New variable.

Change-Id: I78038036af35f326157cc16577cccd7dad230815
2026-05-28 20:25:53 +01:00
Sharlatan Hellseher 4f9114d13e gnu: Add go-code-forgejo-org-forgejo-reply.
* gnu/packages/golang-web.scm (go-code-forgejo-org-forgejo-reply): New variable.

Change-Id: I4f1aa16d046c4b24684ffe069089c70fbd32cbd2
2026-05-28 20:25:53 +01:00
Sharlatan Hellseher 8ed751a15d gnu: Add go-code-forgejo-org-forgejo-levelqueue.
* gnu/packages/golang-xyz.scm (go-code-forgejo-org-forgejo-levelqueue): New variable.

Change-Id: If14cc8ec5ea49b3fc8c96b50e380d4f3bbe0d19e
2026-05-28 20:25:52 +01:00
Sharlatan Hellseher 9f4d15ebed gnu: Add go-code-forgejo-org-forgejo-contrib-go-libravatar.
* gnu/packages/golang-web.scm (go-code-forgejo-org-forgejo-contrib-go-libravatar): New variable.

Change-Id: I02e0d7a1d773c1ff6d85dcb6d1fc0ccd6015de1c
2026-05-28 20:25:52 +01:00
Sharlatan Hellseher 491a3a2dca gnu: Add go-code-forgejo-org-forgejo-go-rpmutils.
* gnu/packages/golang-compression.scm (go-code-forgejo-org-forgejo-go-rpmutils): New variable.

Change-Id: Ic67b127af97f365ccfc4028b9d6f9706c1df469f
2026-05-28 20:25:52 +01:00
Sharlatan Hellseher 135e96b2cb gnu: Add go-code-forgejo-org-forgejo-actions-proto.
* gnu/packages/golang-web.scm (go-code-forgejo-org-forgejo-actions-proto): New variable.

Change-Id: Ia0767b81596ed696c9d23904a2740a884c32dcf7
2026-05-28 20:25:52 +01:00
Sharlatan Hellseher 0942defd4d gnu: Add go-code-forgejo-org-f3-gof3-v3.
* gnu/packages/golang-vcs.scm (go-code-forgejo-org-f3-gof3-v3, f3-cli):
New variables.

Change-Id: Ia070d704cd315e08b41285e44d3e1120f9f837aa
2026-05-28 20:25:52 +01:00
Sharlatan Hellseher 6fe43fb772 gnu: Add go-github-com-chi-middleware-proxy.
* gnu/packages/golang-web.scm (go-github-com-chi-middleware-proxy): New variable.

Change-Id: I23ee44218c814edcd3d9ff638eb28c211c47dea7
2026-05-28 20:25:52 +01:00
Sharlatan Hellseher d602172b63 gnu: Add go-github-com-aio-arch-graphlib.
* gnu/packages/golang-maths.scm (go-github-com-aio-arch-graphlib): New variable.

Change-Id: I223b78efab70a819590ae384c40adcc3d34228e3
2026-05-28 20:25:52 +01:00
Sharlatan Hellseher dfe6dae01a gnu: Add go-github-com-victoriametrics-easyproto.
* gnu/packages/golang-web.scm (go-github-com-victoriametrics-easyproto): New variable.

Change-Id: Icd7694939494cf60632a10dec911b821c027021e
2026-05-28 20:25:52 +01:00
Sharlatan Hellseher b6c22e05e7 gnu: go-github-com-go-git-go-git-v6: Update to 6.0.0-alpha.4.
* gnu/packages/golang-vcs.scm (go-github-com-go-git-go-git-v6): Update to 6.0.0-alpha.4.

Change-Id: I95c618421c226f9f40f39e6ca39857d4a2b7df4a
2026-05-28 20:25:51 +01:00
Sharlatan Hellseher 6c5403dce7 gnu: go-github-com-go-git-go-billy-v6: Update to 6.0.0-alpha.1.
* gnu/packages/golang-xyz.scm (go-github-com-go-git-go-billy-v6): Update to 6.0.0-alpha.1.

Change-Id: If2e7450d2e77e6087b811be77eae5bef8891cd30
2026-05-28 20:25:51 +01:00
Sharlatan Hellseher 32ba89afb3 gnu: go-github-com-antithesishq-antithesis-sdk-go: Update to 0.7.0.
* gnu/packages/golang-web.scm (go-github-com-antithesishq-antithesis-sdk-go): Update to 0.7.0.
[arguments] <test-flags>: Run vet over tests, skip 5 tests.
[native-inputs]: Add go-github-com-go-quicktest-qt.

Change-Id: I7b8b5662746f9a1cc88d98ec7e00cdb5179aff27
2026-05-28 20:25:51 +01:00
Sharlatan Hellseher 29abdca3c6 gnu: go-github-com-google-go-tpm: Update to 0.9.8.
* gnu/packages/golang-crypto.scm (go-github-com-google-go-tpm): Update to 0.9.8.
[arguments] <skip-build?>: Use the parameter instead deleting phase.
<tests-subdirs>: Enable most of the tests.
[propagated-inputs]: Add go-golang-org-x-sys.
[native-inputs]: Add go-github-com-google-go-cmp.

Change-Id: If20f98e34a9486dde623ab062d44a877a34f75ba
2026-05-28 20:25:51 +01:00
Sharlatan Hellseher 6ef07a851a gnu: Add go-github-com-dop251-goja.
go-github-com-dop251-goja cycles with go-github-com-dop251-goja-nodejs
and both need to be added together with bootstrap variant.

* gnu/packages/golang-web.scm (go-github-com-dop251-goja,
go-github-com-dop251-goja-nodejs,
go-github-com-dop251-goja-nodejs-bootstrap): New variables.

Change-Id: I9a700b1cb42ce0b312e4229000378e9e4b2c8f9e
2026-05-28 20:25:51 +01:00
Sharlatan Hellseher b8f7d99881 gnu: Add go-github-com-dop251-base64dec.
* gnu/packages/golang-xyz.scm (go-github-com-dop251-base64dec): New variable.

Change-Id: I1fb13e848f7b0c4ddd70c1f0abb00b65a6b8a6d4
2026-05-28 20:25:51 +01:00
Sharlatan Hellseher dc1a6237f8 gnu: go-github-com-pb33f-ordered-map-v2: Skip 2 tests.
* gnu/packages/golang-xyz.scm (go-github-com-pb33f-ordered-map-v2):
[arguments] <test-flags>: Skip 2 tests.

Change-Id: Ifad7c6c76ec52eba7fd30fb26c36120906d7cb44
2026-05-28 20:25:51 +01:00
Sharlatan Hellseher 30ab30264c gnu: go-github-com-andybalholm-brotli: Update to 1.1.0.
* gnu/packages/golang-compression.scm (go-github-com-andybalholm-brotli): Update to 1.1.0.
[native-inputs]: Add go-github-com-xyproto-randomstring.
[description]: Remove URL repetition from TexInfo mark ups.

Change-Id: I1857b4ac0784a5a0b0eadad213fb76b08b843ebb
2026-05-28 20:25:50 +01:00
Sharlatan Hellseher cc3ce52e0b gnu: Add go-github-com-xyproto-randomstring.
* gnu/packages/golang-xyz.scm (go-github-com-xyproto-randomstring): New variable.

Change-Id: I00f5cbc45ce97e25f16ee45f0bd00829f6c4a36d
2026-05-28 20:25:50 +01:00
Sharlatan Hellseher da5d821133 gnu: go-filippo-io-edwards25519: Update to 1.2.0.
* gnu/packages/golang-crypto.scm (go-filippo-io-edwards25519): Update to 1.2.0.
[arguments] <tests?>: Skip tests on aarch64-linux.

Change-Id: I5a303d404adb48774327699864a2cfa9795aa95b
2026-05-28 20:25:50 +01:00
Sharlatan Hellseher 120da4ab31 gnu: go-github-com-danielgtaylor-huma-v2: Update to 2.38.0.
* gnu/packages/golang-web.scm (go-github-com-danielgtaylor-huma-v2): Update to 2.38.0.
[arguments] <test-flags>: Rework skipped tests.
[propagated-inputs]: Add go-github-com-gofiber-fiber-v3.

Change-Id: Ib02fadcf790a1042ac69320005cc4877a4a6254f
2026-05-28 20:25:50 +01:00
Sharlatan Hellseher 0a49faef79 gnu: go-github-com-gin-gonic-gin: Update to 1.12.0.
* gnu/packages/golang-web.scm (go-github-com-gin-gonic-gin): Update to 1.12.0.
[propagated-inputs]: Remove go-gopkg-in-yaml-v3; add
go-github-com-goccy-go-yaml, go-github-com-modern-go-reflect2, and
go-github-com-quic-go-quic-go, go-go-mongodb-org-mongo-driver-v2.

Change-Id: I6fa0df32e09fb29a312f9f1eca7ebe9cc5672652
2026-05-28 20:25:50 +01:00
Sharlatan Hellseher 95dc063cd6 gnu: Add go-go-mongodb-org-mongo-driver-v2.
* gnu/packages/golang-xyz.scm (go-go-mongodb-org-mongo-driver-v2): New variable.

Change-Id: Iac7e8ebbea4eda8a38265494db569d94204b299c
2026-05-28 20:25:50 +01:00
Sharlatan Hellseher e6cfcb423d gnu: go-go-mongodb-org-mongo-driver: Update to 1.17.9.
* gnu/packages/golang-xyz.scm (go-go-mongodb-org-mongo-driver): Update to 1.17.9.
[source] <snippet>: Delete more submodules.
[arguments] <skip-build?>: Use parameter instead of deleting 'build
phase.
<test-flags, test-subdirs>: Rework skipped tests, add more submodules.
[propagated-inputs]: Remove go-github-com-davecgh-go-spew and
go-github-com-google-go-cmp.
[native-inputs]: Remove go-github-com-aws-aws-lambda-go; add
go-github-com-davecgh-go-spew and go-github-com-google-go-cmp.

Change-Id: I0b2cab09e46615a37c58e722a62ca41db63fa4c8
2026-05-28 20:25:50 +01:00
Sharlatan Hellseher ffbca11c01 gnu: go-github-com-fxamacker-cbor-v2: Update to 2.9.2.
* gnu/packages/golang-xyz.scm (go-github-com-fxamacker-cbor-v2): Update to 2.9.2.

Change-Id: Ie31ae2846ad66260612bcb35c940ec63e6df493d
2026-05-28 20:25:49 +01:00
Sharlatan Hellseher 28d6a3abd2 gnu: go-github-com-gofiber-fiber-v3: Update to 3.3.0.
* gnu/packages/golang-web.scm (go-github-com-gofiber-fiber-v3): Update to 3.3.0.
[arguments] <embed-files>: Embed data directories from golang.org/x/net
module.

Change-Id: I5747074b647cb8b7d4a5dc90ebb1114822a33f93
2026-05-28 20:25:49 +01:00
Sharlatan Hellseher fe48dc0361 gnu: go-github-com-valyala-fasthttp: Update to 1.71.0.
* gnu/packages/golang-web.scm (go-github-com-valyala-fasthttp): Update to 1.71.0.

Change-Id: I9f874218335b3746495e2cb02fec9971742420e0
2026-05-28 20:25:49 +01:00
Sharlatan Hellseher 0bb5f91feb gnu: go-github-com-klauspost-cpuid-v2: Update to 2.3.0.
* gnu/packages/golang-xyz.scm (go-github-com-klauspost-cpuid-v2): Update to 2.3.0.

Change-Id: I5e73e7e63da96b42f990bd4ac258294a79cae751
2026-05-28 20:25:49 +01:00
Sharlatan Hellseher 4d9ec0821b gnu: go-github-com-danielgtaylor-shorthand-v2: Update to 2.4.0.
* gnu/packages/golang-xyz.scm (go-github-com-danielgtaylor-shorthand-v2): Update to 2.4.0.
[source] <snippet>: Delete benchmarks.

Change-Id: I88b4bee43ae915f8441df6efa2cd91df1da360c7
2026-05-28 20:25:49 +01:00
Sharlatan Hellseher bc7f853d6f gnu: go-github-com-danielgtaylor-mexpr: Update to 1.10.1.
* gnu/packages/golang-xyz.scm (go-github-com-danielgtaylor-mexpr): Update to 1.10.1.

Change-Id: Ib08e0d1efc431dbfcaefb95138faddc77fbd6a4f
2026-05-28 20:25:49 +01:00
Sharlatan Hellseher 122ab276ca gnu: go-github-com-cloudwego-base64x: Update to 0.1.7.
* gnu/packages/golang-crypto.scm (go-github-com-cloudwego-base64x): Update to 0.1.7.
[source] <snippet>: Delete benchmarks.

Change-Id: Id039eaf5f5024fe954a30fcc90fc66c3c8a90524
2026-05-28 20:25:49 +01:00
Sharlatan Hellseher f0453fc786 gnu: go-go-yaml-in-yaml-v3: Skip tests on 32bit systems.
* gnu/packages/golang-xyz.scm (go-go-yaml-in-yaml-v3):
[arguments] <tests?>: Skip tests on 32bit systems.

Change-Id: I4baa83cdc22e1d13ea5e75e4ffa227e21ad95518
2026-05-28 20:25:48 +01:00
Sharlatan Hellseher 951b9f6cb8 gnu: go-github-com-andreasbriese-bbloom: Skip tests on aarch64-linux.
* gnu/packages/golang-xyz.scm (go-github-com-andreasbriese-bbloom):
[arguments] <tests?>: Skip tests on ARM64 system.

Change-Id: I2e5003338a1d23824eb23c51034ca6b5ef9067bd
2026-05-28 20:25:48 +01:00
Roman Scherer 270a42ddf1 gnu: rclone: Fix build on aarch64.
The Go linker requires ld.gold when linking rclone on ARM64/Linux
(see https://github.com/golang/go/issues/22040).

* gnu/packages/sync.scm: Add (gnu packages base) module import.
(rclone)[native-inputs]: Add binutils-gold on aarch64.

Merges: guix/guix!8004
Change-Id: I0964467c97ccc19b2aa7c27af22510cbc7dcf25d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 20:25:48 +01:00
Roman Scherer a82c55b37e gnu: go-github-com-shirou-gopsutil-v4: Skip TestSwapDevices.
TestSwapDevices reads /proc/swaps and fails when it is empty:
SwapDevices() returns an empty list, which the test treats as a
failure.

* gnu/packages/golang-xyz.scm (go-github-com-shirou-gopsutil-v4)
[arguments]<#:test-flags>: Skip TestSwapDevices.

Relates-to: guix/guix!8004
Change-Id: I5f7a9b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f89
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 20:25:48 +01:00
Roman Scherer 4951c139ac gnu: go-github-com-shirou-gopsutil-v4: Skip CPU tests on non-x86 Linux.
TestCounts and TestInfo read /proc/cpuinfo fields that are absent on
non-x86 Linux.

* gnu/packages/golang-xyz.scm (go-github-com-shirou-gopsutil-v4)
[arguments]<#:test-flags>: On non-x86 targets, additionally skip
TestCounts and TestInfo.

Relates-to: guix/guix!8004
Change-Id: Ieefe26cd1d442e0756a04b5de3249a60ce0aa153
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 20:25:48 +01:00
Roman Scherer f4b84f19b6 gnu: go-github-com-bytedance-sonic-loader: Skip build on non-x86-64.
internal/abi/abi.go references PtrSize and ReservedRegs, defined
only in amd64-specific files, so compilation of the root package
fails on non-x86-64.  Still run the tests for the arch-neutral
internal/iasm/expr subpackage.

* gnu/packages/golang-xyz.scm (go-github-com-bytedance-sonic-loader)
[arguments]<#:skip-build?>: New argument.
<#:test-subdirs>: New argument.
<#:tests?>: Enable on non-cross builds.

Relates-to: guix/guix!8004
Change-Id: I1357c355637d456da841815b556bc184ee916c66
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 20:25:48 +01:00
Roman Scherer 01cb49e2c4 gnu: go-github-com-bytedance-sonic: Restrict test-subdirs on non-x86-64.
Subpackages internal/jit and internal/native/{avx2,sse} reference
amd64-only symbols, so the default './...' fails to compile on
non-x86-64.

* gnu/packages/golang-xyz.scm (go-github-com-bytedance-sonic)
[arguments]<#:test-subdirs>: Limit to the root package on non-x86-64.

Relates-to: guix/guix!8004
Change-Id: Ie63e1727ee5ed4034a41fba2c12f17395220bd10
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 20:25:48 +01:00
Roman Scherer b6d7c5da44 gnu: go-github-com-cloudwego-base64x: Skip build on non-x86-64.
'base64x.go' references symbols defined only in 'native_amd64.go',
so compilation fails on non-x86-64.

* gnu/packages/golang-crypto.scm (go-github-com-cloudwego-base64x)
[arguments]<#:skip-build?>: New argument.
<#:tests?>: Disable on non-x86-64.

Relates-to: guix/guix!8004
Change-Id: I1f9541611ea619499339f0a9215727a2b4b64072
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 20:25:47 +01:00
Roman Scherer ac04185b28 gnu: go-golang-org-x-mobile: Skip TestInit on non-x86 Linux.
The archNDK helper in cmd/gomobile/env.go only maps GOARCH "386" and
"amd64" (plus "arm64" when GOOS is darwin), and panics with
"unsupported GOARCH" otherwise.  TestInit runs runInit, which calls
envInit -> ndkToolchain.Path -> archNDK, so the test aborts with a
panic on aarch64, powerpc64le and riscv64.  x86_64 and i686 builds
on the GNU build farm pass without this skip.

* gnu/packages/golang-build.scm (go-golang-org-x-mobile)
[arguments]<#:test-flags>: Skip TestInit when the target is not x86.

Relates-to: guix/guix!8004
Change-Id: I0e3209aa5f61077352716260698e257078708cdd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 20:25:47 +01:00
Sharlatan Hellseher 9f43141c95 gnu: Add go-github-com-ipfs-go-libdht.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-libdht): New variable.

Change-Id: Id7ee29c29ef27e816a67fd395076ef35baecb539
2026-05-28 20:25:47 +01:00
Sharlatan Hellseher 66f93d3e6a gnu: go-github-com-libp2p-go-libp2p-pubsub: Update to 0.16.0.
* gnu/packages/ipfs.scm (go-github-com-libp2p-go-libp2p-pubsub): Update to 0.16.0.
[arguments] <tests?, test-flags>: Enable the most of the tests.
[propagated-inputs]: Remove go-github-com-ipfs-go-log-v2 and
go-go-uber-org-zap.
[native-inputs]: Remove go-github-com-stretchr-testify.

Change-Id: I8c27024aa7178eafc4a4578cc6bd651cf47c9de2
2026-05-28 20:25:47 +01:00
Sharlatan Hellseher 1d3a137901 gnu: go-github-com-ipfs-go-ipfs-cmds: Update to 0.16.1.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-cmds): Update to 0.16.1.
[propagated-inputs]: Remove go-github-com-ipfs-go-log; add go-github-com-ipfs-go-log-v2.

Change-Id: I90312ec4f318169d22e21b7b5a5b2577267bcd2a
2026-05-28 20:25:47 +01:00
Sharlatan Hellseher 337775e5e1 gnu: go-github-com-libp2p-go-libp2p-kad-dht: Update to 0.39.1.
* gnu/packages/ipfs.scm (go-github-com-libp2p-go-libp2p-kad-dht): Update to 0.39.1.
[source] <snippet>: Remove no longer required module path substitution.
[hases]{pre-check}: New phase.
[propagated-inputs]: Remove go-github-com-probe-lab-go-libdht; add
go-github-com-ipfs-go-libdht.

Change-Id: Ic0a49b684196864b2a541ea2905f33425d7b47b0
2026-05-28 20:25:47 +01:00
Sharlatan Hellseher fe2ec434a1 gnu: go-github-com-ipfs-boxo: Update to 0.39.0.
* gnu/packages/ipfs.scm (go-github-com-ipfs-boxo): Update to 0.39.0.
[source] <snippet>: Removed no longer provided directory from deletion
modules list.
[phases]{pre-check}: New phase.
[propagated-inputs]: Remove go-go-opentelemetry-io-otel-exporters-otlp-otlptrace and
go-go-opentelemetry-io-otel-exporters-zipkin.

Change-Id: I410ce230895a7f76c2130f71ebae9b19a71233b9
2026-05-28 20:25:47 +01:00
Sharlatan Hellseher d1eb74c702 gnu: go-github-com-hanwen-go-fuse-v2: Update to 2.10.1.
* gnu/packages/golang-xyz.scm (go-github-com-hanwen-go-fuse-v2): Update to 2.10.1.

Change-Id: I763b8401e6b324395bd768f42d670642655d0bd5
2026-05-28 20:25:47 +01:00
Sharlatan Hellseher 2d296a3e96 gnu: go-github-com-ipfs-bbloom: Update to 0.1.0.
* gnu/packages/ipfs.scm (go-github-com-ipfs-bbloom): Update to 0.1.0.
[description]: Mention that it's a fork.

Change-Id: I7e8cc72b1ad3eb58101504211a9acf4fb0d513c4
2026-05-28 20:25:46 +01:00
Nicolas Graves 218987f84d gnu: oauth2l: Disable additional failing tests.
* gnu/packages/authentication.scm (oauth2l)[arguments]
<#:test-flags>: Disable additional failing tests.

Merges: guix/guix!8353
Change-Id: Iff8cdb43fba1c2e2ebe3622debe77185f5b64a7d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 20:25:46 +01:00
Sharlatan Hellseher 578f7e8b9e gnu: go-github-com-go-viper-mapstructure-v2: Update to 2.5.0.
* gnu/packages/golang-xyz.scm (go-github-com-go-viper-mapstructure-v2): Update to 2.5.0.
[description]: Mention that it is a fork.

Change-Id: I189b758991551dd257eacb2144aa84e54139e19c
2026-05-28 20:25:46 +01:00
Sharlatan Hellseher d214dae1e4 gnu: Add go-znkr-io-diff.
* gnu/packages/golang-check.scm (go-znkr-io-diff): New variable.

Change-Id: I81c92eb107780d8e4c8eafbb20fa1007fde45c9c
2026-05-28 20:25:46 +01:00
Sharlatan Hellseher ada0903841 gnu: Add go-github-com-google-go-github-v61.
* gnu/packages/golang-web.scm (go-github-com-google-go-github-v61): New variable.

Change-Id: I229d1f9c05c12df52ce8a71534fa1ee17481c567
2026-05-28 20:25:46 +01:00
Sharlatan Hellseher 588d876e3d gnu: go-github-com-google-go-github-v36: Fix tests.
* gnu/packages/golang-web.scm (go-github-com-google-go-github-v36):
[source]: Inherit from go-github-com-google-go-github-v31.
[native-inputs]: Add go-github-com-google-go-cmp.

Change-Id: I79b9e16e284371ea3e0f5848b145b72220eecc57
2026-05-28 20:25:46 +01:00
Sharlatan Hellseher 57b175eed3 gnu: go-github-com-modelcontextprotocol-go-sdk: Update to 1.6.0.
* gnu/packages/golang-xyz.scm (go-github-com-modelcontextprotocol-go-sdk): Update to 1.6.0.
[arguments] <test-flags>: Skip one test.
[phases]{pre-check}: New hase.

Change-Id: I44c1aa91d6778ee32305aa5f07d722749692d4c2
2026-05-28 20:25:46 +01:00
Sharlatan Hellseher 5aa93b4360 gnu: go-github-com-segmentio-encoding: Update to 0.5.4.
* gnu/packages/golang-xyz.scm (go-github-com-segmentio-encoding): Update to 0.5.4.
[source] <snippet>: Keep "proto/feixtures" sources, they provide proto
files requiring for tests.
[arguments] <test-flags>: Run all tests.
[phases]{go-generate}: New phase.
[native-inputs]: Add go-github-com-golang-protobuf and
go-google-golang-org-protobuf.

Change-Id: I25209a708ea56a2b6fe4abf98ac4c1774c464dcb
2026-05-28 20:25:45 +01:00
Sharlatan Hellseher 33f8e862d3 gnu: go-github-com-google-jsonschema-go: Update to 0.4.3.
* gnu/packages/golang-xyz.scm (go-github-com-google-jsonschema-go): Update to 0.4.3.

Change-Id: I198a2bbbbce68f247fe21d8f5e33006ef574c39a
2026-05-28 20:25:45 +01:00
Sharlatan Hellseher 13fd26d1a5 gnu: go-golang-org-x-oauth2: Update to 0.36.0.
* gnu/packages/golang-web.scm (go-golang-org-x-oauth2): Update to 0.36.0.
[propagated-inputs]: Remove go-github-com-google-go-cmp.

Change-Id: Ic6081ec798b1a2af4ad92af98ad2fba71358c28b
2026-05-28 20:25:45 +01:00
Sharlatan Hellseher 309dee0897 gnu: go-github-com-golang-jwt-jwt-v5: Update to 5.3.1.
* gnu/packages/golang-crypto.scm (go-github-com-golang-jwt-jwt-v5): Update to 5.3.1.

Change-Id: I96fbed07329c44fb6040f1942e7c6e8e38aae44a
2026-05-28 20:25:45 +01:00
Sharlatan Hellseher 0543192721 gnu: go-github-com-bep-golibsass: Update to 1.2.0.
* gnu/packages/golang-web.scm (go-github-com-bep-golibsass): Update to 1.2.0.

Change-Id: I82d56550d71390588cc93ee250042ce6df9b1dcb
2026-05-28 20:25:45 +01:00
Sharlatan Hellseher b6cef2f9e2 gnu: go-github-com-bep-golibsass: Refresh package style.
* gnu/packages/golang-web.scm (go-github-com-bep-golibsass): Use
G-Expressions and remvoe traling #t from lambdas.
[arguments] <skip-build>: Use it to reflect import path as seen in
go.mod.
[native-inputs]: libsass. Drop labels.

Change-Id: Ifd9171cfcc086ec16285345f14ea0a502922c76a
2026-05-28 20:25:45 +01:00
Sharlatan Hellseher 7dc30f9556 gnu: go-github-com-apparentlymart-go-textseg-autoversion: Update to 1.6.0.
* gnu/packages/golang-xyz.scm (go-github-com-apparentlymart-go-textseg-autoversion): Update to 1.6.0.

Change-Id: I723983ba910147155085a40db22f91181cd5cfdc
2026-05-28 20:25:45 +01:00
Sharlatan Hellseher 8e2c7d54d3 gnu: go-github-com-dvsekhvalnov-jose2go: Update to 1.8.0.
* gnu/packages/golang-crypto.scm (go-github-com-dvsekhvalnov-jose2go): Update to 1.8.0.
Refresh style.

Change-Id: Iac4d6f2ae83714c1389063c389a285c1b4f44991
2026-05-28 20:25:44 +01:00
Sharlatan Hellseher 2036d32f53 gnu: go-github-com-nats-io-nats-go: Update to 1.51.0.
* gnu/packages/golang-xyz.scm (go-github-com-nats-io-nats-go): Update to 1.51.0.

Change-Id: I9c830fc19d18699745fcdb94abf9e561f8f53ae8
2026-05-28 20:25:44 +01:00
Sharlatan Hellseher 55f580ac48 gnu: go-github-com-nats-io-nkeys: Update to 0.4.15.
* gnu/packages/golang-crypto.scm (go-github-com-nats-io-nkeys): Update to 0.4.15.

Change-Id: I386e77bdc6dde814e97737d0d888f32e92938e32
2026-05-28 20:25:44 +01:00
Sharlatan Hellseher 4690d103bc gnu: go-github-com-nats-io-jwt-v2: Update to 2.8.1.
* gnu/packages/golang-crypto.scm (go-github-com-nats-io-jwt-v2): Update to 2.8.1.

Change-Id: Ia6a8af0e53bfb3dccc67f63c3c9161b30693f712
2026-05-28 20:25:44 +01:00
Sharlatan Hellseher 8837445b72 gnu: go-github-com-minio-highwayhash: Update to 1.0.4.
* gnu/packages/golang-crypto.scm (go-github-com-minio-highwayhash): Update to 1.0.4.

Change-Id: I9a631905dade990b36f099971e082a13bf74acb0
2026-05-28 20:25:44 +01:00
Sharlatan Hellseher ee03ffaf22 gnu: Add go-github-com-labstack-echo-v5.
* gnu/packages/golang-web.scm (go-github-com-labstack-echo-v5): New variable.

Change-Id: I4b862b2e654703c6e95c3ba362f8e89f52c46d1f
2026-05-28 20:25:44 +01:00
Sharlatan Hellseher 4115a1eae0 gnu: go-github-com-labstack-echo-v4: Update to 4.15.2.
* gnu/packages/golang-web.scm (go-github-com-labstack-echo-v4): Update to 4.15.2.

Change-Id: I7012c622aac12c66a6b88e619b9aa6881fce7e2e
2026-05-28 20:25:44 +01:00
Sharlatan Hellseher df6d8094ad gnu: go-github-com-jellydator-ttlcache-v3: Build with go-1.24.
* gnu/packages/golang-web.scm (go-github-com-jellydator-ttlcache-v3):
[arguments] <go>: Use go-1.24.

Change-Id: I810631139cf1dfa5d423d15becc056c5a1051fd4
2026-05-28 20:25:44 +01:00
Sharlatan Hellseher 454e03bab6 gnu: go-github-com-quic-go-quic-go: Build with go-1.24.
* gnu/packages/golang-web.scm (go-github-com-quic-go-quic-go):
[arguments] <go>: Use go-1.24.

Change-Id: I65cddfd565b0e8e668ae6ccc0728e731e969cf71
2026-05-28 20:25:43 +01:00
Sharlatan Hellseher e330acae27 gnu: go-github-com-prometheus-client-golang: Build with go-1.24.
v1.23.2 (2025-09-5) it is the latest release which does not support
go-1.25/go-1.26 yet.
See: <https://github.com/prometheus/client_golang/issues/1875>.

* gnu/packages/prometheus.scm (go-github-com-prometheus-client-golang):
[arguments] <go>: Use go-1.24.

Change-Id: I4b0475e8aad5e5dc8ed5bf90b7fac241b562f019
2026-05-28 20:25:43 +01:00
Sharlatan Hellseher f647ac7798 gnu: go-github-com-danielgtaylor-huma-v2: Update to 2.37.3.
* gnu/packages/golang-web.scm (go-github-com-danielgtaylor-huma-v2): Update to 2.37.3.
[propagated-inputs]: Remove go-github-com-spf13-cobra and go-github-com-spf13-pflag.
[native-inputs]: Add go-github-com-spf13-cobra and go-github-com-spf13-pflag.

Change-Id: Ifc9da78811b3abdc0e225c0d7e1ba48dbc7755eb
2026-05-28 20:25:43 +01:00
Sharlatan Hellseher 411d35f282 gnu: go-github-com-fasthttp-router: Skip 4 tests.
* gnu/packages/golang-web.scm (go-github-com-fasthttp-router):
[arguments] <test-flags>: Skip 4 tests.

Change-Id: I0dca703e93b1bceec2d64160951449c405c50724
2026-05-28 20:25:43 +01:00
Sharlatan Hellseher 9341c51c78 gnu: go-github-com-gammazero-chanqueue: Fix tests.
* gnu/packages/golang-xyz.scm (go-github-com-gammazero-chanqueue):
[phases]{pre-check}: New phase.

Change-Id: Ie6c96c955bb5716f3bd16d47893758686e34accf
2026-05-28 20:25:43 +01:00
Sharlatan Hellseher 3d85155369 gnu: go-github-com-bytedance-sonic: Update to 1.15.1.
* gnu/packages/golang-xyz.scm (go-github-com-bytedance-sonic): Update to 1.15.1.
[propagated-inputs]: Add go-github-com-bytedance-gopkg.

Change-Id: If1dd5eee014d2c00d026998fcc5dc5ab51bbf12b
2026-05-28 20:25:43 +01:00
Sharlatan Hellseher e50162980b gnu: go-github-com-bytedance-sonic-loader: Update to 0.5.1.
* gnu/packages/golang-xyz.scm (go-github-com-bytedance-sonic-loader): Update to 0.5.1.
[propagated-inputs]: Remove go-github-com-cloudwego-iasm.
[native-inputs]: Add go-github-com-davecgh-go-spew.

Change-Id: Ia76bf21c0b0d53ec402f185b62f03ad2773f51fd
2026-05-28 20:25:43 +01:00
Sharlatan Hellseher 06f927bbdf gnu: Add go-github-com-bytedance-gopkg.
* gnu/packages/golang-xyz.scm (go-github-com-bytedance-gopkg): New variable.

Change-Id: I7e599ccfb92938a220c9aaa8aba14c6d9f072f5c
2026-05-28 20:25:42 +01:00
Sharlatan Hellseher 2fc8c55ddd gnu: Add go-github-com-gofiber-fiber-v3.
* gnu/packages/golang-web.scm (go-github-com-gofiber-fiber-v3): New variable.

Change-Id: I5ff05882882fe11fead986af03ab5b667618ceeb
2026-05-28 20:25:42 +01:00
Sharlatan Hellseher 4bb98c7320 gnu: go-github-com-valyala-fasthttp: Update to 1.70.0.
* gnu/packages/golang-web.scm (go-github-com-valyala-fasthttp): Update to 1.70.0.
[arguments] <test-flags>: Skip only one tests which tries to reach
Internet. Shuffle tests, as seen in projects CI.
[propagated-inputs]: Remove go-github-com-valyala-tcplisten and
go-golang-org-x-text.
[description]: Add more info.

Change-Id: I8363639b0ac211536ed67f5c32080737bc20fe5f
2026-05-28 20:25:42 +01:00
Sharlatan Hellseher d5bc81874f gnu: go-github-com-tinylib-msgp: Update to 1.6.4.
* gnu/packages/golang-xyz.scm (go-github-com-tinylib-msgp): Update to 1.6.4.
[arguments] <skip-build?>: Use the argument instead of deleting phase.
<tests?, test-flags>: Run the most of the tests, skip only some portion
requiring tinygo compiler.
[phases]{go-generate, remove-test-file}: New phases.

Change-Id: Ib10f2492799259b2b3591269390fabd890e9295b
2026-05-28 20:25:42 +01:00
Sharlatan Hellseher 74168c9cff gnu: go-github-com-philhofer-fwd: Update to 1.2.0.
* gnu/packages/golang-xyz.scm (go-github-com-philhofer-fwd): Update to 1.2.0.

Change-Id: If68251dbd12d56ea3c57cc9c711ed0f394cc9ec4
2026-05-28 20:25:42 +01:00
Sharlatan Hellseher e03396f60e gnu: Add go-github-com-gofiber-schema.
* gnu/packages/golang-xyz.scm (go-github-com-gofiber-schema): New variable.

Change-Id: I54d46cee7218f7cd278b71a2c27f9f74347053ef
2026-05-28 20:25:42 +01:00
Sharlatan Hellseher a65c765fd9 gnu: Add go-github-com-gofiber-utils-v2.
* gnu/packages/golang-xyz.scm (go-github-com-gofiber-utils-v2): New variable.

Change-Id: I03017b88439466a5d04b50432192b1a7a44429f0
2026-05-28 20:25:42 +01:00
Sharlatan Hellseher a2893b98d1 gnu: Add go-github-com-shamaton-msgpack-v3.
* gnu/packages/golang-xyz.scm (go-github-com-shamaton-msgpack-v3): New variable.

Change-Id: I33725fd4bad87cd74cdd32c1b1728c09e9bef82c
2026-05-28 20:25:41 +01:00
Sharlatan Hellseher c11a72d862 gnu: go-github-com-gofiber-fiber-v2: Update to 2.52.13.
* gnu/packages/golang-web.scm (go-github-com-gofiber-fiber-v2): Update to 2.52.13.
[arguments] <test-flags>: Rework skipped tests.
[phases]{go-generate}: New phase.

Change-Id: I52bf69ac644b4827fb552bd1f0d2ccf0b31bee76
2026-05-28 20:25:41 +01:00
Sharlatan Hellseher ad01f31191 gnu: go-go-yaml-in-yaml-v4: Update to 4.0.0-rc.4.
* gnu/packages/golang-xyz.scm (go-go-yaml-in-yaml-v4): Update to 4.0.0-rc.4.

Change-Id: Ib921900015947a9543cdf18ae6bd6ea715ff8f35
2026-05-28 20:25:41 +01:00
Sharlatan Hellseher 8ce0ba0be0 gnu: go-github-com-syncthing-notify: Adjust description.
* gnu/packages/golang-xyz.scm (go-github-com-syncthing-notify):
[description]: Mention that it's a fork.

Change-Id: I5bafbe9a0c029037b5597f9a24e0bae18f8bb4bb
2026-05-28 20:25:41 +01:00
Sharlatan Hellseher f11fea76ca gnu: go-github-com-petermattis-goid: Update to 0.0.0-4.df67b19.
* gnu/packages/golang-check.scm (go-github-com-petermattis-goid): Update
to df67b199bc81d151c71a864c3eb1ea12bf66c852 commit.

Change-Id: Ic25359cb2299afe5233ccfd370a4699e5ceb069c
2026-05-28 20:25:41 +01:00
Sharlatan Hellseher 13cde74464 gnu: go-github-com-maxatome-go-testdeep: Update to 1.15.0.
* gnu/packages/golang-check.scm (go-github-com-maxatome-go-testdeep): Update to 1.15.0.
[propagated-inputs]: Remove go-github-com-davecgh-go-spew.

Change-Id: I491ef275309696857a2699e2c4d7d47b1bc14076
2026-05-28 20:25:41 +01:00
Sharlatan Hellseher 8de29e1382 gnu: go-github-com-go-logr-logr: Update to 1.4.3.
* gnu/packages/golang-xyz.scm (go-github-com-go-logr-logr): Update to 1.4.3.

Change-Id: I0d0423bb6105ea7a87908e451ae609d31f921068
2026-05-28 20:25:41 +01:00
Sharlatan Hellseher eec4b9273a gnu: go-github-com-mattn-go-isatty: Update to 0.0.22.
* gnu/packages/golang-xyz.scm (go-github-com-mattn-go-isatty): Update to 0.0.22.

Change-Id: I20f69475dbb231ea4ab43f95921c7860791b5077
2026-05-28 20:25:40 +01:00
Sharlatan Hellseher 58afe3f767 gnu: go-golang-org-x-tools: Update to 0.44.0.
* gnu/packages/golang-build.scm (go-golang-org-x-tools): Update to 0.44.0.
[source] <snippet>: Remove deletion of no longer existing "cmd/auth"
dirrectory.
[arguments] <test-flags>: Skip one more test.

Change-Id: I01ea6b724a7b629b36e2ffb88414c1080382dde6
2026-05-28 20:25:40 +01:00
Sharlatan Hellseher cd8b6af033 gnu: go-golang-org-x-telemetry: Update to 0.0.0-20260428171046-76f71b9afea0.
* gnu/packages/golang-build.scm
(go-golang-org-x-telemetry): Update to 0.0.0-20260428171046-76f71b9afea0.
[synopsis, description]: Improve wording.

Change-Id: Id7d8d28bb7b2931607276c57bf4f1a727bba5e44
2026-05-28 20:25:40 +01:00
Sharlatan Hellseher 9cac950a1a gnu: go-github-com-yuin-goldmark: Update to 1.8.2.
* gnu/packages/golang-build.scm (go-github-com-yuin-goldmark): Update to 1.8.2.

Change-Id: I12b799641633910216bc7106d8c04e1b50a03b1e
2026-05-28 20:25:40 +01:00
Sharlatan Hellseher e096d3b8cf gnu: go-golang-org-x-mod: Update to 0.35.0.
* gnu/packages/golang-build.scm (go-golang-org-x-mod): Update to 0.35.0.

Change-Id: Ie173931034c114c4455e1bcc8424929a59ceb8b0
2026-05-28 20:25:40 +01:00
Sharlatan Hellseher a5d7a1b9c9 gnu: go-golang-org-x-sync: Update to 0.20.0.
* gnu/packages/golang-build.scm (go-golang-org-x-sync): Update to 0.20.0.

Change-Id: I0d61ceb02a18cdb00a22cc70da72a775842809ca
2026-05-28 20:25:40 +01:00
Sharlatan Hellseher 64e460d456 gnu: go-golang-org-x-net: Update to 0.53.0.
* gnu/packages/golang-build.scm (go-golang-org-x-net): Update to 0.53.0.
[phases]{pre-check}: New phase.

Change-Id: Ib01615d7e30c4b9d4adc95a93983896165e0d456
2026-05-28 20:25:40 +01:00
Sharlatan Hellseher 5ce8bcd2fd gnu: go-golang-org-x-crypto: Update to 0.50.0.
* gnu/packages/golang-build.scm (go-golang-org-x-crypto): Update to 0.50.0.

Change-Id: I9304a30f96aa3b2a6e158b59aaec8146cd637946
2026-05-28 20:25:40 +01:00
Sharlatan Hellseher 99ff516d3e gnu: go-golang-org-x-text: Update to 0.36.0.
* gnu/packages/golang-build.scm (go-golang-org-x-text): Update to 0.36.0.

Change-Id: I12b8bcf0a4d87da34de0f46f65b52ee642c87904
2026-05-28 20:25:39 +01:00
Sharlatan Hellseher d80f8d2f0d gnu: go-golang-org-x-term: Update to 0.42.0.
* gnu/packages/golang-build.scm (go-golang-org-x-term): Update to 0.42.0.

Change-Id: Icafff8cdd636663ae0cf73b3b21b288ea8abfc7d
2026-05-28 20:25:39 +01:00
Sharlatan Hellseher 61595ca23d gnu: go-golang-org-x-sys: Update to 0.43.0.
* gnu/packages/golang-build.scm (go-golang-org-x-sys): Update to 0.43.0.

Change-Id: Ibcbb00aaf2adb72e39fb10ac4563c331c0a9a869
2026-05-28 20:25:39 +01:00
Sharlatan Hellseher b2bbafa33f gnu: Remove go-golang-org-x-sys-bootstrap.
Leaf, hidden and not in use bootstrap variant.

* gnu/packages/golang-build.scm (go-golang-org-x-sys-bootstrap): Delete variable.

Change-Id: Ic6291f098ec382bd1c6f87e882028817ff835356
2026-05-28 20:25:39 +01:00
Sharlatan Hellseher 89ef51dfec gnu: Remove #:go arguments using go-1.25.
We are now building with go-1.25 by default.

Automated via:

  git grep -rl '#:go go-1.25' | xargs sed -i '/.*#:go go-1.25.*/d'.

Change-Id: I5a503a6db10fc65cb22abd89563dfb6297db6ac6
2026-05-28 20:25:39 +01:00
Sharlatan Hellseher edd57996aa gnu: packages/golang: Add comment about boostrap versions.
* gnu/packages/golang.scm: Copy upstream explanation on the minimal
bootstrap version for Go.

Change-Id: Ic51e9316bdd5573c1a158b320343ae72a07eeebe
2026-05-28 20:25:39 +01:00
Sharlatan Hellseher d7d3e10c63 gnu: go: Update to 1.25 for building packages.
* gnu/packages/golang.scm (go): Update to 1.25.

Change-Id: I0f0adb0c0920e8f058883fffd0fd96588e1f9901
2026-05-28 20:25:37 +01:00
20 changed files with 1490 additions and 432 deletions
+2
View File
@@ -152,8 +152,10 @@ PSKC (RFC6030) to manage secret key data.")
(list "Test2LOFlow/curl._2lo"
"Test3LOFlow/curl._3lo"
"Test3LOFlow/fetch._3lo_cached"
"Test3LOFlow/fetch._3lo_insert_expired_token_into_cache"
"Test3LOLoopbackFlow/curl._3lo_loopback"
"Test3LOLoopbackFlow/fetch._3lo_loopback_cached"
"Test3LOLoopbackFlow/fetch._3lo_loopback_insert_expired_token_into_cache"
"TestCLI/info._invalid_token"
"TestSSOFlow/fetch._sso"
"TestSSOFlow/fetch._sso._old_interface"
-1
View File
@@ -910,7 +910,6 @@ is like a time machine for your data.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:install-source? #f
#:import-path "github.com/restic/restic/cmd/restic"
#:unpack-path "github.com/restic/restic"
-1
View File
@@ -216,7 +216,6 @@ projects.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:embed-files #~(list ".*\\.json")
#:import-path "github.com/moby/policy-helpers"))
(native-inputs
+48 -46
View File
@@ -640,7 +640,7 @@ library.")
(define-public go-github-com-yuin-goldmark
(package
(name "go-github-com-yuin-goldmark")
(version "1.7.16")
(version "1.8.2")
(source
(origin
(method git-fetch)
@@ -649,7 +649,7 @@ library.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1zgphfblr7340klbk97r2yhy19piw1ksfxkg15qxkrqql0r9daw5"))))
(base32 "0f7i14jpq3shm7zfdkhzsf8gkb87b7x1flpi5kn8y9z93qfkfiwf"))))
(build-system go-build-system)
(arguments
(list
@@ -732,7 +732,7 @@ toolchain. The parts needed in the main Go repository are copied in.")
(define-public go-golang-org-x-crypto
(package
(name "go-golang-org-x-crypto")
(version "0.48.0")
(version "0.50.0")
(source
(origin
(method git-fetch)
@@ -741,7 +741,7 @@ toolchain. The parts needed in the main Go repository are copied in.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ml7qabakjv3lcsv2pkc0h3092547z30pn8qwdiy7vf7hrssqa6g"))
(base32 "1rk47vw7sirdakvl0z1ffgrsd1xm285i3wv6xbm47b8irvailxxf"))
(modules '((guix build utils)))
(snippet
#~(begin
@@ -996,12 +996,20 @@ compile does not support generics.")
#:skip-build? #t
#:test-flags
#~(list "-skip" (string-join
;; Permission denied to read or write go.mod file.
(list "TestDocs/Modules"
"TestGobind/Modules"
;; build_test.go:100: cannot set -o when building
;; non-main package
"TestAndroidBuild")
(append
;; Permission denied to read or write go.mod file.
(list "TestDocs/Modules"
"TestGobind/Modules"
;; build_test.go:100: cannot set -o when
;; building non-main package
"TestAndroidBuild")
;; archNDK() in cmd/gomobile/env.go only maps
;; GOARCH 386 and amd64 (plus arm64 on darwin)
;; and panics otherwise, so TestInit crashes
;; with "unsupported GOARCH" on non-x86 Linux.
(if #$(target-x86?)
'()
(list "TestInit")))
"|"))
#:import-path "golang.org/x/mobile"
#:phases
@@ -1027,7 +1035,7 @@ compile does not support generics.")
(define-public go-golang-org-x-mod
(package
(name "go-golang-org-x-mod")
(version "0.33.0")
(version "0.35.0")
(source
(origin
(method git-fetch)
@@ -1036,7 +1044,7 @@ compile does not support generics.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0g1g82lzcrn11b33aw1gs8k3whf7l76kgzxr49126shbyq6dxaws"))))
(base32 "1hicla74zspl15xdm6a9rkpsv0vx6bpyav6mspfmqfmkx8fl29n6"))))
(build-system go-build-system)
(arguments
(list
@@ -1074,7 +1082,7 @@ loading algorithms.")
(define-public go-golang-org-x-net
(package
(name "go-golang-org-x-net")
(version "0.50.0")
(version "0.53.0")
(source
(origin
(method git-fetch)
@@ -1083,7 +1091,7 @@ loading algorithms.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0azrbdpydjdjg63rj51blwjlqaplwbd5yi9dy4fyxd38wm36yyq3"))))
(base32 "0rdyfdlaifmi0vz5phn98fhzllk2zsjk9gcdax4ajzwsdhp0mn0v"))))
(build-system go-build-system)
(arguments
(list
@@ -1098,7 +1106,14 @@ loading algorithms.")
;; test fails with error: ThreadSanitizer:
;; unsupported VMA range.
#$@(if (target-arm?) '("TestRace") '()))
"|"))))
"|"))
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
;; See: <https://go.dev/blog/synctest>.
(setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(propagated-inputs
(list go-golang-org-x-crypto
go-golang-org-x-sys
@@ -1124,7 +1139,7 @@ loading algorithms.")
(define-public go-golang-org-x-sync
(package
(name "go-golang-org-x-sync")
(version "0.19.0")
(version "0.20.0")
(source
(origin
(method git-fetch)
@@ -1133,7 +1148,7 @@ loading algorithms.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ykjzxskvy1jbvyp2svd766jiyv3m0rqg89ifg7flllrqbx5kd25"))))
(base32 "0inbjipc9a1ai7r1ar4hqgq1d2js5w2v6cnda3l5msna4y227dy9"))))
(build-system go-build-system)
(arguments
(list
@@ -1168,7 +1183,7 @@ cancellation for groups of goroutines working on subtasks of a common task
(define-public go-golang-org-x-sys
(package
(name "go-golang-org-x-sys")
(version "0.40.0")
(version "0.43.0")
(source
(origin
(method git-fetch)
@@ -1177,7 +1192,7 @@ cancellation for groups of goroutines working on subtasks of a common task
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1rygxjhh29hjzr6jni6kxaib1c9d6mp2wvjngfzdpxxmm9rk9r3d"))))
(base32 "18by7v7gvbanxkqjdadisgc7hgsn580yy5zj42wgiv642qd2r11g"))))
(build-system go-build-system)
(arguments
(list
@@ -1199,17 +1214,6 @@ cancellation for groups of goroutines working on subtasks of a common task
low-level interaction with the operating system.")
(license license:bsd-3)))
(define-public go-golang-org-x-sys-bootstrap
(hidden-package
(package
(inherit go-golang-org-x-sys)
(arguments
(list #:skip-build? #t
#:tests? #f
#:import-path "golang.org/x/sys"))
(native-inputs '())
(propagated-inputs '()))))
;; This is the only one dependency for esbuild, which is the main tool to
;; produce all Node packages, keep it away from other golang.
(define-public go-golang-org-x-sys-for-esbuild
@@ -1233,7 +1237,7 @@ low-level interaction with the operating system.")
(name "go-golang-org-x-telemetry")
;; Beware: the updater gets this wrong. Use the latest commit and its
;; matching date.
(version "0.0.0-20260209163413-e7419c687ee4")
(version "0.0.0-20260428171046-76f71b9afea0")
(source
(origin
(method git-fetch)
@@ -1242,7 +1246,7 @@ low-level interaction with the operating system.")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "1wr4b40lwzpac2n9ipz5lmq6p973g5mr2im38dy3816lbg84rp38"))
(base32 "13z9sgs9lsaj2shv5hbv7i63pjjcw68r1vw7j5jkkqwcz5kkdwkp"))
(modules '((guix build utils)))
(snippet
#~(begin
@@ -1285,10 +1289,10 @@ low-level interaction with the operating system.")
go-golang-org-x-sync
go-golang-org-x-sys))
(home-page "https://go.googlesource.com/telemetry")
(synopsis "Go Telemetry")
(synopsis "Go Telemetry library")
(description
"This repository holds the Go Telemetry server code and libraries, used
for hosting @url{https://telemetry.go.dev,telemetry.go.dev} and instrumenting
"This package provides the Go Telemetry server code and libraries, used
for hosting @url{https://telemetry.go.dev, telemetry.go.dev} and instrumenting
Go toolchain programs with opt-in telemetry.")
(license license:bsd-3)))
@@ -1325,7 +1329,7 @@ telemetry uploads: GOOS, GOARCH, Go version, and per-program counters.")
(define-public go-golang-org-x-term
(package
(name "go-golang-org-x-term")
(version "0.40.0")
(version "0.42.0")
(source
(origin
(method git-fetch)
@@ -1334,7 +1338,7 @@ telemetry uploads: GOOS, GOARCH, Go version, and per-program counters.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1x6m4cxk8h88gacxjc6vsaj585zwc8dzpgxwgbq6fwg6l1519vxn"))))
(base32 "0ms3xm3m17ba2y7vk1mhyqjgzf15qn00v8hb340xivga0yy86a0l"))))
(build-system go-build-system)
(arguments
(list
@@ -1361,7 +1365,7 @@ terminals, as commonly found on Unix systems.")
(define-public go-golang-org-x-text
(package
(name "go-golang-org-x-text")
(version "0.34.0")
(version "0.36.0")
(source
(origin
(method git-fetch)
@@ -1370,7 +1374,7 @@ terminals, as commonly found on Unix systems.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "10qhscx7zdack9b5ynjiiyk2pl2c5jfamvwgjfhpnnhxgp6jr8rc"))))
(base32 "1hhkamc8450y1jmrhw59v1v6l8icihmjdzbnrqpg947z3dlbk3nd"))))
(build-system go-build-system)
(arguments
(list
@@ -1435,7 +1439,7 @@ time.")
(define-public go-golang-org-x-tools
(package
(name "go-golang-org-x-tools")
(version "0.42.0")
(version "0.44.0")
(source
(origin
(method git-fetch)
@@ -1444,16 +1448,14 @@ time.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0206hl6v7gy7cxwamjapa1zr2n3clj0vaqwyy6izcw18faga466i"))
(base32 "0inivp0ih1ykl184d4sbshyb1crayj9iayl012ms1b2x0rjg5l0p"))
(modules '((guix build utils)))
(snippet
'(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - golang.org/x/tools/cmd/auth
;; - golang.org/x/tools/gopls
(delete-file-recursively "gopls")
(delete-file-recursively "cmd/auth")))))
(delete-file-recursively "gopls")))))
(build-system go-build-system)
(arguments
(list
@@ -1484,8 +1486,8 @@ time.")
(list
;; The GenericPaths test fails with "invalid memory
;; address or nil pointer dereference".
"TestGenericPaths"
;; The ordering and paths tests fails because they
"TestGenericPaths" "TestIssue70418"
;; The ordering and paths tests fail because they
;; can't find test packages (perhaps because we do not
;; support Go modules).
"TestOrdering" "TestPaths"
+45 -14
View File
@@ -2504,24 +2504,20 @@ can be used in test code as a mock of the interface.")
(define-public go-github-com-maxatome-go-testdeep
(package
(name "go-github-com-maxatome-go-testdeep")
(version "1.14.0")
(version "1.15.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/maxatome/go-testdeep")
(commit (string-append "v" version))))
(url "https://github.com/maxatome/go-testdeep")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0r9w79qm6j080gbqhrd5gwjzsnkmrcihy4yniw77g0wkspxxdjww"))))
(base32 "14i64h4kd9b2adhvxn7r2jhp0ci6vla7y7n76yg49wm61ddbw9df"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/maxatome/go-testdeep"
;; Structure comparison not equal.
#:test-flags #~(list "-skip" "TestFatalTrace")))
(propagated-inputs
(list go-github-com-davecgh-go-spew))
#:import-path "github.com/maxatome/go-testdeep"))
(home-page "https://github.com/maxatome/go-testdeep")
(synopsis "Extended HTTP API testing framework")
(description
@@ -2904,8 +2900,8 @@ testing type to omit repeated @code{t}.")
(license license:expat)))
(define-public go-github-com-petermattis-goid
(let ((commit "395b08cebbdbaf68f44f53a2d6e9f8d064180a0b")
(revision "3"))
(let ((commit "df67b199bc81d151c71a864c3eb1ea12bf66c852")
(revision "4"))
(package
(name "go-github-com-petermattis-goid")
(version (git-version "0.0.0" revision commit))
@@ -2913,11 +2909,11 @@ testing type to omit repeated @code{t}.")
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/petermattis/goid")
(commit commit)))
(url "https://github.com/petermattis/goid")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0c8fc1v29wjv9r1l2dhkr9bxc7hysahr30bnxwnc854jckxiqi46"))))
(base32 "0lyr3h8cyk53xbg4asssk53zdfch3ympkk5m753zf1ggf4v3684f"))))
(build-system go-build-system)
(arguments
(list
@@ -4414,6 +4410,41 @@ thoroughly
"Package randfill is a library for populating go objects with random values.")
(license license:asl2.0)))
(define-public go-znkr-io-diff
(package
(name "go-znkr-io-diff")
(version "1.0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/znkr/diff")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1s3slsr9d21zbcks9c7l3vli2pam2waww4bk63dy4qw9qsgaga90"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - znkr.io/diff/internal/benchmarks
(delete-file-recursively "internal/benchmarks")))))
(build-system go-build-system)
(arguments
(list
#:import-path "znkr.io/diff"))
(native-inputs
(list go-github-com-google-go-cmp))
(propagated-inputs
(list go-golang-org-x-tools))
(home-page "https://znkr.io/diff")
(synopsis "Difference algorithm module for Go")
(description
"Package diff provides functions to efficiently compare two slices
similar to the Unix diff command line tool to compare files.")
(license license:asl2.0)))
;;;
;;; Executables:
;;;
+37 -6
View File
@@ -43,6 +43,35 @@
;;;
;;; Code:
(define-public go-code-forgejo-org-forgejo-go-rpmutils
(package
(name "go-code-forgejo-org-forgejo-go-rpmutils")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://code.forgejo.org/forgejo/go-rpmutils.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1zgqr3il0w7j6964mh1nw5zg9shp1p039a8sj0y946r26labqm9i"))))
(build-system go-build-system)
(arguments
(list
#:import-path "code.forgejo.org/forgejo/go-rpmutils"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-protonmail-go-crypto))
(home-page "https://code.forgejo.org/forgejo/go-rpmutils")
(synopsis "Go RPM Utils")
(description
"go-rpmutils is a Golang library for parsing @url{http://www.rpm.org,
RPM} file archives. It's a slimmed version of
@url{https://github.com/sassoftware/go-rpmutils, go-rpmutils}.")
(license license:asl2.0)))
(define-public go-github-com-a1ex3-zstd-seekable-format-go-pkg
(let ((commit "eb2f95f46725437a64063e005a54e20c95b774c6")
(revision "0"))
@@ -132,22 +161,24 @@ implementation from lzokay project} (MIT licensed). It includes a
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/andybalholm/brotli")
(commit (string-append "v" version))))
(url "https://github.com/andybalholm/brotli")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1zdvcwfzxnkljyh4p7izy0bfxrwidwwmp1p5h1fydyrgbs4xacly"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/andybalholm/brotli"))
(list
#:import-path "github.com/andybalholm/brotli"))
(native-inputs
(list go-github-com-xyproto-randomstring))
(home-page "https://github.com/andybalholm/brotli")
(synopsis "Pure Go Brotli encoder and decoder")
(description
"This package is a brotli compressor and decompressor implemented in Go.
It was translated from the reference implementation
(@url{https://github.com/google/brotli,https://github.com/google/brotli}) with
the @code{c2go} tool at
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(@url{https://github.com/google/brotli}) with the @code{c2go} tool at
@url{https://github.com/andybalholm/c2go}.")
(license license:expat)))
(define-public go-github-com-blakesmith-ar
+67 -44
View File
@@ -211,24 +211,27 @@ crypto/internal/bigmod, the backend of crypto/rsa and crypto/ecdsa.")
(define-public go-filippo-io-edwards25519
(package
(name "go-filippo-io-edwards25519")
(version "1.1.0")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/FiloSottile/edwards25519")
(commit (string-append "v" version))))
(url "https://github.com/FiloSottile/edwards25519")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1b2c4iv13mfa0dydr8wawpnnrxgwl7mxzhryfrkjxrgwad8gas5k"))))
(base32 "0iz8sprg66v3dp7rgmpgfdr6h9mdfpnw1s2pyxyjgwbs3zd98q1k"))))
(build-system go-build-system)
(arguments
'(#:import-path "filippo.io/edwards25519"))
(list
;; Tests hang forewer on ARM64.
#:tests? (not (target-aarch64?))
#:import-path "filippo.io/edwards25519"))
(home-page "https://filippo.io/edwards25519")
(synopsis "Group logic for the twisted Edwards curve")
(description "This package implements the edwards25519 elliptic curve in
Go, exposing the necessary APIs to build a wide array of higher-level
primitives.")
(description
"This package implements the edwards25519 elliptic curve in Go, exposing
the necessary APIs to build a wide array of higher-level primitives.")
(license license:bsd-3)))
(define-public go-filippo-io-hpke
@@ -762,7 +765,7 @@ The package include Go source library and @code{redoctober} command.")
(define-public go-github-com-cloudwego-base64x
(package
(name "go-github-com-cloudwego-base64x")
(version "0.1.4")
(version "0.1.7")
(source
(origin
(method git-fetch)
@@ -771,11 +774,21 @@ The package include Go source library and @code{redoctober} command.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1lgs28mj5w350vp6pazz2265hx2kab3kbjw7vnk0w1skslxbj8kx"))))
(base32 "1f394m92xspc03sfwijbbn86ywm4q31aw86hd4d87ckrnbxp3mrc"))
(snippet
#~(begin (use-modules (guix build utils))
(delete-file-recursively "bench")))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/cloudwego/base64x"))
#:import-path "github.com/cloudwego/base64x"
;; 'base64x.go' references 'b64encode' and 'b64decode',
;; which are defined only in 'native_amd64.go' (restricted
;; to amd64 by its filename), so compilation fails on
;; non-x86-64.
#:skip-build? (not (target-x86-64?))
#:tests? (and (not (%current-target-system))
(target-x86-64?))))
(native-inputs
(list go-github-com-davecgh-go-spew
go-github-com-stretchr-testify))
@@ -1317,26 +1330,27 @@ crypto package.")
(define-public go-github-com-dvsekhvalnov-jose2go
(package
(name "go-github-com-dvsekhvalnov-jose2go")
(version "1.5.0")
(version "1.8.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dvsekhvalnov/jose2go")
(commit (string-append "v" version))))
(url "https://github.com/dvsekhvalnov/jose2go")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1pzfmv2dxb3m455bi1ks4q3i0dcw1sazxk8k96wrgpkwgglyxj3n"))))
(base32 "1i43sg8anga22vv2gd40y8nmns10xzmsb3nlvb1p7ikal7h6d9fh"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/dvsekhvalnov/jose2go"))
(native-inputs
(list go-gopkg-in-check-v1))
(arguments
'(#:import-path "github.com/dvsekhvalnov/jose2go"))
(home-page "https://github.com/dvsekhvalnov/jose2go")
(synopsis "Go implementation of Javascript Object Signing and Encryption spec")
(description "This package provides a Go library for generating, decoding,
and encrypting JSON Web Tokens (JWT). It relies only on the standard
library.")
(description
"This package provides a Go library for generating, decoding,and
encrypting JSON Web Tokens (JWT). It relies only on the standard library.")
(license license:expat)))
(define-public go-github-com-elithrar-simple-scrypt
@@ -1637,7 +1651,7 @@ RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.")
(package
(inherit go-github-com-golang-jwt-jwt-v4)
(name "go-github-com-golang-jwt-jwt-v5")
(version "5.2.1")
(version "5.3.1")
(source
(origin
(method git-fetch)
@@ -1646,7 +1660,7 @@ RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "13l2p4g9f7bpz0nf2sc4r5ms06ps7bs7z1vpzzv943q094pjs0yw"))))
(base32 "1h2r420031i405p1mn9z0g959fxx7lk9lgjx47vn4qdpgz62rc47"))))
(arguments
(list
#:import-path "github.com/golang-jwt/jwt/v5"))))
@@ -1654,28 +1668,35 @@ RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.")
(define-public go-github-com-google-go-tpm
(package
(name "go-github-com-google-go-tpm")
(version "0.9.4")
(version "0.9.8")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/go-tpm")
(commit (string-append "v" version))))
(url "https://github.com/google/go-tpm")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1sp1mbr6vz36zy9w36iksirbsj5p2jslsl8zs1cdj8s4ig4lkd9d"))))
(base32 "17210acrj3kd9k9l6grlgqzq1063981mscwwws3mjdzlm3r4bn9g"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/google/go-tpm"
#:phases
#~(modify-phases %standard-phases
;; XXX: Break cycle:
;; github.com/google/go-tpm/tpm2/transport/simulator/simulator.go ->
;; github.com/google/go-tpm-tools -> github.com/google/go-tpm.
;; Consider to add required inputs on dependent package.
(delete 'build)
(delete 'check))))
;; github.com/google/go-tpm-tools needs to be boostrapped.
#:test-subdirs
#~(list "legacy/tpm2"
"legacy/tpm2/credactivation"
"tpm"
"tpm2/transport/linuxtpm"
"tpm2/transport/linuxudstpm"
"tpm2/transport/tcp"
"tpmutil")))
(native-inputs
(list go-github-com-google-go-cmp))
(propagated-inputs
(list ;; go-github-com-google-go-tpm-tools
go-golang-org-x-sys))
(home-page "https://github.com/google/go-tpm")
(synopsis "Go-TPM Legacy TPM 2.0 library")
(description
@@ -2278,20 +2299,22 @@ package in Rust.")
(define-public go-github-com-minio-highwayhash
(package
(name "go-github-com-minio-highwayhash")
(version "1.0.3")
(version "1.0.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/minio/highwayhash")
(commit (string-append "v" version))))
(url "https://github.com/minio/highwayhash")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "14g2x266h8sxs0yynmcl2r2mnhx55rfzgykw4hygm7i1vpfrikg4"))))
(base32 "0ypa82c75ksgl7apmkyng6jl1j8y27q6mhgaa3hslqkbz2nn4vhr"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/minio/highwayhash"))
(propagated-inputs (list go-golang-org-x-sys))
(list
#:import-path "github.com/minio/highwayhash"))
(propagated-inputs
(list go-golang-org-x-sys))
(home-page "https://github.com/minio/highwayhash")
(synopsis "HighwayHash library for Go")
(description
@@ -2467,7 +2490,7 @@ times faster decoding.")
(define-public go-github-com-nats-io-jwt-v2
(package
(name "go-github-com-nats-io-jwt-v2")
(version "2.8.0")
(version "2.8.1")
(source
(origin
(method git-fetch)
@@ -2476,7 +2499,7 @@ times faster decoding.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "16fxmml1cw2y3cr87ry61k2q8421hab77cx6gpqz1qfy6sdh0vvz"))))
(base32 "1258y5p8nyf4p285j2rq8v54l52z6ahklx9fk93fa1mf20nm1v2y"))))
(build-system go-build-system)
(arguments
(list
@@ -2495,7 +2518,7 @@ JWT tokens. Nkeys use Ed25519 to provide authentication of JWT claims.")
(define-public go-github-com-nats-io-nkeys
(package
(name "go-github-com-nats-io-nkeys")
(version "0.4.11")
(version "0.4.15")
(source
(origin
(method git-fetch)
@@ -2504,7 +2527,7 @@ JWT tokens. Nkeys use Ed25519 to provide authentication of JWT claims.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0wrsrccc4sxzlrlngkw644p4n074vd54mkad8vzi9ylnw97hhabm"))))
(base32 "0qhi2ai5g2vy8mwrdlcsrpbc2giq4b4xw58vbnm4jw6ypmy4ymc6"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/nats-io/nkeys"))
+25
View File
@@ -41,6 +41,31 @@
;;; Libraries:
;;;
(define-public go-github-com-aio-arch-graphlib
(package
(name "go-github-com-aio-arch-graphlib")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aio-arch/graphlib")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1a69h1wlrv324wb0amagn6qyjb6cny0qhg82ivvkv0ilvvn17b6m"))))
(build-system go-build-system)
(arguments
(list
#:tests? (not (target-aarch64?))
#:import-path "github.com/aio-arch/graphlib"))
(home-page "https://github.com/aio-arch/graphlib")
(synopsis "Topological sort lib for Sorting and pruning of DAG graphs")
(description
"This package provides a Topological sort lib. Sorting and pruning of
DAG graphs.")
(license license:expat)))
(define-public go-github-com-altree-bigfloat
(package
(name "go-github-com-altree-bigfloat")
+117 -27
View File
@@ -33,6 +33,7 @@
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-maths)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages haskell-apps)
@@ -50,6 +51,77 @@
;;; Libraries:
;;;
(define-public go-code-forgejo-org-f3-gof3-v3
(package
(name "go-code-forgejo-org-f3-gof3-v3")
(version "3.11.39")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://code.forgejo.org/f3/gof3.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1gisxivmsy1r6kn4pcn96ry03mmh6y6hl26yi4zkihlj9m48brsb"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "code.forgejo.org/f3/gof3/v3"
#:unpack-path "code.forgejo.org/f3/gof3/v3"
#:build-flags
#~(list "-tags" "'netgo osusergo'"
(string-append "-ldflags="
"-X code.forgejo.org/f3/gof3/v3/cmd.Version="
#$version))
#:embed-files
;; For go-github-com-urfave-cli-v3:
#~(list "bash_autocomplete"
"powershell_autocomplete.ps1"
"zsh_autocomplete"
"prelude.graphql"
;; For go-github-com-santhosh-tekuri-jsonschema-v6:
"applicator"
"content"
"core"
"format"
"format-annotation"
"format-assertion"
"meta-data"
"schema"
"unevaluated"
"validation")
#:test-flags
#~(list "-vet=off"
"-skip" (string-join
;; Depends on internal helper command "internal/hoverfly".
(list "TestInternal_Hoverfly"
;; Test tries to resolve DNS on 4.4.4.4 to clone
;; local directory.
"TestUtil_Exec_CommandTimeout")
"|"))))
(native-inputs
(list git-minimal
go-github-com-google-go-cmp
go-github-com-stretchr-testify
go-github-com-urfave-cli-v3))
(propagated-inputs
(list go-github-com-42wim-httpsig
go-github-com-aio-arch-graphlib
;; go-github-com-davidmz-go-pageant ;Windows only
go-github-com-hashicorp-go-version
go-github-com-santhosh-tekuri-jsonschema-v6
go-gitlab-com-gitlab-org-api-client-go-0.116
go-golang-org-x-crypto))
(home-page "https://code.forgejo.org/f3/gof3")
(synopsis "Friendly Forge Format (F3)")
(description
"As a command or as a library, @code{GoF3} provides a single operation:
mirroring. The origin and destination are designated by the URL of a forge
and a path to the resource.")
(license license:expat)))
(define-public go-code-gitea-io-actions-proto-go-ping
(package
(name "go-code-gitea-io-actions-proto-go-ping")
@@ -267,33 +339,28 @@ using the Git pkt-line format used in various Git operations.")
(license license:asl2.0)))
(define-public go-github-com-go-git-go-git-v6
;; v6.0.0 is not a release tag as of 14.11.2025
(let ((commit "47b1ed2930c96d34c09a3e31abf9673fe361ec63")
(revision "0"))
(package
(inherit go-github-com-go-git-go-git-v5)
(name "go-github-com-go-git-go-git-v6")
(version (git-version "6.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-git/go-git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1vzj9vs0wqsjpwsi7mvkfs7n8gnk3qg5vhl040c5a5k8h7rlhdz4"))))
(arguments
(substitute-keyword-arguments
(package-arguments go-github-com-go-git-go-git-v5)
((#:import-path _) "github.com/go-git/go-git/v6")))
(propagated-inputs
(modify-inputs (package-propagated-inputs
go-github-com-go-git-go-git-v5)
(replace "go-github-com-go-git-go-billy-v5"
go-github-com-go-git-go-billy-v6)
(replace "go-github-com-go-git-gcfg"
go-github-com-go-git-gcfg-v2))))))
(package
(inherit go-github-com-go-git-go-git-v5)
(name "go-github-com-go-git-go-git-v6")
(version "6.0.0-alpha.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-git/go-git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1whmxb0035c7qxnr3lkypcdrdlcg3mc49d20c1kk1q4zyx2v4zgl"))))
(arguments
(substitute-keyword-arguments arguments
((#:import-path _) "github.com/go-git/go-git/v6")))
(propagated-inputs
(modify-inputs (package-propagated-inputs go-github-com-go-git-go-git-v5)
(replace "go-github-com-go-git-go-billy-v5"
go-github-com-go-git-go-billy-v6)
(replace "go-github-com-go-git-gcfg"
go-github-com-go-git-gcfg-v2)))))
(define-public go-github-com-cli-go-gh-v2
(package
@@ -667,6 +734,29 @@ interact with GitLab in a simple and uniform way.")
;;; Executables:
;;;
(define-public f3-cli
(package/inherit go-code-forgejo-org-f3-gof3-v3
(name "f3-cli")
(arguments
(substitute-keyword-arguments arguments
((#:import-path _) "code.forgejo.org/f3/gof3/v3/main")
((#:install-source? #t #t) #f)
((#:skip-build? #t #t) #f)
((#:tests? #t #t) #f)
((#:phases phases '%standard-phases)
#~(modify-phases #$phases
(add-after 'install 'rename-binary
(lambda _
(with-directory-excursion #$output
(rename-file "bin/main"
"bin/f3-cli"))))))))
(native-inputs
(append
(package-native-inputs go-code-forgejo-org-f3-gof3-v3)
(package-propagated-inputs go-code-forgejo-org-f3-gof3-v3)))
(inputs '())
(propagated-inputs '())))
(define-public git-sync
(package
(name "git-sync")
+506 -108
View File
@@ -1084,6 +1084,128 @@ other applications can be provided using this API. This library is used to
interact with the Trace API directly.")
(license license:asl2.0)))
(define-public go-code-forgejo-org-forgejo-actions-proto
(package
(name "go-code-forgejo-org-forgejo-actions-proto")
(version "0.7.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://code.forgejo.org/forgejo/actions-proto.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ff0yqb7qgn5gy2jz3kw1hirc88jignhr1x2ycbf91xf9ag1bvys"))))
(build-system go-build-system)
(arguments
(list
;; XXX: Projects builds Go code from protobuf with buf command, not
;; packaged yet in Guix.
#:skip-build? #t
#:import-path "code.forgejo.org/forgejo/actions-proto"))
(propagated-inputs
(list go-connectrpc-com-connect
go-google-golang-org-protobuf))
(home-page "https://code.forgejo.org/forgejo/actions-proto")
(synopsis "Protocol Buffer schema and go package for Forgejo Actions")
(description
"This package provides a protocol Buffer schema and go package for
Forgejo Actions.")
(license license:expat)))
(define-public go-code-forgejo-org-forgejo-contrib-go-libravatar
(package
(name "go-code-forgejo-org-forgejo-contrib-go-libravatar")
(version "0.0.0-20260301104140-add494e31dab")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://code.forgejo.org/forgejo-contrib/go-libravatar")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "18ch92a9qrwvi1pxak6bvjn5vjwmwhdidhv40z56kpzagybywwdr"))))
(build-system go-build-system)
(arguments
(list
#:tests? #f ;they try to fetch avatars from Internet
#:import-path "code.forgejo.org/forgejo-contrib/go-libravatar"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-import-path
;; Build fails if that commit is kept.
(lambda* (#:key tests? import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(substitute* "libravatar.go"
(("// import \"strk.kbt.io/projects/go/libravatar\"")
""))))))))
(home-page "https://code.forgejo.org/forgejo-contrib/go-libravatar")
(synopsis "Golang library for serving federated avatars")
(description
"This package provides a simple Go library for serving
@url{https://www.libravatar.org, federated avatars}.")
(license license:expat)))
(define-public go-code-forgejo-org-forgejo-reply
(package
(name "go-code-forgejo-org-forgejo-reply")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://code.forgejo.org/forgejo/reply.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0x13217haxf8hyzxh2262ys70vh1yswkn96lsazh8glkvy4x8kb7"))))
(build-system go-build-system)
(arguments
(list
#:import-path "code.forgejo.org/forgejo/reply"))
(propagated-inputs
(list go-github-com-dlclark-regexp2))
(home-page "https://code.forgejo.org/forgejo/reply")
(synopsis "Go library to trim replies from plain text email")
(description
"Replay implements a simple function to trim replies from plain text
email, it was inspired by Ruby's project
@url{https://github.com/discourse/email_reply_trimmer, email_reply_trimmer}.
It's a maintained fork of @url{https://github.com/dimiro1/reply}.")
(license license:expat)))
(define-public go-code-forgejo-org-go-chi-binding
(package
(name "go-code-forgejo-org-go-chi-binding")
(version "1.0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://code.forgejo.org/go-chi/binding")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0hwpiim3ry3g39vw0v1nvaplk7ps1fvvcs7rd2827lc81j8bdnsy"))))
(build-system go-build-system)
(arguments
(list
#:import-path "code.forgejo.org/go-chi/binding"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-go-chi-chi-v5))
(home-page "https://code.forgejo.org/go-chi/binding")
(synopsis "Request data binding and validation for @code{net/http}")
(description
"Package binding is a middleware that provides request data binding and
validation for @code{net/http}. It's a fork of
@url{https://gitea.com/go-chi/binding, gitea/binding} which is a fork of
@url{https://github.com/go-macaron/macaron, Macaron}.")
(license license:asl2.0)))
(define-public go-code-gitea-io-sdk-gitea
(package
(name "go-code-gitea-io-sdk-gitea")
@@ -1829,7 +1951,7 @@ streaming, tool calling, and integration with Amazon Bedrock.")
(define-public go-github-com-antithesishq-antithesis-sdk-go
(package
(name "go-github-com-antithesishq-antithesis-sdk-go")
(version "0.5.0")
(version "0.7.0")
(source
(origin
(method git-fetch)
@@ -1838,17 +1960,26 @@ streaming, tool calling, and integration with Amazon Bedrock.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ac3p3y9905ryj4j3mfvspbdcj9lkap85l2fa8va3mw2svg0wv8d"))))
(base32 "13b6hsi5djmragxk7y99988icd5hqjd1c8s4p5m25v643r3wd6l8"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/antithesishq/antithesis-sdk-go"
#:test-flags
#~(list "-vet=off") ;Go@1.24 forces vet, but tests are not ready yet.
#:import-path "github.com/antithesishq/antithesis-sdk-go"))
#~(list "-skip" (string-join
;; Tests expect GO111MODULE=on
(list "TestAliasedImport"
"TestCatalogStability"
"TestE2E"
"TestMultiMain"
"TestSingleMain")
"|"))))
(native-inputs
(list go-github-com-go-quicktest-qt))
(propagated-inputs
(list go-golang-org-x-tools
go-golang-org-x-mod))
(list go-golang-org-x-mod
go-golang-org-x-tools))
(home-page "https://github.com/antithesishq/antithesis-sdk-go")
(synopsis "Antithesis SDK for Golang")
(description
@@ -3758,54 +3889,49 @@ capable of querying the current time from a remote NTP server as specified in
(define-public go-github-com-bep-golibsass
(package
(name "go-github-com-bep-golibsass")
(version "0.7.0")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bep/golibsass")
(commit (string-append "v" version))))
(url "https://github.com/bep/golibsass")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
(base32 "03v6x9775v6gcw3zr4cr2fvd234sagbj6nb0i3pyb44b1jwa0miw"))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "libsass_src")
#t))))
#~(begin
(delete-file-recursively "libsass_src")))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/bep/golibsass/libsass"
#:unpack-path "github.com/bep/golibsass"
;; The dev build tag modifies the build to link to system libsass
;; instead of including the bundled one (which we remove.)
;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
#:build-flags '("-tags" "dev")
#:phases
(modify-phases %standard-phases
(add-before 'build 'generate-bindings
;; Generate bindings for system libsass, replacing the
;; pre-generated bindings.
(lambda* (#:key inputs unpack-path #:allow-other-keys)
(mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
(let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
(substitute* (string-append "src/" unpack-path "/gen/main.go")
(("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
(string-append "\"" libsass-src "\""))
(("../../libsass_src/src/")
libsass-src)))
(invoke "go" "generate" (string-append unpack-path "/gen"))
#t))
(replace 'check
(lambda* (#:key tests? import-path #:allow-other-keys)
(if tests?
(invoke "go" "test" import-path "-tags" "dev"))
#t)))))
(list
#:skip-build? #t
#:import-path "github.com/bep/golibsass"
;; The dev build tag modifies the build to link to system libsass
;; instead of including the bundled one (which we remove.)
;; https://github.com/bep/golibsass/blob/v1.2.0/internal/libsass/a__cgo_dev.go
#:build-flags #~(list "-tags" "dev")
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'generate-bindings
;; Generate bindings for system libsass, replacing the
;; pre-generated bindings.
(lambda* (#:key import-path #:allow-other-keys)
(mkdir-p (string-append "src/" import-path "/internal/libsass"))
(let ((libsass-src
(string-append #$(package-source
(this-package-input "libsass")) "/src/")))
(substitute* (string-append "src/" import-path "/gen/main.go")
(("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
(string-append "\"" libsass-src "\""))
(("../../libsass_src/src/")
libsass-src)))
(invoke "go" "generate" (string-append import-path "/gen")))))))
(native-inputs
(list go-github-com-frankban-quicktest))
(propagated-inputs
(list libsass))
(native-inputs
`(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
("libsass-src" ,(package-source libsass))))
(home-page "https://github.com/bep/golibsass")
(synopsis "Easy to use Go bindings for LibSass")
(description
@@ -4341,6 +4467,34 @@ used with @code{http.Client} and @code{http.Transport} to alter host
lookups.")
(license license:expat)))
(define-public go-github-com-chi-middleware-proxy
(package
(name "go-github-com-chi-middleware-proxy")
(version "1.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/chi-middleware/proxy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0pslb4x8jhblgg7sfahrsiv7r4ay5aizgrqkrpfpwzsnhw88fl6h"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/chi-middleware/proxy"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-go-chi-chi-v5))
(home-page "https://github.com/chi-middleware/proxy")
(synopsis "Proxy forwarded headers middleware")
(description
"This package is forwarded headers middleware to use if application is
run behind reverse proxy.")
(license license:expat)))
(define-public go-github-com-chris-ramon-douceur
(package
(name "go-github-com-chris-ramon-douceur")
@@ -5544,7 +5698,7 @@ Features:
(define-public go-github-com-danielgtaylor-huma-v2
(package
(name "go-github-com-danielgtaylor-huma-v2")
(version "2.34.1")
(version "2.38.0")
(source
(origin
(method git-fetch)
@@ -5553,14 +5707,20 @@ Features:
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1rwmyxihrdznfn6iqxrb4lmlfijblapnpxavmcgavylixwigyrdk"))))
(base32 "18q6r7dg21fbmgryr6yc79mva0vn3jrbb8fvhh92fh5ibib55lmq"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/danielgtaylor/huma/v2"
#:test-flags
;; Tests require local network setup.
#~(list "-skip" "TestFeatures|TestAdapters/go|ExampleResolver")
#~(list "-skip" (string-join
(list "ExampleResolver"
"TestAdapters/go"
"TestBodyFallbackContentType"
"TestFeatures"
"TestWriteResponseTransformErrorStatus")
"|"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-examples
@@ -5568,7 +5728,9 @@ Features:
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "examples")))))))
(native-inputs
(list go-github-com-stretchr-testify))
(list go-github-com-stretchr-testify
go-github-com-spf13-cobra
go-github-com-spf13-pflag))
(propagated-inputs
(list go-github-com-danielgtaylor-shorthand-v2
go-github-com-evanphx-json-patch-v5
@@ -5576,12 +5738,11 @@ Features:
go-github-com-gin-gonic-gin
go-github-com-go-chi-chi-v5
go-github-com-gofiber-fiber-v2
go-github-com-gofiber-fiber-v3
go-github-com-google-uuid
go-github-com-gorilla-mux
go-github-com-julienschmidt-httprouter
go-github-com-labstack-echo-v4
go-github-com-spf13-cobra
go-github-com-spf13-pflag
go-github-com-uptrace-bunrouter))
(home-page "https://github.com/danielgtaylor/huma")
(synopsis "REST/HTTP API Framework for Golang")
@@ -5826,6 +5987,95 @@ data one-way over a HTTP connection using the Server-Sent Events API
http://dev.w3.org/html5/eventsource/.")
(license license:asl2.0)))
(define-public go-github-com-dop251-goja
(package
(name "go-github-com-dop251-goja")
(version "0.0.0-20260311135729-065cd970411c")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dop251/goja")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "0cnyxvnymmd5vjzwnznzdp04hqphmzsf7k1rk0cijv783dkv2gk2"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/dop251/goja"
#:test-flags #~(list "-vet=off")))
(native-inputs
(list go-github-com-dop251-goja-nodejs-bootstrap))
(propagated-inputs
(list go-github-com-dlclark-regexp2
go-github-com-go-sourcemap-sourcemap
go-github-com-google-pprof
go-github-com-masterminds-semver-v3
go-golang-org-x-text
go-gopkg-in-yaml-v2))
(home-page "https://github.com/dop251/goja")
(synopsis "ECMAScript/JavaScript engine in pure Go")
(description
"Goja is an implementation of ECMAScript 5.1 in pure Go with emphasis on
standard compliance and performance, it was largely inspired by
@url{https://github.com/robertkrimen/otto, otto}.
Features:
@itemize
@item Full ECMAScript 5.1 support (including regex and strict mode).
@item Passes nearly all tc39 tests for the features implemented so far.
@item Capable of running Babel, TypeScript compiler and pretty much anything
written in ES5.
@item Sourcemaps.
@end itemize")
(license license:expat)))
(define-public go-github-com-dop251-goja-nodejs
(package
(name "go-github-com-dop251-goja-nodejs")
(version "0.0.0-20260212111938-1f56ff5bcf14")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dop251/goja_nodejs")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "0q83hhv05vk66brpplai4jxpc9nj0hnc55jjhlp6sycn77qlq191"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/dop251/goja_nodejs"))
(propagated-inputs
(list go-github-com-dop251-base64dec
go-github-com-dop251-goja
go-go-uber-org-goleak
go-golang-org-x-net
go-golang-org-x-text))
(home-page "https://github.com/dop251/goja_nodejs")
(synopsis "Nodejs compatibility library for Goja")
(description
"This is a collection of @url{https://github.com/dop251/goja, Goja}
modules that provide Node.js compatibility.")
(license license:expat)))
(define-public go-github-com-dop251-goja-nodejs-bootstrap
(hidden-package
(package/inherit go-github-com-dop251-goja-nodejs
(name "go-github-com-dop251-goja-nodejs-bootstrap")
(arguments
(substitute-keyword-arguments arguments
((#:tests? _ #t) #f)))
(propagated-inputs
(list go-github-com-dop251-base64dec
go-go-uber-org-goleak
go-golang-org-x-net
go-golang-org-x-text)))))
(define-public go-github-com-dpotapov-go-spnego
(package
(name "go-github-com-dpotapov-go-spnego")
@@ -6688,7 +6938,17 @@ building with WebAssembly.")
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/fasthttp/router"))
#:import-path "github.com/fasthttp/router"
#:test-flags
;; router_test.go:107: return error error when reading request headers:
;; missing required Host header in request. Buffer size=22, contents:
;; "POST /foo HTTP/1.1\r\n\r\n"
#~(list "-skip" (string-join
(list "TestGroup"
"TestRouterServeFiles"
"TestRouterServeFS"
"TestRouterServeFilesCustom")
"|"))))
(propagated-inputs
(list go-github-com-savsgio-gotils
go-github-com-valyala-bytebufferpool
@@ -7064,16 +7324,16 @@ of HTML5[1] by the W3C}.")
(define-public go-github-com-gin-gonic-gin
(package
(name "go-github-com-gin-gonic-gin")
(version "1.10.0")
(version "1.12.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gin-gonic/gin")
(commit (string-append "v" version))))
(url "https://github.com/gin-gonic/gin")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "01xjvw2d46b77jnszgbwqbdzh9jx7y3h5ik3q30y9dn9gaq5mhks"))))
(base32 "040pqmjsx2p4sc5izia8f1akhcp1z7yvi6wxg641cnnnvz9qfy9m"))))
(build-system go-build-system)
(arguments
(list
@@ -7085,13 +7345,16 @@ of HTML5[1] by the W3C}.")
go-github-com-gin-contrib-sse
go-github-com-go-playground-validator-v10
go-github-com-goccy-go-json
go-github-com-goccy-go-yaml
go-github-com-json-iterator-go
go-github-com-mattn-go-isatty
go-github-com-modern-go-reflect2
go-github-com-pelletier-go-toml-v2
go-github-com-quic-go-quic-go
go-github-com-ugorji-go-codec
go-go-mongodb-org-mongo-driver-v2
go-golang-org-x-net
go-google-golang-org-protobuf
go-gopkg-in-yaml-v3))
go-google-golang-org-protobuf))
(home-page "https://github.com/gin-gonic/gin")
(synopsis "HTTP web framework")
(description
@@ -7299,7 +7562,6 @@ Encryption, JSON Web Signature, and JSON Web Token standards.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:test-flags
#~(list "-skip" "TestSynctestMarshal")
#:import-path "github.com/go-json-experiment/json"))
@@ -8137,16 +8399,16 @@ protocol as specified in @url{https://rfc-editor.org/rfc/rfc6455.html, RFC
(define-public go-github-com-gofiber-fiber-v2
(package
(name "go-github-com-gofiber-fiber-v2")
(version "2.52.5")
(version "2.52.13")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gofiber/fiber")
(commit (string-append "v" version))))
(url "https://github.com/gofiber/fiber")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "12gr7a38dd02p7b9fimrk16ybxfp93krh7wah0jzc0v6syjmzfi0"))))
(base32 "1gf4n1ilkh2fdnwmdgrkchma1lzc3czwxvcw0j26kabsxywach1q"))))
(build-system go-build-system)
(arguments
(list
@@ -8154,11 +8416,39 @@ protocol as specified in @url{https://rfc-editor.org/rfc/rfc6455.html, RFC
#:test-flags
#~(list "-skip"
(string-join
(list "Test_Proxy_DoRedirects_TooManyRedirects"
"Test_Proxy_Do_WithRealURL"
"Test_Proxy_DoRedirects_RestoreOriginalURL"
"Test_Proxy_Do_WithRedirect")
"|"))))
;; XXX: Check if it's critical: error when reading
;; request headers: missing required Host header in
;; request. Buffer size=46, contents: "HEAD /template
;; HTTP/1.1\r\nContent-Length: 0\r\n\r\n"
;; (*fmt.wrapError)
(list "TestAuthSources"
"TestMultipleKeyAuth"
"Test_CSRF_DeleteToken"
"Test_Client_Invalid_URL"
"Test_Ctx_Immutable_AfterHandler"
"Test_Ctx_Next"
"Test_Ctx_Next_Error"
"Test_Ctx_RestartRouting"
"Test_Ctx_RestartRoutingWithChangedPath"
"Test_Ctx_RestartRoutingWithChangedPathAndCatchAll"
"Test_Ctx_SendFile"
"Test_DefaultConfig"
"Test_FileSystem_Head"
"Test_FileSystem_UsingParam"
"Test_FileSystem_UsingParam_NonFile"
"Test_Next"
"Test_NoRules"
"Test_Proxy_DoTimeout_Timeout"
"Test_Redirect"
"Test_RegexRules"
"Test_Rewrite")
"|"))
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'go-generate
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "generate" "-v" "-n" "./...")))))))
(propagated-inputs
(list go-github-com-google-uuid
go-github-com-mattn-go-colorable
@@ -8177,6 +8467,51 @@ Go. Designed to ease things up for fast development with zero memory
allocation and performance in mind.")
(license license:expat)))
(define-public go-github-com-gofiber-fiber-v3
(package
(inherit go-github-com-gofiber-fiber-v2)
(name "go-github-com-gofiber-fiber-v3")
(version "3.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gofiber/fiber")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "189hqhbm9pvpl5g2n2yk3mvp0f4jx4s0w5ivmgh5li8plffc9iwk"))))
(arguments
(substitute-keyword-arguments arguments
((#:import-path _) "github.com/gofiber/fiber/v3")
((#:embed-files _ #~())
#~(list
;; golang.org/x/net/publicsuffix/table.go:63:12: pattern
;; data/children: cannot embed irregular file data/children
"children"
;; golang.org/x/net/publicsuffix/table.go:48:12: pattern
;; data/nodes: cannot embed irregular file data/nodes
"nodes"
;; golang.org/x/net/publicsuffix/table.go:33:12: pattern data/text:
;; cannot embed irregular file data/text
"text"))))
(native-inputs
(list go-github-com-stretchr-testify
go-github-com-shamaton-msgpack-v3))
(propagated-inputs
(list go-github-com-fxamacker-cbor-v2
go-github-com-gofiber-schema
go-github-com-gofiber-utils-v2
go-github-com-google-uuid
go-github-com-mattn-go-colorable
go-github-com-mattn-go-isatty
go-github-com-tinylib-msgp
go-github-com-valyala-bytebufferpool
go-github-com-valyala-fasthttp
go-golang-org-x-crypto
go-golang-org-x-net
go-golang-org-x-text))))
(define-public go-github-com-gogo-googleapis
(package
(name "go-github-com-gogo-googleapis")
@@ -8566,25 +8901,19 @@ GitHub API v3.")
(version "36.0.0")
(source
(origin
(inherit (package-source go-github-com-google-go-github-v31))
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/go-github")
(commit (string-append "v" version))))
(url "https://github.com/google/go-github")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "041a1rmi7pipimxiwjnsd0dngzb4djmcz8a8x4xv53d3373szaj6"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - github.com/google/go-github/scrape
(delete-file-recursively "scrape")
(delete-file-recursively "update-urls")))))
(base32 "041a1rmi7pipimxiwjnsd0dngzb4djmcz8a8x4xv53d3373szaj6"))))
(arguments
(substitute-keyword-arguments
(package-arguments go-github-com-google-go-github-v31)
((#:import-path _) "github.com/google/go-github/v36")))))
(substitute-keyword-arguments arguments
((#:import-path _) "github.com/google/go-github/v36")))
(native-inputs
(list go-github-com-google-go-cmp))))
(define-public go-github-com-google-go-github-v50
(package
@@ -8619,6 +8948,35 @@ GitHub API v3.")
go-github-com-protonmail-go-crypto
go-golang-org-x-oauth2))))
(define-public go-github-com-google-go-github-v61
(package
(inherit go-github-com-google-go-github-v50)
(name "go-github-com-google-go-github-v61")
(version "61.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/go-github")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1kivw55z2xckymg7xx6hkvmki5mwrphhcjlgrpfv35glnd5p5zmy"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - github.com/google/go-github/scrape
;; - github.com/google/go-github/tools
(delete-file-recursively "scrape")
(delete-file-recursively "tools")))))
(arguments
(substitute-keyword-arguments arguments
((#:import-path _) "github.com/google/go-github/v61")))
(propagated-inputs
(list go-github-com-google-go-querystring))))
(define-public go-github-com-google-go-querystring
(package
(name "go-github-com-google-go-querystring")
@@ -8836,7 +9194,6 @@ Terraform by using the enterprise certificates feature.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:skip-build? #t
#:import-path "github.com/googleapis/gax-go/v2"
#:unpack-path "github.com/googleapis/gax-go"
@@ -8877,7 +9234,6 @@ for clients and servers based on @code{gRPC} and Google API conventions.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:import-path "github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp"
#:unpack-path "github.com/GoogleCloudPlatform/grpc-gcp-go"
;; gcp_multiendpoint_test.go:441: endpoint wanted "localhost:50051", got
@@ -11142,6 +11498,9 @@ Call}.")
(build-system go-build-system)
(arguments
(list
;; Remove when a fresh version is released.
;; See: <https://github.com/jellydator/ttlcache/issues/207>.
#:go go-1.24
#:import-path "github.com/jellydator/ttlcache/v3"
#:phases
#~(modify-phases %standard-phases
@@ -11781,7 +12140,7 @@ webhooks in Golang.")
(define-public go-github-com-labstack-echo-v4
(package
(name "go-github-com-labstack-echo-v4")
(version "4.13.3")
(version "4.15.2")
(source
(origin
(method git-fetch)
@@ -11790,7 +12149,7 @@ webhooks in Golang.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1i4w36f1k17bykc24dzr2ng5zpsyysfg5bzfvlbrphxxzhsngxdy"))))
(base32 "0dnnvafgi4vdfzfvfhyka78c6cbl2sq69jl0gj29slhdamy7f1yc"))))
(build-system go-build-system)
(arguments
(list
@@ -11825,6 +12184,27 @@ Features:
@end itemize")
(license license:expat)))
(define-public go-github-com-labstack-echo-v5
(package
(inherit go-github-com-labstack-echo-v4)
(name "go-github-com-labstack-echo-v5")
(version "5.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/labstack/echo")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1a7d9cmn6kchzl79cdldxxhanqqjpml1vvaw5ak6cwan6cn9gb5i"))))
(arguments
(list
#:import-path "github.com/labstack/echo/v5"))
(propagated-inputs
(list go-golang-org-x-net
go-golang-org-x-time))))
(define-public go-github-com-lestrrat-go-httpcc
(package
(name "go-github-com-lestrrat-go-httpcc")
@@ -16337,6 +16717,10 @@ implementation in the Go standard library}.")
(build-system go-build-system)
(arguments
(list
;; Remove when a fresh version is released.
;; See: <https://github.com/quic-go/quic-go/issues/5623>,
;; <https://github.com/quic-go/quic-go/issues/5286>.
#:go go-1.24
#:import-path "github.com/quic-go/quic-go"
#:test-flags
;; [1] Error: Should NOT be empty, but was []
@@ -16412,7 +16796,6 @@ protocol.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:import-path "github.com/quic-go/webtransport-go"
#:phases
#~(modify-phases %standard-phases
@@ -17766,7 +18149,6 @@ It is part of the Sigstore project for software supply chain security.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:skip-build? #t
#:import-path "github.com/sigstore/sigstore"
#:test-flags
@@ -18517,7 +18899,6 @@ side of the connection, using various OS-specific facilities.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:skip-build? #t
#:test-subdirs
;; XXX: Remove when all inputs are packaged.
@@ -19468,26 +19849,25 @@ tiny,non-intrusive, and encourages use of @code{net/http} Handlers.")
(define-public go-github-com-valyala-fasthttp
(package
(name "go-github-com-valyala-fasthttp")
(version "1.58.0")
(version "1.71.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/valyala/fasthttp")
(commit (string-append "v" version))))
(url "https://github.com/valyala/fasthttp")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0r823fikgyhnmcn322anhs3ivkbzhdgbywvwi81v9kvfhi35plli"))))
(base32 "0l744biq95xf9xwz2d2idhh179qg8z4pa84s8dnaqzgw1gf4n70g"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/valyala/fasthttp"
#:test-flags
#~(list "-skip" (string-join
;; Network set up is required.
(list "TestClientConfigureClientFailed"
"TestDialer_GetDialFunc")
"|"))
#~(list "-shuffle=on"
;; dialer_test.go:231: lookup github.com on [::1]:53: read udp
;; [::1]:52547->[::1]:53: read: connection refused
"-skip" "TestDialer_GetDialFunc")
#:phases
#~(modify-phases %standard-phases
(replace 'check
@@ -19500,16 +19880,15 @@ tiny,non-intrusive, and encourages use of @code{net/http} Handlers.")
(list go-github-com-andybalholm-brotli
go-github-com-klauspost-compress
go-github-com-valyala-bytebufferpool
go-github-com-valyala-tcplisten
go-golang-org-x-crypto
go-golang-org-x-net
go-golang-org-x-sys
go-golang-org-x-text))
go-golang-org-x-sys))
(home-page "https://github.com/valyala/fasthttp")
(synopsis "Provides fast HTTP server and client API")
(description
"This package provides a Go module @code{fasthttp} which may be used as
replacement for native @code{net/http} module.")
replacement for native @code{net/http} module. It is optimized for high
performance with zero memory allocations in hot paths.")
(license license:expat)))
(define-public go-github-com-valyala-tcplisten
@@ -19603,6 +19982,31 @@ and is designed to be accessible to both humans and machines.")
implementation as closely while remaining idiomatic and easy to use.")
(license license:expat)))
(define-public go-github-com-victoriametrics-easyproto
(package
(name "go-github-com-victoriametrics-easyproto")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/VictoriaMetrics/easyproto")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1h52wjjfqp58wk77q154am8h8zwzi8x8nk9sa844nz04jkkf760p"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/VictoriaMetrics/easyproto"))
(home-page "https://github.com/VictoriaMetrics/easyproto")
(synopsis "Building blocks for protobuf marshaling and unmarshaling")
(description
"Package easyproto provides building blocks for marshaling and
unmarshaling (encoding/decoding) protobuf v3 messages according to
@url{https://protobuf.dev/programming-guides/encoding}.")
(license license:asl2.0)))
(define-public go-github-com-vishvananda-netlink
(package
(name "go-github-com-vishvananda-netlink")
@@ -21450,7 +21854,6 @@ Tracer implementation from the @code{OpenTracing} project.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:import-path "go.opentelemetry.io/contrib/zpages"
#:unpack-path "go.opentelemetry.io/contrib"))
(native-inputs (list go-github-com-stretchr-testify))
@@ -21501,7 +21904,6 @@ display telemetry stats.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:tests? #f ;; TODO: Tests require additional dependencies
#:import-path "go.opentelemetry.io/otel"
;; Error: Both arguments must be pointers.
@@ -22082,7 +22484,6 @@ logging library. Instead, install one of the bridges listed in the
(name "go-go-opentelemetry-io-otel-metric")
(arguments
(list
#:go go-1.25
#:import-path "go.opentelemetry.io/otel/metric"
#:unpack-path "go.opentelemetry.io/otel"))
(synopsis "OpenTelemetry Metric API")
@@ -22456,7 +22857,7 @@ the standard @code{context} package to store request-scoped values.")
(define-public go-golang-org-x-oauth2
(package
(name "go-golang-org-x-oauth2")
(version "0.23.0")
(version "0.36.0")
(source
(origin
(method git-fetch)
@@ -22465,14 +22866,13 @@ the standard @code{context} package to store request-scoped values.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "00r6qryh9nfnfq8q8h12hvqp0mhflhl68qyknrmzmw5ww52ghm9b"))))
(base32 "0k7n299v6m0k0bkynfvwjclx56hbd5hvaaipk4khm9ib8ddbpx3s"))))
(build-system go-build-system)
(arguments
(list
#:import-path "golang.org/x/oauth2"))
(propagated-inputs
(list go-cloud-google-com-go-compute-metadata
go-github-com-google-go-cmp))
(list go-cloud-google-com-go-compute-metadata))
(home-page "https://go.googlesource.com/oauth2")
(synopsis "Client implementation of the OAuth 2.0 spec")
(description
@@ -22849,7 +23249,6 @@ interacting with Google's @code{gRPC} APIs.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:import-path "google.golang.org/genproto/googleapis/bytestream"
#:unpack-path "google.golang.org/genproto"))
(propagated-inputs
@@ -24060,7 +24459,6 @@ that can use multiple signing keys
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:build-flags #~(list (string-append "-ldflags="
"-X main.lyrebirdVersion="
#$version " -s -w"))
File diff suppressed because it is too large Load Diff
+14 -2
View File
@@ -25,7 +25,7 @@
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021-2025 Sharlatan Hellseher <sharlatanus@mgail.com>
;;; Copyright © 2021-2026 Sharlatan Hellseher <sharlatanus@mgail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 jgart <jgart@dismail.de>
@@ -95,6 +95,18 @@
;; go-1.18. Starting with go-1.5 go cannot be built without an existing
;; installation of go, so we need to use go-1.4 or gccgo. For architectures which
;; are not supported with go-1.4 we use a version of gccgo to bootstrap them.
;;
;; The minimum version of Go required depends on the target version of Go:
;;
;; Go <= 1.4: a C toolchain.
;; 1.5 <= Go <= 1.19: a Go 1.4 compiler.
;; 1.20 <= Go <= 1.21: a Go 1.17 compiler.
;; 1.22 <= Go <= 1.23: a Go 1.20 compiler.
;;
;; Going forward, Go version 1.N will require a Go 1.M compiler, where M is
;; N-2 rounded down to an even number.
;; Example: Go 1.24 and 1.25 require Go 1.22.
;; See: <https://go.dev/doc/install/source>.
(define-public go-1.4
(package
@@ -1149,7 +1161,7 @@ in the style of communicating sequential processes (@dfn{CSP}).")
;;
;; Default Golang version used in guix/build-system/go.scm to build packages.
;;
(define-public go go-1.24)
(define-public go go-1.25)
(define make-go-std
(mlambdaq (go)
+3 -4
View File
@@ -297,7 +297,7 @@ applications.")
(define-public nats-server
(package
(name "nats-server")
(version "2.12.1")
(version "2.14.1")
(source
(origin
(method git-fetch)
@@ -306,7 +306,7 @@ applications.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "04dza8jqw4lhnqj1ip05jx47g9frb00x9s0yy1863qf88bvszv8z"))))
(base32 "1bnp17ddvpx0n8r7p4spfnhwhwwzff3f9w2h54pss8qvrsv0xy2a"))))
(build-system go-build-system)
(arguments
(list
@@ -320,7 +320,7 @@ applications.")
(list "TestHTTPHost"
"TestSysLogger"
"TestLogMaxArchives")
"|") )
"|"))
#:test-subdirs
#~(list "conf/..." "internal/..." "logger/..." "test/...")))
(inputs
@@ -332,7 +332,6 @@ applications.")
go-github-com-nats-io-nats-go
go-github-com-nats-io-nkeys
go-github-com-nats-io-nuid
go-go-uber-org-automaxprocs
go-golang-org-x-crypto
go-golang-org-x-sys
go-golang-org-x-time))
+89 -45
View File
@@ -99,7 +99,7 @@
(define-public go-github-com-ipfs-bbloom
(package
(name "go-github-com-ipfs-bbloom")
(version "0.0.4")
(version "0.1.0")
(source
(origin
(method git-fetch)
@@ -108,7 +108,7 @@
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0dcdn7nlysynl7yrbivv8m7j83jq7pabhcff8mvfjdk583rgnkp2"))))
(base32 "0k3bwhp0vc4ivnw32q8gi974xcqwjw2471lz4qkypxi7ld8clgmj"))))
(build-system go-build-system)
(arguments
(list
@@ -117,14 +117,15 @@
(synopsis "Fast bit set Bloom filter")
(description
"This package implements a fast bloom filter with real @code{bitset} and
JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.")
JSONMarshal/JSONUnmarshal to store/reload the Bloom filter. It's an
alternative fork of @url{https://github.com/gxed/bbloom}.")
(license (list license:expat ; bbloom.go
license:public-domain)))) ; siphash.go
(define-public go-github-com-ipfs-boxo
(package
(name "go-github-com-ipfs-boxo")
(version "0.35.2")
(version "0.39.0")
(source
(origin
(method git-fetch)
@@ -133,18 +134,14 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "02z88kv17m1mia68ac8wliiz5kzq59b1632qql21vy9c3gjqk56r"))
(base32 "0sy7v5cnz7ajvfb1mz4p86rmsr8f8agzgfnpwyzlhvvwcglslns9"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packed as
;; separated packages:
;; Submodules with their own go.mod files and packaged separately:
;;
;; - github.com/ipfs/boxo/cmd/boxo-migrate
;; - github.com/ipfs/boxo/cmd/deprecator
;; - github.com/ipfs/boxo/examples
(for-each delete-file-recursively
(list "cmd" "examples"))))))
(delete-file-recursively "examples")))))
(build-system go-build-system)
(arguments
(list
@@ -160,7 +157,13 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.")
;; config: Get
;; "https://conf.ipfs-mainnet.org/autoconf.json"
"TestRealAutoConfURL")
"|"))))
"|"))
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
;; See: <https://go.dev/blog/synctest>.
(setenv "GODEBUG" "asynctimerchan=0"))))))
(native-inputs
(list go-github-com-libp2p-go-libp2p-kad-dht-bootstrap
go-github-com-libp2p-go-libp2p
@@ -222,11 +225,9 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.")
go-go-opencensus-io
go-go-opentelemetry-io-contrib-instrumentation-net-http-otelhttp
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-exporters-otlp-otlptrace
go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc
go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracehttp
go-go-opentelemetry-io-otel-exporters-stdout-stdouttrace
go-go-opentelemetry-io-otel-exporters-zipkin
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-trace
go-go-uber-org-zap
@@ -532,7 +533,6 @@ go-datastore}.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:import-path "github.com/ipfs/go-dsqueue"
#:phases
#~(modify-phases %standard-phases
@@ -615,7 +615,7 @@ storing and retrieving items. Queued items are persisted across restarts.")
(define-public go-github-com-ipfs-go-ipfs-cmds
(package
(name "go-github-com-ipfs-go-ipfs-cmds")
(version "0.14.1")
(version "0.16.1")
(source
(origin
(method git-fetch)
@@ -624,7 +624,7 @@ storing and retrieving items. Queued items are persisted across restarts.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0npgcwzxzgvygl9r9h5kbnfl1dh0hygmwk1jj1hwznyvj47x6lwl"))))
(base32 "01cnpzbacdcbzi6lbppyn6vczrjvayh6s0fqm0mcaym1xi61y8jh"))))
(build-system go-build-system)
(arguments
(list
@@ -637,7 +637,7 @@ storing and retrieving items. Queued items are persisted across restarts.")
(delete-file-recursively "examples")))))))
(propagated-inputs
(list go-github-com-ipfs-boxo
go-github-com-ipfs-go-log
go-github-com-ipfs-go-log-v2
go-github-com-rs-cors
go-github-com-texttheater-golang-levenshtein
go-golang-org-x-term))
@@ -1111,6 +1111,38 @@ IPLD graph as detailed below. Objects are demonstrated here using both
@code{go-ipld-prime} nodes and @code{go-ipld-format} legacy interface.")
(license (list license:expat license:asl2.0))))
(define-public go-github-com-ipfs-go-libdht
(package
(name "go-github-com-ipfs-go-libdht")
(version "0.5.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ipfs/go-libdht")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "139zzvs9c65k6agfpy412y9bb4pfxdmwvwjbvndx9gd615qhxzak"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/ipfs/go-libdht"))
(native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/ipfs/go-libdht")
(synopsis "go-libdht")
(description
"@code{go-libdht} is a generic toolbox designed for the implementation
and experimentation of @acronym{Distributed Hash Tables, DHT} in Go. It
establishes foundational types and interfaces applicable across a broad
spectrum of DHTs, especially those sharing a similar topology. By offering
reusable components like keys and routing tables, @code{go-libdht} streamlines
the DHT implementation process. Using @code{go-libdht}, developers can
seamlessly craft their own DHTs using the provided modular components.")
(license (list license:expat license:asl2.0))))
(define-public go-github-com-ipfs-go-metrics-interface
(package
(name "go-github-com-ipfs-go-metrics-interface")
@@ -1881,7 +1913,7 @@ through @url{https://github.com/libp2p/libp2p, LibP2P} using Go's standard
(define-public go-github-com-libp2p-go-libp2p-kad-dht
(package
(name "go-github-com-libp2p-go-libp2p-kad-dht")
(version "0.37.1")
(version "0.39.1")
(source
(origin
(method git-fetch)
@@ -1890,21 +1922,20 @@ through @url{https://github.com/libp2p/libp2p, LibP2P} using Go's standard
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "07p5vy43kszcqzyy9piagyakgikg5afihd478q2zsviimqhl9ngb"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Module name has been changed upstream.
(substitute* (find-files "." "\\.go$")
(("github.com/probe-lab/go-libdht")
"github.com/ipfs/go-libdht"))))))
(base32 "1lyh4a4m6v7i1sj18vi02snx2291hfrj09y484y2k9wynhdr71rz"))))
(build-system go-build-system)
(arguments
(list
#:embed-files #~(list "sorted-network-list.bin")
#:import-path "github.com/libp2p/go-libp2p-kad-dht"
;; Error: "[]" should have 3 item(s), but has 0
#:test-flags #~(list "-skip" "TestIPDiversityFilter/Different_IPv6_blocks")))
#:test-flags #~(list "-skip" "TestIPDiversityFilter/Different_IPv6_blocks")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
;; See: <https://go.dev/blog/synctest>.
(setenv "GODEBUG" "asynctimerchan=0"))))))
(native-inputs
(list go-github-com-ipfs-go-test
go-github-com-ipfs-go-detect-race
@@ -1922,6 +1953,7 @@ through @url{https://github.com/libp2p/libp2p, LibP2P} using Go's standard
go-github-com-ipfs-go-cid
go-github-com-ipfs-go-datastore
go-github-com-ipfs-go-dsqueue
go-github-com-ipfs-go-libdht
go-github-com-ipfs-go-log-v2
go-github-com-libp2p-go-libp2p-kbucket
go-github-com-libp2p-go-libp2p-record
@@ -1934,7 +1966,6 @@ through @url{https://github.com/libp2p/libp2p, LibP2P} using Go's standard
go-github-com-multiformats-go-multiaddr
go-github-com-multiformats-go-multibase
go-github-com-multiformats-go-multihash
go-github-com-probe-lab-go-libdht
go-github-com-whyrusleeping-go-keyspace
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-metric
@@ -2007,7 +2038,7 @@ kab-dht}. This DHT is modeled after Kademlia with S/Kademlia modifications.")
(define-public go-github-com-libp2p-go-libp2p-pubsub
(package
(name "go-github-com-libp2p-go-libp2p-pubsub")
(version "0.13.0")
(version "0.16.0")
(source
(origin
(method git-fetch)
@@ -2016,31 +2047,45 @@ kab-dht}. This DHT is modeled after Kademlia with S/Kademlia modifications.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "14afjrgfbmlrnjd5xnl70ff95mbvfxp9n8mx3hrw8069bcpzvm2k"))))
(base32 "03nh7lbzy51yyfgi6lqlyxz91il05axvis0nq3zfi8c98dadzr5j"))))
(build-system go-build-system)
(arguments
(list
;; TODO: Tests may need some adjustments as they take quite a lot of
;; time to finish.
#:tests? #f
#:import-path "github.com/libp2p/go-libp2p-pubsub"
#:test-flags
#~(list "-short"
"-skip" (string-join
;; Expencive tests, which takes more than 10s to pass
;; and accumulate hard timeout; succeeded after 235.9
;; seconds with 16 threads.
(list "TestBasicSeqnoValidatorReplay"
"TestLastSeenCacheNotFoundAfterExpire"
"TestConfigurableMaxMessageSize"
"TestFloodSubPluggableProtocol/won"
"TestGossipsubAttackSpamIHAVE"
"TestGossipsubFanoutMaintenance"
"TestGossipsubGossip"
"TestGossipsubOpportunisticGrafting"
"TestGossipsubRPCFragmentation"
"TestGossipsubStarTopology"
"TestGossipsubStarTopologyWithSignedPeerRecords"
"TestPairwiseInteractionWithPartialMessages"
"TestPeerDisconnect")
"|"))
;; src/github.com/libp2p/go-libp2p-asn-util/asn.go:12:12: pattern
;; sorted-network-list.bin: cannot embed irregular file
;; sorted-network-list.bin
#:embed-files #~(list "sorted-network-list\\.bin")))
(native-inputs
(list go-github-com-libp2p-go-libp2p-testing
go-github-com-stretchr-testify))
(list go-github-com-libp2p-go-libp2p-testing))
(propagated-inputs
(list go-github-com-benbjohnson-clock
go-github-com-gogo-protobuf
go-github-com-ipfs-go-log-v2
go-github-com-libp2p-go-buffer-pool
go-github-com-libp2p-go-libp2p
go-github-com-libp2p-go-msgio
go-github-com-multiformats-go-multiaddr
go-github-com-multiformats-go-varint
go-go-uber-org-zap))
go-github-com-multiformats-go-varint))
(home-page "https://github.com/libp2p/go-libp2p-pubsub")
(synopsis "PubSub implementation for go-libp2p")
(description
@@ -2306,7 +2351,7 @@ types.")
(define-public kubo
(package
(name "kubo")
(version "0.39.0")
(version "0.41.0")
(source
(origin
(method git-fetch)
@@ -2315,7 +2360,7 @@ types.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "17571bm3zp04z6y62mpdi3vsrmx7xrhsyzzz5nssfc4rymp0y4sn"))
(base32 "1fa4szzvgzahv1n5laz11habdj4p43n8sbq5msmp0d95cnqnciyg"))
(modules '((guix build utils)))
(snippet
#~(begin
@@ -2326,7 +2371,7 @@ types.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:go go-1.26
#:install-source? #f
#:embed-files #~(list "sorted-network-list.bin" ".*\\.css" ".*\\.html")
#:unpack-path "github.com/ipfs/kubo"
@@ -2347,8 +2392,7 @@ types.")
"ipfs"
#~(string-append #$output "/bin/ipfs"))
"commands" "completion" "bash")))))))))
(inputs (list go-bazil-org-fuse
go-contrib-go-opencensus-io-exporter-prometheus
(inputs (list go-contrib-go-opencensus-io-exporter-prometheus
go-github-com-anmitsu-go-shlex
go-github-com-blang-semver-v4
go-github-com-caddyserver-certmagic
@@ -2360,9 +2404,9 @@ types.")
go-github-com-dustin-go-humanize
go-github-com-elgris-jsondiff
go-github-com-facebookgo-atomicfile
go-github-com-filecoin-project-go-clock
go-github-com-fsnotify-fsnotify
go-github-com-google-uuid
go-github-com-hanwen-go-fuse-v2
go-github-com-hashicorp-go-version
go-github-com-ipfs-boxo
go-github-com-ipfs-go-block-format
-1
View File
@@ -5193,7 +5193,6 @@ daemon.")
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:install-source? #f
#:import-path "github.com/slackhq/nebula"
#:build-flags
+2
View File
@@ -32,6 +32,7 @@
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-compression)
@@ -333,6 +334,7 @@ and inhibition of alerts.")
(build-system go-build-system)
(arguments
(list
#:go go-1.24
#:skip-build? #t
;; XXX: Check if the most of the tests may be enabled:
;; api/prometheus/v1/api_test.go:1063:23: cannot use 1634644800304
+9 -2
View File
@@ -28,6 +28,7 @@
(define-module (gnu packages sync)
#:use-module (gnu packages acl)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -688,7 +689,13 @@ Feature:
;; As seen in Makefile
(setenv "RCLONE_CONFIG" "/notfound"))))))
(native-inputs
(list go-bazil-org-fuse
(append
;; On aarch64-linux, Go passes '-fuse-ld=gold' when invoking
;; the external linker; provide ld.gold via binutils-gold.
(if (target-aarch64?)
(list binutils-gold)
'())
(list go-bazil-org-fuse
go-github-com-a1ex3-zstd-seekable-format-go-pkg
go-github-com-a8m-tree
go-github-com-aalpar-deheap
@@ -788,7 +795,7 @@ Feature:
go-gopkg-in-natefinch-lumberjack-v2
go-gopkg-in-validator-v2
go-gopkg-in-yaml-v3
go-storj-io-uplink))
go-storj-io-uplink)))
(synopsis "@code{rsync} for cloud storage")
(description "@code{Rclone} is a command line program to sync files and
directories to and from different cloud storage providers.
-1
View File
@@ -73,7 +73,6 @@
#:import-path "github.com/syncthing/syncthing"
;; Check 'go.mod' in the source distribution for the required version of Go.
;; We don't need to install the source code for end-user applications.
#:go go-1.25
#:install-source? #f
#:phases
#~(modify-phases %standard-phases
+4 -4
View File
@@ -2016,7 +2016,7 @@ Expressions, and being faster to type than grep.")
(define-public yq
(package
(name "yq")
(version "4.52.4")
(version "4.53.2")
(source
(origin
(method git-fetch)
@@ -2025,7 +2025,7 @@ Expressions, and being faster to type than grep.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1gha586k0gscgq8jjx3nna70bc0xjy3b8d8gg62wgl9gra6ymfxx"))))
(base32 "10910496h435jdiwmcpdqhc70gyfgbmarhazqcdvii20p58k53aa"))))
(build-system go-build-system)
(arguments
(list
@@ -2062,9 +2062,9 @@ Expressions, and being faster to type than grep.")
go-github-com-yuin-gopher-lua
go-github-com-zclconf-go-cty
go-go-yaml-in-yaml-v4
go-golang-org-x-mod
go-golang-org-x-net
go-golang-org-x-text
go-gopkg-in-op-go-logging-v1))
go-golang-org-x-text))
(home-page "https://mikefarah.gitbook.io/yq/")
(synopsis "Command-line YAML, JSON, XML, CSV, TOML and properties processor")
(description
-1
View File
@@ -1090,7 +1090,6 @@ the date of the most recent commit that modified them
(arguments
(list
#:import-path "go.abhg.dev/gs"
#:go go-1.25
#:install-source? #f
#:build-flags
#~(list (string-append "-ldflags=-X main._version=" #$version))