Commit graph

152710 commits

Author SHA1 Message Date
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
Sharlatan Hellseher
161c54a0e1
gnu: go-github-com-gorhill-cronexpr: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-gorhill-cronexpr): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I21a1b8a4cbb4ec2f3db1bf93d66fe20430395fdf
2025-01-11 23:39:39 +00:00
Sharlatan Hellseher
ce75a5b735
gnu: go-github-com-gorhill-cronexpr: Update to 0.0.0-20180427100037-88b0669f7d75.
* gnu/packages/golang.scm (go-github-com-gorhill-cronexpr): Update to 0.0.0-20180427100037-88b0669f7d75.

Change-Id: I31b974e790d3e6c692b3409f9f0509868256e527
2025-01-11 23:39:38 +00:00
Sharlatan Hellseher
1da06cd2ae
gnu: go-github-com-gologme-log: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-gologme-log): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I9f27017454569160f2e183ee38ff983e6b352cc5
2025-01-11 23:39:38 +00:00
Sharlatan Hellseher
6b506282dd
gnu: go-github-com-gologme-log: Update to 1.3.0.
* gnu/packages/golang.scm (go-github-com-gologme-log): Update to 1.3.0.

Change-Id: Iba2fe62ec8137d394b02e8f4503d1c7c299c6984
2025-01-11 23:39:38 +00:00
Sharlatan Hellseher
1f2ef4b048
gnu: go-github-com-davecgh-go-xdr: Move to golang-web.
* gnu/packages/golang.scm (go-github-com-davecgh-go-xdr): Move from here ...
* gnu/packages/golang-web.scm: ... to here.

Change-Id: Ia49386d831382f20d49606621056166b8a935acc
2025-01-11 23:39:38 +00:00
Sharlatan Hellseher
9acdde730e
gnu: noisetorch: Fix build.
* gnu/packages/pulseaudio.scm (noisetorch) [arguments] <test-subdirs>:
Limit to the project's root.

Change-Id: I21fff0ea728dfe6438e2e8ebcec2dc3b2a8efc94
2025-01-11 23:39:38 +00:00
Sharlatan Hellseher
5ec5e0ab53
gnu: miniflux: Update to 2.2.4.
* gnu/packages/web.scm (miniflux): Update to 2.2.4.
[arguments] <phases>: Use default 'check.
[inputs]: Remove go-mvdan-cc-xurls-v2; add go-golang-org-x-image.

Change-Id: Ia5e8717fd239629684fdfc9612d6f5f7c1c1bef7
2025-01-11 23:39:38 +00:00
Sharlatan Hellseher
1297244e6f
gnu: go-mvdan-cc-xurls-v2: Skip one test.
* gnu/packages/golang-web.scm (go-mvdan-cc-xurls-v2) [arguments]
<test-flags>: Skip one test.

Change-Id: I5e9dd8f729c1c76994e9c4cdafbcba9b819b897f
2025-01-11 23:39:38 +00:00
Sharlatan Hellseher
9e890eb257
gnu: go-github-com-tdewolff-hasher: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-tdewolff-hasher): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I89ecc37721cffadb43177f20d311682a9e493a9e
2025-01-11 23:39:38 +00:00
Sharlatan Hellseher
59ef7a1c69
gnu: go-github-com-tdewolff-minify-v2: Update to 2.21.2.
* gnu/packages/golang-web.scm (go-github-com-tdewolff-minify-v2): Update to 2.21.2.
[native-inputs]: Add go-github-com-djherbis-atime,
go-github-com-fsnotify-fsnotify, go-github-com-matryer-try, and
go-github-com-tdewolff-argp.

(go-minify) [arguments]: Overwirte them.
<tests?>: Disable tests as all of them passed from the inherited
library.
[inputs]: Remove go-github-com-djherbis-atime,
go-github-com-dustin-go-humanize, go-github-com-fsnotify-fsnotify,
go-github-com-matryer-try, and go-github-com-spf13-pflag.

Change-Id: I70b0259b705137f0937016d9e6fe31aefdc96ecb
2025-01-11 23:39:38 +00:00
Sharlatan Hellseher
cd8e6e6f74
gnu: go-github-com-matryer-try: Update to 0.0.0-20161228173917-9ac251b645a2.
* gnu/packages/golang-xyz.scm (go-github-com-matryer-try): Update to 0.0.0-20161228173917-9ac251b645a2.

Change-Id: Ib846bc3295ccde07f5a7256dc8c59b4ad64e3c09
2025-01-11 23:39:37 +00:00
Sharlatan Hellseher
8a87736c07
gnu: go-github-com-fsnotify-fsnotify: Update to 1.8.0.
* gnu/packages/golang-xyz.scm (go-github-com-fsnotify-fsnotify): Update to 1.8.0.

Change-Id: I614bfebc8cea9594f6252f875a1ae559b5fcbd65
2025-01-11 23:39:37 +00:00
Sharlatan Hellseher
c50f4556f7
gnu: go-github-com-tdewolff-parse-v2: Update to 2.7.19.
* gnu/packages/golang-web.scm (go-github-com-tdewolff-parse-v2): Update to 2.7.19.

Change-Id: I91be247c2f84a9d99ad1bdd8e5587b331d32d8f2
2025-01-11 23:39:37 +00:00
Sharlatan Hellseher
fd97faee4a
gnu: Add go-github-com-tdewolff-argp.
* gnu/packages/golang-xyz.scm (go-github-com-tdewolff-argp): New variable.

Change-Id: I4f9497cda83800a4a43bf4f7d4d033e212ecba90
2025-01-11 23:39:37 +00:00
Sharlatan Hellseher
73f11d92ce
gnu: Add go-github-com-jmoiron-sqlx.
* gnu/packages/golang-xyz.scm (go-github-com-jmoiron-sqlx): New variable.

Change-Id: Ice141002afe8ecde3fe330feafc5c48e5e64b1b5
2025-01-11 23:39:37 +00:00
Sharlatan Hellseher
dde25155bc
gnu: go-github-com-client9-misspell: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-client9-misspell, misspell):
Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I3e2a09d61f1d9a44249b2aac31a73d8b1b220928
2025-01-11 23:39:37 +00:00
Sharlatan Hellseher
fc7f3e0789
gnu: go-github-com-client9-misspell: Fix build.
Simplify, final command inherits from the library, remove redundant
modifications.

* gnu/packages/golang.scm (go-github-com-client9-misspell)
[arguments] <phases>: Use default 'build.
<test-subdirs>: Do not run tests in "cmd" which are failing.
(misspell): Inherit.

Change-Id: Ia9cbe287918dce646ece2ba9e50da110659c2a8f
2025-01-11 23:39:37 +00:00
Sharlatan Hellseher
7d2fc102bd
gnu: go-github-com-smarty-gunit: Fix tests.
* gnu/packages/golang-check.scm (go-github-com-smarty-gunit) [arguments]
<test-flags>: Skip one test.

Change-Id: I83f00b9f43af9d0e45694d740b7864544a6791f0
2025-01-11 23:39:37 +00:00
Sharlatan Hellseher
1867c8e200
gnu: go-github-com-pquerna-ffjson: Fix tests.
* gnu/packages/golang-web.scm (go-github-com-pquerna-ffjson)
[arguments] <test-subdirs>: Run only unit tests.
[native-inputs]: Add go-github-com-google-gofuzz and
go-github-com-stretchr-testify.

Change-Id: I7c74cf08ab653b7972a6e041e854941080db73e9
2025-01-11 23:39:37 +00:00