aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-09gnu: go-mvdan-cc-xurls: Rename variable.Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-mvdan-cc-xurls): Rename variable to go-mvdan-cc-xurls-v2 to reflect current version and Golang import path as seen in go.mod. (xurls): Inherit from go-mvdan-cc-xurls-v2. * gnu/packages/golang.scm (gopls) [native-inputs]: Remove go-mvdan-cc-xurls; add go-mvdan-cc-xurls-v2. * gnu/packages/messaging.scm (senpai): Likewise. * gnu/packages/web.scm (miniflux): Likewise. Change-Id: I16757182dae8b4638d1e431ad1663eee22f76ad1
2024-11-09gnu: go-github-com-google-go-cmdtest: Fix indentationSharlatan Hellseher
* gnu/packages/golang-check.scm (go-github-com-google-go-cmdtest): Fix indentation Change-Id: I078f30d53c867805cbbab416f693ddee2a89d3df
2024-11-09gnu: go-github-com-google-go-cmdtest: Update to 0.4.0.Sharlatan Hellseher
* gnu/packages/golang-check.scm (go-github-com-google-go-cmdtest): Update to 0.4.0. Change-Id: Ia2fcc19cdafeba03d5244dd6faa2e39f1bb10fb6
2024-11-09gnu: Add go-golang-org-x-telemetry-config.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-telemetry-config): New variable. Change-Id: I3958fa220149360ef4008b2c93301a41d5f6e063
2024-11-09gnu: Add go-golang-org-x-telemetry.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-telemetry): New variable. Change-Id: I2a9b53df4f0120a56cf52e4be9ff02660dc7825d
2024-11-09gnu: go-golang-org-x-tools: Update to 0.25.0.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-tools): Update to 0.25.0. [arguments]: <#:phases>: 'check phase disable tests for subdir "go/collgraph", sort alphabetically. [native-inputs]: Add go-github-com-google-go-cmp. Change-Id: I8419f09d283d1332351a0620269ef39e2db32f09
2024-11-09gnu: kubo: Fix build.Sharlatan Hellseher
* gnu/packages/ipfs.scm (kubo): Fix build. [arguments]: <#:phases>: Swap 'fix-embed-go-libp2p-asm-util with 'fix-embed-files, which implements generalized solution to fix embed files issue. Change-Id: I1cc9b6eaf7ca72c0cea81387c9b80853b22dcf83
2024-11-09gnu: go-github-com-libp2p-go-libp2p: Fix build.Sharlatan Hellseher
* gnu/packages/ipfs.scm (go-github-com-libp2p-go-libp2p): Fix build. [arguments]: <#:phases>: Swap 'fix-embed-go-libp2p-asm-util with 'fix-embed-files, which implements generalized solution to fix embed files issue. Change-Id: Ic20c0c2855d8add4e80e33cd617f05bd90f56628
2024-11-09gnu: go-github-com-ipfs-go-ds-badger: Fix build.Sharlatan Hellseher
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ds-badger): Fix build. [arguments]: <#:phases>: Add 'fix-embed-files. Change-Id: I78f43ec2598ab6644e4be0d4d0c2fec665f2551b
2024-11-09gnu: go-github-com-prometheus-statsd-exporter: Fix build.Sharlatan Hellseher
* gnu/packages/prometheus.scm (go-github-com-prometheus-statsd-exporter): Fix build [arguments]: <#:phases>: Rework 'copy-input-to-vendor-directory and 'remove-vendor-directory by consolidating and simplifying them into 'fix-embed-files. Change-Id: I5c255ea17dc9926bf9e2ea9a0a0e662afe9c2e5d
2024-11-09gnu: go-github-com-prometheus-exporter-toolkit: Fix build.Sharlatan Hellseher
* gnu/packages/prometheus.scm (go-github-com-prometheus-exporter-toolkit): Fix build [arguments]: <#:phases>: Add 'fix-embed-editions-defaults-binpb phase; remove 'disable-failing-tests in favor of "-skip" test flags. [native-inputs]: Add go-google-golang-org-protobuf. Change-Id: If573aa261adc3a136a4907267d1427a9f9cfb4d9
2024-11-09gnu: go-github-com-prometheus-client-golang: Fix build.Sharlatan Hellseher
* gnu/packages/prometheus.scm (go-github-com-prometheus-client-golang): Fix build. [arguments]: <#:phases>: Add 'fix-embed-files. Change-Id: Ifdd422e4574291d7a101b28862bc129262b48196
2024-11-09gnu: go-github-com-prometheus-common: Fix build.Sharlatan Hellseher
* gnu/packages/prometheus.scm (go-github-com-prometheus-common): Fix build. [arguments]: <#:phases>: Add 'fix-embed-files. Change-Id: Ia213327d15288315b54b623c4a15837d7d895a69
2024-11-09gnu: go-github-com-dgraph-io-badger: Fix build.Sharlatan Hellseher
* gnu/packages/golang-xyz.scm (go-github-com-dgraph-io-badger): Fix build. [arguments]: <#:phases>: Add 'fix-embed-files; remove 'disable-failing-tests in favor of "-skip" test option. Change-Id: Ib4d91509a0c6a83c8108a47ae2bd6254df53b430
2024-11-09gnu: go-github-com-libp2p-go-msgio: Fix build.Sharlatan Hellseher
* gnu/packages/golang-xyz.scm (go-github-com-libp2p-go-msgio): Fix build. [arguments]: <#:phases>: Add 'fix-embed-files. Change-Id: I39c59d5483d5af7968cde30a883fbcdaf08bebb1
2024-11-09gnu: go-github-com-golang-groupcache: Fix build.Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-golang-groupcache): Fix build. [arguments]: <#:phases>: Add 'fix-embed-files. Change-Id: I69f1df0a64176d3a0483ebf38840302d7e5a5d18
2024-11-09gnu: go-github-com-golang-groupcache: Fix indentation.Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-golang-groupcache): Fix indentation. Change-Id: I40bf67a27f71844669deedd4106aec51760a0d46
2024-11-09gnu: go-github-com-golang-groupcache: Update to ↵Sharlatan Hellseher
0.0.0-20210331224755-41bb18bfe9da. * gnu/packages/golang-web.scm (go-github-com-golang-groupcache): Update to 0.0.0-20210331224755-41bb18bfe9da. Change-Id: I9dbc112050259ad609d2b1e0e3a9dcb742473a06
2024-11-09gnu: go-google-golang-org-protobuf: Enable all testsSharlatan Hellseher
* gnu/packages/golang-build.scm (go-google-golang-org-protobuf) [arguments]: <#:phases>: Remove 'disable-failing-tests. Change-Id: Iaec1e3238765e20ce7caecf60cdae7bc236161fc
2024-11-09gnu: go-github-com-golang-protobuf: Update to 1.5.4.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-github-com-golang-protobuf): Update to 1.5.4. [arguments]: <#:phases>: Add 'fix-embed-files. [native-inputs]: Add go-github-com-google-go-cmp. Change-Id: I9ee7bb07cd9718345bace243ca2bf0afa99ef411
2024-11-09gnu: go-google-golang-org-protobuf: Update to 1.34.2.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-google-golang-org-protobuf): Update to 1.34.2. Change-Id: I4151652887b855b5af1ecddad2d03e3aa9dc8500
2024-11-09gnu: go-golang-org-x-xerrors: Fix indentation.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-xerrors): Fix indentation, apply new list style. Change-Id: I2c83816293f299cac9bc641a7710fedcc1419f3a
2024-11-09gnu: go-golang-org-x-xerrors: Update to 0.0.0-20200804184101-5ec99f83aff1.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-xerrors): Update to 0.0.0-20200804184101-5ec99f83aff1. Change-Id: I85ba367e0b1b1f38f10326f8a29e664e59c3dc07
2024-11-09gnu: go-golang-org-x-text: Update to 0.18.0.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-text): Update to 0.18.0. Change-Id: I3a00af2d3392d1a3e20e95883e385a06f62d4c80
2024-11-09gnu: go-golang-org-x-term: Update to 0.24.0.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-term): Update to 0.24.0. Change-Id: Ib4fab73d7bb7d214a71498ec2f287ee276d3ad5b
2024-11-09gnu: go-golang-org-x-sys: Update to 0.25.0.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-sys): Update to 0.25.0. Change-Id: I4bdcca9010542c8fc99eb387457ecb888213ec06
2024-11-09gnu: go-golang-org-x-net: Update to 0.29.0.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-net): Update to 0.29.0. Change-Id: Ice5bd90a97d203537ef2c8e860423586c0c29294
2024-11-09gnu: go-golang-org-x-mod: Update to 0.21.0.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-mod): Update to 0.21.0. Change-Id: Ic1ade4156426e10b2cb26c8b6271f3ff8a5e1631
2024-11-09gnu: go-golang-org-x-image: Update to 0.20.0.Sharlatan Hellseher
* gnu/packages/golang-build.scm (go-golang-org-x-image): Update to 0.20.0. Change-Id: I3ef3746b1c7c44b7d6d6abe9caeb2bfc24d9635e
2024-11-09gnu: packages/golang-crypto: Apply #:subdir parameter.Sharlatan Hellseher
* gnu/packages/golang-crypto.scm (go-github-com-decred-dcrd-crypto-blake256, go-github-com-decred-dcrd-dcrec-secp256k1-v4) [source]: Apply new <#:subdir> parameter for monorepo projects. Change-Id: I85004b257c767ce202129e621d78b285d4578f7a
2024-11-09import/go: Add diagnostics.Christina O'Donnell
guix/import/go.scm (go-module-available-versions): Add warning when fetching a list of versions from the proxy fails and raise exception when no version can be found at all. (module-path->repository-root): Warn when all attempts to find the repository root have failed. (fetch-module-meta-data): Raise exception when no meta element could be found. (go-module->guix-package): Catch general exceptions and warn that the package could not be imported. Change-Id: I6dcdccc71f54bfec7110f6bfc5aeb8855502d1e3 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09import/go: Account for monorepo modules in the Go importer.Christina O'Donnell
This change allows for importing of modules situated in repos where they're not at the root directory. * guix/import/go.scm (go-module-verstion-string): Delete (go-module-version-info): New procedure (module-path->repository-root): Add parameter (vcs->origin): Add parameter (path-diff): New procedure Change-Id: If50f7a951ce8e527e5ea44ed24db10d6a3676ff0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09build-system/go: Add subdir parameter to go-version->git-ref.Christina O'Donnell
This implements logic to handle cases where Go can have multiple modules at different versions within a single repository. It distinguishes their releases by using tags along with their subdirectories. See https://go.dev/ref/mod#vcs-version. * guix/build-system/go.scm (go-version->git-ref): Add <#:subdir> keyword parameter and extend condition checks. Change-Id: I68bc9e785e49877bb0b756de8458308549f4c957 Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09gnu: go-1.20: Build with gccgo-12 on some systems.Efraim Flashner
* gnu/packages/golang.scm (go-1.20)[native-inputs]: Don't replace the gccgo input on architectures bootstrapping go with it. Change-Id: I26831b2bcfe623f6eb0ac7c16b463e5e873110e6 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09gnu: go-1.23: Update to 1.23.1.Brennan Vincent
* gnu/packages/golang.scm (go-1.23): Update to 1.23.1. Change-Id: I2f5c377ae8009facd899d1cd3d0f6e2fe89fcf14 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09build-system/go: Allow providing additional test flags.Troy Figiel
By allowing the use of test flags, we can more precisely skip failing tests (for go version >=1.20), disable the vetting stage or select a subset of tests (e.g. if an upstream flag is provided to skip tests which require a network connection). At the moment, the only way around these test failures is to remove the test file completely or patch the code ourselves. * guix/build-system/go.scm (go-build): Add test-flags variable. (go-cross-build): Add test-flags variable. * guix/build/go-build-system.scm (check): Pass the additional test flags to the invoke call. * doc/guix.texi (go-build-system): Document <#:test-flags> parameter. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Change-Id: I4015870fbbc15503cb405fe9ef6032953a5ff17f
2024-11-09import/go: Add comment about monorepo.Sharlatan Hellseher
* guix/import/go.scm: Clarify what is monorepo in Go ecosystem. Change-Id: I86e35db4f02bfacb3df15a330ca1fde373b3cc13
2024-11-09gnu: go-github-com-aws-aws-sdk-go-v2: Update to 1.30.5.Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-aws-aws-sdk-go-v2): Update to 1.30.5. [propagated-inputs]: Remove go-github-com-google-go-cmp. Change-Id: I87c1cf86c707fb3c4e369d58ac69a2a8b806ef80
2024-11-09gnu: Remove go-github-com-rylans-getlang.Sharlatan Hellseher
Not in use by any packages in Guix, no updates for 4y. * gnu/packages/golang.scm (go-github-com-rylans-getlang): Delete variable. Change-Id: I6a7e1201d52166fc43b5e99e38181c6a5dedea69
2024-11-09gnu: Remove go-github-com-kyoh86-xdg.Sharlatan Hellseher
Not in use by any packages in Guix: "This repository has been archived by the owner on May 25, 2021. It is now read-only." * gnu/packages/golang.scm (go-github-com-kyoh86-xdg): Delete variable. Change-Id: If80ceb32e4624f08d04cb0270341cac41e6b11fb
2024-11-09gnu: Add go-github-com-deckarep-golang-set-v2.Sharlatan Hellseher
* gnu/packages/golang-xyz.scm (go-github-com-deckarep-golang-set-v2): New variable. Change-Id: I0e59fecfeba327c4f926c94b65f7bc8c42750fda
2024-11-09gnu: go-github-com-deckarep-golang-set: Move to golang-xyz.Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-deckarep-golang-set): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I10c1c8b2e0ad69913068cf89bc646a4ceb471c8f
2024-11-09gnu: go-github-com-operatorfoundation-monolith-go: Update to 1.0.10.Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-operatorfoundation-monolith-go): Update to 1.0.10. Change-Id: Ib1777f2d34ca57d97eaa1f4acab9afd0dbe28bee
2024-11-09gnu: Add go-html2text.Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-html2text): New variable. (go-github-com-jaytaylor-html2text) [source]: Adjust module import path to use in CLI. Change-Id: Ia440d027cb02a1d6584c6f32ff81353b22d4145a
2024-11-09gnu: go-github-com-jaytaylor-html2text: Move to golang-web.Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Move from here ... * gnu/packages/golang-web.scm ... to here. Change-Id: Ie2e79aa4a7f034579433f9ea7d55bcfdea1b90d8
2024-11-09gnu: go-github-com-jaytaylor-html2text: Enable tests.Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Enable tests. Change-Id: I014b718d13ce4b266acdb617acc35a3ef9b0ce28
2024-11-09gnu: go-github-com-jaytaylor-html2text: Update to ↵Sharlatan Hellseher
0.0.0-20230321000545-74c2419ad056. * gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Update to 0.0.0-20230321000545-74c2419ad056. Change-Id: Ibe7aacec03a4b8b4e3df7f8a8c871a7f072b6fc9
2024-11-09gnu: go-github-com-gogs-chardet: Move to golang-xyz.Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gogs-chardet): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I88666bcaf2e8ea62274a0b01a5cf7247da160fa2
2024-11-09gnu: go-github-com-jhillyerd-enmime: Update to 1.3.0.Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jhillyerd-enmime): Update to 1.3.0. [propagated-inputs]: Remove go-github-com-go-test-deep. [native-inptus]: Add go-github-com-go-test-deep. Change-Id: Ie57f6739250ffcaf1b24564b8fba44fdd2d52fce
2024-11-09gnu: Remove go-github-com-niemeyer-pretty.Sharlatan Hellseher
Not in use by any other packages, not maintained fork of <https://github.com/kr/pretty>. * gnu/packages/golang.scm (go-github-com-niemeyer-pretty): Delete variable. Change-Id: I6b3340fa95a6bdf6735cace1bcd979766afd6453