Commit graph

1488 commits

Author SHA1 Message Date
Sharlatan Hellseher
9ff0a39943
gnu: build/go: Apply default 'fix-embed-files phase.
These changes remove redundant phases where files, requiring to be embed
during build or check phases, are copied to the build directory as
proposed in <https://issues.guix.gnu.org/73299>.

* gnu/packages/backup.scm (restic-rest-server) [arguments]: <#:phases>:
Remove 'fix-embed-files phase.
* gnu/packages/configuration-management.scm (chezmoi): Likewise.
* gnu/packages/packages/golang-build.scm (go-github-com-golang-protobuf): Likewise.
* gnu/packages/golang-web.scm (go-github-com-go-openapi-loads,
go-github-com-go-openapi-runtime, go-github-com-golang-groupcache): Likewise.
* gnu/packages/golang-xyz.scm (go-github-com-dgraph-io-badger): Likewise.
* gnu/packages/golang.scm (go-github-com-ssgelm-cookiejarparser): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ds-badger,
go-github-com-libp2p-go-libp2p, kubo): Likewise.
* gnu/packages/irc.scm (soju): Likewise.
* gnu/packages/networking.scm (nebula): Likewise.
* gnu/packages/prometheus.scm (go-github-com-nbrownus-go-metrics-prometheus,
go-github-com-prometheus-client-golang, go-github-com-prometheus-common,
go-github-com-prometheus-common-sigv4, go-github-com-prometheus-exporter-toolkit,
go-github-com-prometheus-statsd-exporter): Likewise
* gnu/packages/version-control.scm (git-lfs): Likewise.
* gnu/packages/web.scm (miniflux): Likewise.

* gnu/packages/golang-crypto.scm (go-filippo-io-age): [arguments]:
<#:phases>: Remove 'copy-input-to-vendor-direcotyr and
'remove-vendor-directory phases.
* gnu/packages/golang-web.scm (go-github-com-go-openapi-analysis,
go-github-com-go-openapi-analysis, go-github-com-go-openapi-validate): Likewise.
* gnu/packages/golang.scm (go-github-com-charmbracelet-glamour): Likewise.
* gnu/packages/textutils.scm (vale): Likewise.

Change-Id: Ic2ec01c8caf86f3ae69d7a1812c1e0b78a549e91
2024-11-09 21:33:51 +00:00
Sharlatan Hellseher
8861d9e1d0
gnu: Add go-github-com-bmatcuk-doublestar-v3.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar-v3): New variable.

Change-Id: I5d629750abef81f1b4f5ec8bb0cdb0e2f219d3e2
2024-11-09 21:33:47 +00:00
Sharlatan Hellseher
e6cc3a4743
gnu: go-github-com-go-git-go-billy-v5: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-go-git-go-billy-v5): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I40d1c024b52f0530a80657d5a2416b244447be93
2024-11-09 21:33:47 +00:00
Sharlatan Hellseher
9399db35c2
gnu: go-github-com-go-git-go-billy: Rename variable.
* gnu/packages/golang.scm (go-github-com-go-git-go-billy): Rename
variable to go-github-com-go-git-go-billy-v5 to reflect go.mod import path.

* gnu/packages/golang-xyz.scm (go-github-com-go-git-go-git-fixtures-v4)
[propagated-inputs]: Remove go-github-com-go-git-go-billy; add
go-github-com-go-git-go-billy-v5.
* gnu/packages/version-control.scm (go-github-go-git): Likewise.

Change-Id: I49a776ba4db859bdebc1aa93cdf78e4c4903ed78
2024-11-09 21:33:47 +00:00
Sharlatan Hellseher
a4ca819384
gnu: go-github-com-go-git-go-billy: Update to 5.5.0.
* gnu/packages/golang.scm (go-github-com-go-git-go-billy): Update to 5.5.0.
[propagated-inputs]: Add go-github-com-cyphar-filepath-securejoin.
[native-inputs]: Add go-github-com-onsi-gomega.

Change-Id: I1bea1c54507e4c23d770bbe1bbce722799f026a8
2024-11-09 21:33:46 +00:00
Sharlatan Hellseher
72e51acb8e
gnu: go-github-com-go-git-go-git-fixtures-v4: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-go-git-go-git-fixtures-v4):
Mover from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Ib7c6ec2817fa7358b8a5afc6f1fe08b628b32fe5
2024-11-09 21:33:46 +00:00
Sharlatan Hellseher
23e8853944
gnu: go-github-com-go-git-go-git-fixtures-v4: Keep all phases.
* gnu/packages/golang.scm (go-github-com-go-git-go-git-fixtures-v4): Keep all phases.

Change-Id: I76e6ef5bc5551612672a2cd13330532928054c1c
2024-11-09 21:33:46 +00:00
Sharlatan Hellseher
292bb140e5
gnu: go-github-com-go-git-go-git-fixtures: Rename variable.
* gnu/packages/golang.scm (go-github-com-go-git-go-git-fixtures): Rename
variable to go-github-com-go-git-go-git-fixtures-v4 to reflect go.mod
import path.
* gnu/packages/version-control.scm (go-github-go-git)
[propagated-inputs]: Remove go-github-com-go-git-go-git-fixtures; add
go-github-com-go-git-go-git-fixtures-v4.

Change-Id: I8a25dfd3715fdf65ed789f9b0a902d7e6df4e9bd
2024-11-09 21:33:46 +00:00
Sharlatan Hellseher
43a8d07d22
gnu: go-github-com-go-git-go-git-fixtures: Update to 4.3.1.
* gnu/packages/golang.scm (go-github-com-go-git-go-git-fixtures): Update to 4.3.1.
[propagated-inputs]: Add go-github-com-go-git-go-billy and go-gopkg-in-check-v1.
[native-inputs]: Remove go-github-com-alcortesm-tgz, go-github-com-go-git-go-billy,
go-golang-org-x-sys, and go-gopkg-in-check-v1; add
go-github-com-stretchr-testify.

Change-Id: Ibe88981fd0dfc45651d7d4fa1f42a82f54472468
2024-11-09 21:33:46 +00:00
Sharlatan Hellseher
6a4a746e8b
gnu: go-github-com-google-gopacket: Move to golang-web.
* gnu/packages/golang.scm (go-github-com-google-gopacket): Move from
here ...
* gnu/packages/golang-web.scm: ... to here.

Change-Id: Ie56b693ee156c6636fe339fdb733ac344b627fd0
2024-11-09 21:33:45 +00:00
Sharlatan Hellseher
d265bffc4f
gnu: go-github-com-google-btree: Move to golang-build.
* gnu/packages/golang.scm (go-github-com-google-btree): Move from here ...
* gnu/packages/golang-build.scm: ... to here.

Change-Id: I91c659b9031291a4e6c43b024dedaa1bfcb7cea3
2024-11-09 21:33:45 +00:00
Sharlatan Hellseher
66c2875952
gnu: go-github-com-google-btree: Update to 1.1.3.
* gnu/packages/golang.scm (go-github-com-google-btree): Update to 1.1.3.

Change-Id: I958a903b01ed1f30071bd122f5585f6abf8dc921
2024-11-09 21:33:45 +00:00
Sharlatan Hellseher
dc1b7e1828
gnu: go-github-com-google-uuid: Move to golang-build.
* gnu/packages/golang.scm (go-github-com-google-uuid): Move from here ...
* gnu/packages/golang-build.scm: ... to here.

Change-Id: Ie32c2ab29a0b7a1bbb7d63d40338d0a7a0bca988
2024-11-09 21:33:45 +00:00
Sharlatan Hellseher
838d282530
gnu: go-github-com-jonboulle-clockwork: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-jonboulle-clockwork): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Idf7a5958a856507f37d54771d6f4881b367ed39e
2024-11-09 21:33:45 +00:00
Sharlatan Hellseher
43e019b561
gnu: go-github-com-jonboulle-clockwork: Fix indentation.
* gnu/packages/golang.scm (go-github-com-jonboulle-clockwork): Fix indentation.

Change-Id: Ib26df73b8635c9bcce64cb3f98c1eb5a76967525
2024-11-09 21:33:45 +00:00
Sharlatan Hellseher
55e77705c4
gnu: go-github-com-jonboulle-clockwork: Update to 0.4.0.
* gnu/packages/golang.scm (go-github-com-jonboulle-clockwork): Update to 0.4.0.

Change-Id: I75f231341968fe3941c6459055fb554f6e77a782
2024-11-09 21:33:45 +00:00
Sharlatan Hellseher
a2a6f0dd82
gnu: go-github-com-tomnomnom-gron: Improve package style.
* gnu/packages/golang.scm (go-github-com-tomnomnom-gron): Improve
package style. Swap [inputs] to [native-inputs] as it's not a library.
Rename variable to "gron" to replace the name.
[arguments]: Use common go-build-system key parameters.
[native-inputs]: Remove lables; remove go-github-com-mattn-go-isatty.

Change-Id: Ic6c3290e121882610dff67fdb74459c28285d6b3
2024-11-09 21:33:45 +00:00
Sharlatan Hellseher
87e551680e
gnu: go-github-com-google-goterm: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-google-goterm): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I9f97ecc4a8b4c19cae3766bfed6368bbb74cb439
2024-11-09 21:33:44 +00:00
Sharlatan Hellseher
2260ff7393
gnu: go-github-com-google-goterm: Fix indentation.
* gnu/packages/golang.scm (go-github-com-google-goterm): Fix indentation.

Change-Id: I70843d52e1ec205c5903a69b5eb0ed8807291ddd
2024-11-09 21:33:44 +00:00
Sharlatan Hellseher
b71eea21ed
gnu: go-github-com-google-goterm: Update to 0.0.0-20200907032337-555d40f16ae2.
* gnu/packages/golang.scm (go-github-com-google-goterm): Update to 0.0.0-20200907032337-555d40f16ae2.

Change-Id: Ie6a1258f88f9630a9dd946f5cf4a252e8b0f90e8
2024-11-09 21:33:44 +00:00
Sharlatan Hellseher
054fda25eb
gnu: go-github-com-google-go-querystring: Move to golang-web.
* gnu/packages/golang.scm (go-github-com-google-go-querystring): Move
from here ...
* gnu/packages/golang-web.scm: ... to here.

Change-Id: Id2447d337708794bbf1f32791245b0687df5f19d
2024-11-09 21:33:44 +00:00
Sharlatan Hellseher
431ebc223b
gnu: go-github-com-google-go-querystring: Fix indentation.
* gnu/packages/golang.scm (go-github-com-google-go-querystring): Fix indentation.

Change-Id: I5f61abbc5f2697c5b2912007fd924e178c97c740
2024-11-09 21:33:44 +00:00
Sharlatan Hellseher
316ef05c02
gnu: go-github-com-google-go-querystring: Update to 1.1.0.
* gnu/packages/golang.scm (go-github-com-google-go-querystring): Update to 1.1.0.
[native-inputs]: Add go-github-com-google-go-cmp.

Change-Id: I495c34a4a29718fcaaee4d7f3f307ec81895e6d4
2024-11-09 21:33:44 +00:00
Sharlatan Hellseher
4b7a0b83c1
gnu: Remove go-github-com-jba-printsrc.
It's not in use by any packages in Guix, no updates for 3y.

* gnu/packages/golang.scm (go-github-com-jba-printsrc): Delete variable.

Change-Id: I6bfa658be1cf2846fa94d408da3baf11da01d779
2024-11-09 21:33:44 +00:00
Sharlatan Hellseher
a59917ea8f
gnu: gopls: Update to 0.16.2.
* gnu/packages/golang.scm (gopls): Update to 0.16.2.
[native-inputs]: Remove go-github-com-jba-printsrc, go-github-com-sergi-go-diff,
go-golang-org-x-sys, and go-golang-org-x-tools; add
go-golang-org-x-telemetry.

Change-Id: Ia21d8816796d424c6dc83441469385eaa24f6031
2024-11-09 21:33:43 +00:00
Sharlatan Hellseher
05299e344a
gnu: go-golang-org-x-vuln: Move to golang-build.
* gnu/packages/golang.scm (go-golang-org-x-vuln, govulncheck): Move from
here ...
* gnu/packages/golang-build.scm: ... to here.

Change-Id: I5fc09c4e9e156005f494e532339a05b6c8b395ad
2024-11-09 21:33:43 +00:00
Sharlatan Hellseher
744d2a563d
gnu: go-golang-org-x-vuln: Update to 1.1.3.
* gnu/packages/golang.scm (go-golang-org-x-vuln): Update to 1.1.3.
[propagated-inputs]: Remove go-golang-org-x-exp; add go-golang-org-x-telemetry.
(govulncheck) [native-inputs]: Remove coreutils-minimal.

Change-Id: I01e516597ff905fcda571127610da8c9521597fd
2024-11-09 21:33:43 +00:00
Sharlatan Hellseher
c6683a148f
gnu: go-mvdan-cc-xurls: Rename variable.
* 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-09 21:33:43 +00:00
Efraim Flashner
ecdca86e1c
gnu: go-1.20: Build with gccgo-12 on some systems.
* 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-09 21:33:39 +00:00
Brennan Vincent
867d7a8b2f
gnu: go-1.23: Update to 1.23.1.
* 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-09 21:33:39 +00:00
Sharlatan Hellseher
a6e95a7202
gnu: Remove go-github-com-rylans-getlang.
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-09 21:33:39 +00:00
Sharlatan Hellseher
a62da8c22a
gnu: Remove go-github-com-kyoh86-xdg.
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-09 21:33:39 +00:00
Sharlatan Hellseher
9a29c9e09e
gnu: go-github-com-deckarep-golang-set: Move to golang-xyz.
* 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-09 21:33:39 +00:00
Sharlatan Hellseher
4e1e6beaf9
gnu: go-github-com-operatorfoundation-monolith-go: Update to 1.0.10.
* gnu/packages/golang.scm (go-github-com-operatorfoundation-monolith-go): Update to 1.0.10.

Change-Id: Ib1777f2d34ca57d97eaa1f4acab9afd0dbe28bee
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
856e342fd7
gnu: go-github-com-jaytaylor-html2text: Move to golang-web.
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Move from here ...
* gnu/packages/golang-web.scm ... to here.

Change-Id: Ie2e79aa4a7f034579433f9ea7d55bcfdea1b90d8
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
39f0bd003b
gnu: go-github-com-jaytaylor-html2text: Enable tests.
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Enable tests.

Change-Id: I014b718d13ce4b266acdb617acc35a3ef9b0ce28
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
2d5fef2d59
gnu: go-github-com-jaytaylor-html2text: Update to 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-09 21:33:38 +00:00
Sharlatan Hellseher
2f4175c16f
gnu: go-github-com-gogs-chardet: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-gogs-chardet): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I88666bcaf2e8ea62274a0b01a5cf7247da160fa2
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
f9786d2519
gnu: Remove go-github-com-niemeyer-pretty.
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
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
56f663870f
gnu: go-github-com-lithammer-fuzzysearch: Move to golang-xyz.
gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): Move from
here ...
gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Ica80efe706f97694f5f6584fe64f9a764e5d082b
2024-11-09 21:33:37 +00:00
Sharlatan Hellseher
e4fcdc52bb
gnu: go-github-com-lithammer-fuzzysearch: Enable tests.
* gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): Enable tests.

Change-Id: Ib040db7321d33e2dfdefa37b59bcc095ea96dbb2
2024-11-09 21:33:37 +00:00
Artyom V. Poptsov
93c632ea8d
gnu: go-github-com-arceliar-ironwood: Update to v0.0.0-20241016082300-f6fb9da97a17.
* gnu/packages/golang.scm (go-github-com-arceliar-ironwood): Update to v0.0.0-20241016082300-f6fb9da97a17.

Change-Id: Ic1007a777545169f024bebe0cd50ac48e25bb2e6
2024-10-22 22:26:15 +03:00
André Batista
8e04c68010
gnu: go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird: Update to 0.3.0.
* gnu/packages/golang.scm (go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird):
Update to 0.3.0.
[propagated-inputs]: Add go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-webtunnel.

Change-Id: Iac17163aab6e6010f9fa569fcaf51b217084a572
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-09-30 22:52:23 +02:00
André Batista
bb1480a38d
gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-webtunnel.
* gnu/packages/golang.scm
  (go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-webtunnel):
  New variable.

Change-Id: I84ef723ea03822bd5abf655914f44fb53fd865e2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-09-30 22:52:23 +02:00
Sharlatan Hellseher
386a1c77af
gnu: go-github-com-go-git-go-git-fixtures: Disable tests on non 64bit architectures.
* gnu/packages/golang.scm (go-github-com-go-git-go-git-fixtures)
[arguments]: <#:tests?>: Preserve test only on 64 bit architectures.

Change-Id: Iab92ef9541d3cc2195eda784e0b9cf2e7c3597c0
2024-09-03 15:43:11 +01:00
Sharlatan Hellseher
b60f731c68
gnu: go-github-com-zalando-go-keyring: Enable tests.
* gnu/packages/golang.scm (go-github-com-zalando-go-keyring)
[arguments]: <#:phases>: Add 'disable-failing-tests phase, use custom 'check.
[propagated-inputs]: Remove dbus.
[native-inputs]: Add dbus.

Change-Id: I06ba340ef936fef006b7b804688b2ca2863d00a2
2024-09-03 15:43:09 +01:00
Sharlatan Hellseher
5e2d4317d1
gnu: go-github-com-zalando-go-keyring: Update to 0.2.5.
* gnu/packages/golang.scm (go-github-com-zalando-go-keyring): Update to 0.2.5.
[propagated-inputs]: Remove go-github-com-godbus-dbus; add go-github-com-godbus-dbus-v5.

Change-Id: I21fafc683ae802e0ca7b6bdb9e1bb100f25879f9
2024-09-03 15:43:09 +01:00
Sharlatan Hellseher
d54385946a
gnu: go-github-com-gsterjov-go-libsecret: Improve package style.
* gnu/packages/golang.scm (go-github-com-gsterjov-go-libsecret): Fix
indentation. Swap [native-inputs] with [propagated-inputs] as
go-gihub-com-godubs-dbus is required during build time. Adjust order of
fields.
[synopsis]: Apply TexLive formatting.
[description]: Likewise.

Change-Id: I6ed08095839b6e76de070699753e088f86e256a1
2024-09-03 15:43:09 +01:00
Sharlatan Hellseher
9579f37bcc
gnu: go-github-com-gsterjov-go-libsecret: Update to 0.0.0-20161001094733-a6f4afe4910c.
* gnu/packages/golang.scm (go-github-com-gsterjov-go-libsecret): Update to 0.0.0-20161001094733-a6f4afe4910c.
[propagated-inputs]: Add go-github-com-godbus-dbus.
[native-inputs]: Remove go-github-com-godbus-dbus.

Change-Id: I98b6e2353bb04521a838a8e1e828cc25ccbcad35
2024-09-03 15:43:09 +01:00
Sarah Morgensen
c293aa1d6f
gnu: go-github-com-godbus-dbus: Enable tests.
* gnu/packages/golang.scm (go-github-com-godbus-dbus): Enable tests.
[arguments] <#:phases>: Add 'disable-failing-tests phase. Override
'check phase to run tests within a dbus session.

Change-Id: Ib27d33363d4d7071e91380588413ae035ae9609f
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-09-03 15:43:09 +01:00