Sharlatan Hellseher
622e44b306
gnu: go-github-com-savsgio-gotils: Simplify.
...
* gnu/packages/golang.scm (go-github-com-savsgio-gotils): Simplify and
improve style.
[arguments]: Use default 'build, 'check and 'install.
<skip-build?>: No go files in project's root.
[propagated-inputs]: Add go-github-com-google-uuid and
go-github-com-valyala-bytebufferpool.
[native-inputs]: Remove go-github-com-google-uuid and
go-github-com-valyala-bytebufferpool.
Change-Id: I976c1ac2c3c81fb3510d522810100c4e277c50ca
2025-01-11 23:39:45 +00:00
Sharlatan Hellseher
928227fa73
gnu: go-github-com-juju-ansiterm: Move to golang-xyz.
...
* gnu/packages/golang.scm (go-github-com-juju-ansiterm): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I30480f256c3b711065bd91910d248d501cb574c4
2025-01-11 23:39:44 +00:00
Sharlatan Hellseher
13c79e3698
gnu: go-github-com-juju-ansiterm: Update to 1.0.0.
...
* gnu/packages/golang.scm (go-github-com-juju-ansiterm): Update to 1.0.0.
Change-Id: Ic5a33f16ea60f177de5bae616d2bf841121d2983
2025-01-11 23:39:44 +00:00
Sharlatan Hellseher
90e5ffcd3a
gnu: go-github-com-pkg-diff: Move to golang-xyz.
...
* gnu/packages/golang.scm (go-github-com-pkg-diff): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I0db7f5cf44a11e53ec19575a4c2d1d4917658276
2025-01-11 23:39:44 +00:00
Sharlatan Hellseher
d546c292ab
gnu: go-github-com-pkg-diff: Update to 0.0.0-20241224192749-4e6772a4315c.
...
* gnu/packages/golang.scm (go-github-com-pkg-diff): Update to 0.0.0-20241224192749-4e6772a4315c.
Change-Id: I9e701964d1acc3923214739b7bb3a9efa187ff24
2025-01-11 23:39:44 +00:00
Sharlatan Hellseher
807ace8ab3
gnu: go-github-com-delthas-go-localeinfo: Move to golang-xyz.
...
* gnu/packages/golang.scm (go-github-com-delthas-go-localeinfo): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: Icd8b6647bd7c2bbe1e385c4c6ec6571c3fb39d96
2025-01-11 23:39:44 +00:00
Sharlatan Hellseher
5188816023
gnu: go-github-com-delthas-go-localeinfo: Update to 0.0.0-20240813094314-e5413e186769.
...
* gnu/packages/golang.scm (go-github-com-delthas-go-localeinfo): Update
to 0.0.0-20240813094314-e5413e186769.
[arguments] <tests?>: Enable them as all passing successfully.
Change-Id: Id8fd3b63ce18c626aac103edb331160c464267db
2025-01-11 23:39:44 +00:00
Sharlatan Hellseher
0507f1a017
gnu: packages/calendar: Remove golang module.
...
* gnu/packages/calendar.scm: As all Golang dependencies were shifted to
corresponded submodules, remove not required "golang" module from used
ones.
Change-Id: Ib2bea914097c9395bf8819d740a2662f477ec197
2025-01-11 23:39:44 +00:00
Sharlatan Hellseher
4a266e3245
gnu: go-github-com-maruel-panicparse: Move to golang-check.
...
* gnu/packages/golang.scm (go-github-com-maruel-panicparse): Move from
here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: Ib11a56341d3c77bb87a1eef21956482df7e1b50d
2025-01-11 23:39:44 +00:00
Sharlatan Hellseher
f2a5062e75
gnu: go-github-com-maruel-panicparse: Update to 1.6.2.
...
* gnu/packages/golang.scm (go-github-com-maruel-panicparse): Update to 1.6.2.
[propagated-inputs]: Add go-github-com-mattn-go-colorable, go-github-com-mattn-go-isatty,
go-github-com-mgutz-ansi, and go-golang-org-x-sys.
[native-inputs]: Add go-github-com-google-go-cmp.
Change-Id: Iea1a0070bec1d13a2819b0798c118ad14e9cc304
2025-01-11 23:39:44 +00:00
Sharlatan Hellseher
d1df263e95
gnu: go-github-com-docker-go-connections: Fix bulid.
...
* gnu/packages/golang.scm (go-github-com-docker-go-connections)
[arguments] <test-flags>: Skip 2 tests.
Change-Id: I0c7df7fefae4c19f5c39367f66982ce4a58dd843
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
a3afce0223
gnu: Add go-github-com-lyft-protoc-gen-star-v2.
...
* gnu/packages/golang-xyz.scm (go-github-com-lyft-protoc-gen-star-v2): New variable.
Change-Id: I30bbe7463d02164e1bbd33d28a7f387ec6599f88
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
bd3e2ba0be
gnu: go-github-com-koron-go-ssdp: Simplify.
...
* gnu/packages/golang-web.scm (go-github-com-koron-go-ssdp): Simplify.
[arguments] <test-flags>: Move test skip logic here.
<phases>: Use default 'check.
Change-Id: I4bcba4e387f7d74f11c812dbe49ef4b9a94a31bd
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
f59b0d007a
gnu: Add go-github-com-levigross-grequests.
...
* gnu/packages/golang-web.scm (go-github-com-levigross-grequests): New variable.
Change-Id: I0ada84dde4199f6ad395ab593da3a033e049ef80
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
e08981e3de
gnu: Add go-github-com-mmcdole-goxpp.
...
* gnu/packages/golang-xyz.scm (go-github-com-mmcdole-goxpp): New variable.
Change-Id: I365377e5ccb1befdec46e8d91d99bbf4b7d32b49
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
121385fa6c
gnu: go-github-com-shadowsocks-go-shadowsocks2: Simplify.
...
* gnu/packages/golang-crypto.scm (go-github-com-shadowsocks-go-shadowsocks2)
[arguments] <phases>: Use default 'check.
Change-Id: I3a82a65b93a44a90804989a75d7238918702e4bf
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
0257530ea9
gnu: Add go-github-com-shogo82148-go-shuffle.
...
* gnu/packages/golang-crypto.scm (go-github-com-shogo82148-go-shuffle): New variable.
Change-Id: Ie5bfed1f056776a7b6e8e64103dd6844440111cd
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
ddc8f9d2c5
gnu: vale: Simplify.
...
* gnu/packages/textutils.scm (vale): Simplify.
[arguments] <test-flags>: Move skipped tests here.
<phases>: Use default 'check, add 'pre-check.
Change-Id: I133f6c6763d4643b595ffddec85a3bf7ad1d24fe
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
afd0871e39
gnu: go-github-com-expr-lang-expr: Fix build.
...
* gnu/packages/golang-xyz.scm (go-github-com-expr-lang-expr) [source]
<snippet>: Delete submodules with their own go.mod files which need to
be packed separately.
Change-Id: Ie99734135bf8fdc4525b856d232485501cdd12d7
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
87b93ea81f
gnu: Add go-gopkg-in-vmihailenco-msgpack-v2.
...
* gnu/packages/golang-xyz.scm (go-gopkg-in-vmihailenco-msgpack-v2): New variable.
Change-Id: I09b8e71702ca169ec55a30e480529ef06fa0b574
2025-01-11 23:39:43 +00:00
Sharlatan Hellseher
6f0b9c482e
gnu: Add go-github-com-sean--seed.
...
* gnu/packages/golang-crypto.scm (go-github-com-sean--seed): New variable.
Change-Id: I34032fe96c0e5209e30d8d7e6a07457509343341
2025-01-11 23:39:42 +00:00
Sharlatan Hellseher
2b091cfcbe
gnu: go-github-com-beorn7-perks: Simplify.
...
* gnu/packages/golang-xyz.scm (go-github-com-beorn7-perks): Update to 1.0.1.
[arguments] <skip-build?>: Set to #t, as no go files in project's root.
<phases>: Use default 'check.
Change-Id: Ie6b535ff8ebd5426f0e067189c603ef9569841eb
2025-01-11 23:39:42 +00:00
Sharlatan Hellseher
fc733ac366
gnu: Add go-github-com-hashicorp-go-sockaddr.
...
* gnu/packages/golang-web.scm (go-github-com-hashicorp-go-sockaddr): New variable.
Change-Id: Iea01aba92c4621db7264928a205bc8fe12136d47
2025-01-11 23:39:42 +00:00
Sharlatan Hellseher
28e5066d9d
gnu: Add go-github-com-mitchellh-cli.
...
* gnu/packages/golang-xyz.scm (go-github-com-mitchellh-cli): New variable.
Change-Id: Ic4f7db874edf8ce313598f42b5beede0bedb1c22
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
684db92bc2
gnu: Add go-github-com-bgentry-speakeasy.
...
* gnu/packages/golang-xyz.scm (go-github-com-bgentry-speakeasy): New variable.
Change-Id: I0ff5c66605b24c264f68c341d31f5015b5eb2d99
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
646a7920d3
gnu: go-github-com-stretchr-testify: Update to 1.10.0.
...
Fix build on non x86_64 architectures by disabling tests.
* gnu/packages/golang-check.scm: Add "guix utils" module.
(go-github-com-stretchr-testify): Update to 1.10.0.
[arguments] <tests?>: Limit them to x86_64 architecture.
Change-Id: Ib157a3824df37e3bc9293ef9278a86573ababef1
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
3de4b0a590
gnu: esbuild: Improve style.
...
* gnu/packages/web.scm (esbuild): Use G-expressions.
[source] <snippet>: Remove trailing #t.
[arguments] <test-flags>: Port Makefile options here.
<test-subdirs>: Likewise.
<phases>: Use default 'check.
[input]: Remove labels.
[description]: Adjust fill-column.
Change-Id: I95269f084e214b2c491b6813a1baf3615d9e79e1
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
38d5e445db
gnu: esbuild: Update to 0.24.0.
...
* gnu/packages/web.scm (esbuild): Update to 0.24.0.
[native-inputs]: Remove go-github-com-kylelemons-godebug.
Change-Id: I163f99ae912270715f62a1ce4aed4e50a115a846
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
416a044975
gnu: Deprecate go-github-com-prometheus-node-exporter.
...
* gnu/packages/monitoring.scm (prometheus-node-exporter): New variable.
(go-github-com-prometheus-node-exporter): Deprecate variable.
Change-Id: Ife482a546906a1150f68391b58fa8ab1b1497a94
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
04552030c1
gnu: go-github-com-prometheus-node-exporter: 1.8.2-0.b8aac7c.
...
* gnu/packages/monitoring.scm: Add golang-build, golang-web, golang-xyz,
and prometheus modules.
(go-github-com-prometheus-node-exporter): 1.8.2-0.b8aac7c.
[arguments] <install-source?>: Skip source installation as it's a final
command.
<build-flags>: Provide ldflags.
<embed-files>: Copy 2 files required as not symlinks.
<phases>: Add 'pre-check and 'post-check - unpacking and removing
provided test data.
[propagated-inputs]: Add go-github-com-alecthomas-kingpin-v2,
go-github-com-beevik-ntp, go-github-com-coreos-go-systemd-v22,
go-github-com-dennwc-btrfs, go-github-com-ema-qdisc,
go-github-com-go-kit-log, go-github-com-godbus-dbus-v5,
go-github-com-hashicorp-go-envparse, go-github-com-hodgesds-perf-utils,
go-github-com-josharian-native, go-github-com-jsimonetti-rtnetlink,
go-github-com-mattn-go-xmlrpc, go-github-com-mdlayher-ethtool,
go-github-com-mdlayher-netlink, go-github-com-mdlayher-wifi,
go-github-com-jsimonetti-rtnetlink-v2,
go-github-com-opencontainers-selinux,
go-github-com-prometheus-client-golang,
go-github-com-prometheus-client-model, go-github-com-prometheus-common,
go-github-com-prometheus-community-go-runit,
go-github-com-prometheus-exporter-toolkit,
go-github-com-prometheus-procfs-next, go-github-com-safchain-ethtool,
go-golang-org-x-exp, go-golang-org-x-sys, and go-howett-net-plist.
* gnu/packages/prometheus.scm (go-github-com-prometheus-procfs-next):
New variable.
Change-Id: I06f9d5d99266ca1abb3e8203ec66d9415842306a
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
9d4edf6fd6
gnu: go-github-com-rakyll-statik: Skip some tests.
...
* gnu/packages/golang.scm (go-github-com-rakyll-statik) [arguments]
<test-flags>: Skip 5 tests.
Change-Id: Id02cf2a6ab916e62c125da9dc6edc78b905a03dd
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
02d7c5c2a8
gnu: Remove go-github-com-tj-docopt.
...
It's a not maintained (10y) fork of
<https://github.com/docopt/docopt.go >, fails to build and not in use by
any other packages in Guix.
* gnu/packages/golang.scm (go-github-com-tj-docopt): Delete variable.
Change-Id: I356cd0250fe246a300ac2e6cd31255552cf95675
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
059b63af9b
gnu: gopls: Update to 0.17.1.
...
* gnu/packages/golang.scm (gopls): Update to 0.17.1, fix build.
[arguments] <test-subdirs>: Run tests in some subdirectories as there
are no tests in project's root.
Change-Id: I8b9e1456d2c37e1cbd846ea1127845931d5443f2
2025-01-11 23:39:41 +00:00
Sharlatan Hellseher
56b34d3c59
gnu: umoci: Fix build.
...
* gnu/packages/virtualization.scm (umoci) [arguments] <test-subdirs>:
Limit to project's root.
Change-Id: Ib002c142fefa7b8fa60c7d9c650615753bf03eba
2025-01-11 23:39:40 +00:00
Sharlatan Hellseher
94f5e026a3
gnu: Add go-gqlclient.
...
* gnu/packages/golang-web.scm (go-gqlclient): New variable.
Change-Id: I8079989035246fc22f845ceebb87999e62f65cac
2025-01-11 23:39:40 +00:00
Sharlatan Hellseher
afab173bd9
gnu: go-git-sr-ht-emersion-gqlclient: Fix build.
...
* gnu/packages/golang-web.scm (go-git-sr-ht-emersion-gqlclient)
[arguments] <embed-files>: Add them.
[native-inputs]: Add go-github-com-dave-jennifer and
go-github-com-vektah-gqlparser-v2.
Change-Id: Ia7f6fe4eec6f4b7178e5251ac847ba9b6f04d9f7
2025-01-11 23:39:40 +00:00
Sharlatan Hellseher
a06a3b2730
gnu: Add go-github-com-vektah-gqlparser-v2.
...
* gnu/packages/golang-web.scm (go-github-com-vektah-gqlparser-v2): New variable.
Change-Id: I31b8b619c4f46e1059f7b907d12f02a253c9c249
2025-01-11 23:39:40 +00:00
Sharlatan Hellseher
47d52345bc
gnu: Add go-github-com-andreyvit-diff.
...
* gnu/packages/golang-check.scm (go-github-com-andreyvit-diff): New variable.
Change-Id: I2caa018f0451f61d9761eea474f7bf35ec5b3dc9
2025-01-11 23:39:40 +00:00
Sharlatan Hellseher
42d1529d69
gnu: Add go-github-com-agnivade-levenshtein.
...
* gnu/packages/golang-xyz.scm (go-github-com-agnivade-levenshtein): New variable.
Change-Id: I1a993e2618cbafd225c1effa179f41d895937af4
2025-01-11 23:39:40 +00:00
Sharlatan Hellseher
994458f793
gnu: Add go-github-com-arbovm-levenshtein.
...
* gnu/packages/golang-xyz.scm (go-github-com-arbovm-levenshtein): New variable.
Change-Id: I6eb61438459cccf23e0d9b49b9691a4498e36441
2025-01-11 23:39:40 +00:00
Sharlatan Hellseher
ed82e9e19c
gnu: Add go-github-com-dgryski-trifles.
...
* gnu/packages/golang-xyz.scm (go-github-com-dgryski-trifles): New variable.
Change-Id: I6bca977d99b2bf991a411f0d10a4443b9b8b0d12
2025-01-11 23:39:40 +00:00
Sharlatan Hellseher
37dbed062c
gnu: go-github-com-masterminds-sprig-v3: Update to 3.3.0.
...
* gnu/packages/golang-xyz.scm (go-github-com-masterminds-sprig-v3): Update to 3.3.0.
[arguments] <test-flags>: Move skip test logic here.
<phases>: Remove 'remove-network-tests.
[propagated-inputs]: Remove go-github-com-imdario-mergo and
go-github-com-mitchellh-reflectwalk; add go-dario-cat-mergo.
Change-Id: Ia03b8795cb25d5108584aca2bbebc283df44bdf9
2025-01-11 23:39:40 +00:00
Sharlatan Hellseher
4ac29f56d2
gnu: go-github-com-mitchellh-go-wordwrap: Move to golang-xyz.
...
* gnu/packages/golang.scm (go-github-com-mitchellh-go-wordwrap): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: Ie558bdc39a725dd69a033078bdf91426ba4245e0
2025-01-11 23:39:39 +00:00
Sharlatan Hellseher
c7cc5498db
gnu: go-github-com-mitchellh-reflectwalk: Move to golang-xyz.
...
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: Id9e77506e7d9191315fd69438f763faccfc538ec
2025-01-11 23:39:39 +00:00
Sharlatan Hellseher
c9da0fc4ec
gnu: go-github-com-mitchellh-reflectwalk: Update to 1.0.2.
...
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk): Update to 1.0.2.
Change-Id: Ie40debffcc3a621695354481b51fa584380bfe45
2025-01-11 23:39:39 +00:00
Sharlatan Hellseher
862625cd10
gnu: go-github-com-mitchellh-copystructure: Move to golang-xyz.
...
* gnu/packages/golang.scm (go-github-com-mitchellh-copystructure): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I7c0276bdd98961223760bc809707a92f6d1231bb
2025-01-11 23:39:39 +00:00
Sharlatan Hellseher
5a6c3de67f
gnu: go-github-com-mitchellh-copystructure: Update to 1.2.0.
...
* gnu/packages/golang.scm (go-github-com-mitchellh-copystructure): Update to 1.2.0.
[propagated-inputs]: Add go-github-com-mitchellh-reflectwalk.
[native-inputs]: Remove go-github-com-mitchellh-reflectwalk.
Change-Id: I3237a56e7fa916603237191c4c7bc485a0166da7
2025-01-11 23:39:39 +00:00
Sharlatan Hellseher
756b790491
gnu: go-github-com-huandu-xstrings: Move to golang-xyz.
...
* gnu/packages/golang.scm (go-github-com-huandu-xstrings): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I071023737c0c6c2726e1100e663c0593e53409f3
2025-01-11 23:39:39 +00:00
Sharlatan Hellseher
04175fd53e
gnu: go-github-com-huandu-xstrings: Update to 1.5.0.
...
* gnu/packages/golang.scm (go-github-com-huandu-xstrings): Update to 1.5.0.
Change-Id: Ie4d00d39120a2235b28a216cd83eeec7493bc96d
2025-01-11 23:39:39 +00:00
Sharlatan Hellseher
96ecfb3176
gnu: Add go-github-com-gosuri-uilive.
...
* gnu/packages/golang-xyz.scm (go-github-com-gosuri-uilive): New variable.
Change-Id: I6c7548347f3da03a53138ae5f3c9590180b36abb
2025-01-11 23:39:39 +00:00