Commit graph

144256 commits

Author SHA1 Message Date
Sharlatan Hellseher
9e649c347e
gnu: go-github-com-aead-chacha20: Fix indentation.
* gnu/packages/golang-crypto.scm (go-github-com-aead-chacha20): Fix indentation.

Change-Id: I2084ebd6a8472b5835498e19c115f778b46ff6d6
2024-11-09 21:33:52 +00:00
Sharlatan Hellseher
2736e2018d
gnu: go-github-com-aead-chacha20: Update to 0.0.0-20180709150244-8b13a72661da.
* gnu/packages/golang-crypto.scm (go-github-com-aead-chacha20): Update to 0.0.0-20180709150244-8b13a72661da.

Change-Id: I01b464ea6da2f89a3d4e4eeba2e2c13d1f3ac10b
2024-11-09 21:33:52 +00:00
Sharlatan Hellseher
427bb76c47
gnu: Add go-github-com-aead-ecdh.
* gnu/packages/golang-crypto.scm (go-github-com-aead-ecdh): New variable.

Change-Id: I50ddf2453834d8928be2301715fd6c207de5a536
2024-11-09 21:33:52 +00:00
Artyom V. Poptsov
8c9d95a47c
gnu: Add go-github-com-workiva-go-datastructures.
* gnu/packages/golang-xyz.scm (go-github-com-workiva-go-datastructures): New variable.

Change-Id: I1523c7aeaed0910fbfbfe7fc96566684fdd2dab8
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:52 +00:00
Sharlatan Hellseher
b35b0c5c66
gnu: go-github-com-deckarep-golang-set-v2: Update to 2.6.0.
* gnu/packages/golang-xyz.scm (go-github-com-deckarep-golang-set-v2): Update to 2.6.0.

Change-Id: Iaf7f84352514b0b98f23fbd1da47dbe700fd0c03
2024-11-09 21:33:51 +00:00
Sharlatan Hellseher
fdb5a366b3
gnu: go-github-com-aws-smithy-go: Update to 1.21.0.
* gnu/packages/golang-web.scm (go-github-com-aws-smithy-go): Update to 1.21.0.

Change-Id: Ife3e9685cf4628694538061685ad958f40c3cd14
2024-11-09 21:33:51 +00:00
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
Efraim Flashner
922d017081
build/go: Replace symlinks with a copy of the file.
* guix/build/go-build-system.scm (fix-embed-files): New procedure.
(%standard-phases): Add 'fix-embed-files after 'unpack.
* guix/build-system/go.scm (#:embed-files): New key parameter.
* doc/guix.texi: (go-build-system): Document a new key.

Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I27bc46fa1a3f4675ff73b6cba4ef5c3d177c22b1
2024-11-09 21:33:51 +00:00
Sharlatan Hellseher
63c558d62a
gnu: go-github-com-matttproud-golang-protobuf-extensions-v2: Fix build.
* gnu/packages/golang-xyz.scm (go-github-com-matttproud-golang-protobuf-extensions-v2):
Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: Id19ae90a13788a454ac11089dabf71ce399b20db
2024-11-09 21:33:51 +00:00
Sharlatan Hellseher
47993ad900
gnu: nebula: Fix build.
* gnu/packages/networking.scm (nebula): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: Ie2522c61aa1febadd250b1c02738c48bb82497e9
2024-11-09 21:33:51 +00:00
Sharlatan Hellseher
e05d3eabd2
gnu: go-github-com-nbrownus-go-metrics-prometheus: Fix build.
Fix the build as senn in <https://ci.guix.gnu.org/build/5804385/log/raw>.

* gnu/packages/prometheus.scm (go-github-com-nbrownus-go-metrics-prometheus):
Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: I0164c81caf203d93cdc8d1745b5a15bf77be9fb5
2024-11-09 21:33:51 +00:00
Sharlatan Hellseher
b34aac7490
gnu: restic-rest-server: Fix build.
Fix the build as senn in <https://ci.guix.gnu.org/build/5805924/log/raw>.

* gnu/packages/backup.scm (restic-rest-server): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: I84454cddcd39c32f7b87d13d6ea9433c86426c8c
2024-11-09 21:33:51 +00:00
Sharlatan Hellseher
3a02b8a0ee
gnu: miniflux: Fix build.
Fix the build as senn in <https://ci.guix.gnu.org/build/5804243/log/raw>.

* gnu/packages/web.scm (miniflux): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: If266fa82e0e810e340a3c69c80edbacddd6bcefa
2024-11-09 21:33:50 +00:00
Sharlatan Hellseher
9e237a7d13
gnu: soju: Fix build.
Fix the build as seen in <https://ci.guix.gnu.org/build/5804515/log/raw>.

* gnu/packages/irc.scm (soju): Fix build.
[arguments]: <#:phases>: Add 'fix-embed-files.

Change-Id: I8d1bddc335ab838127111f70dbc64528aa3dc4ff
2024-11-09 21:33:50 +00:00
Sharlatan Hellseher
45f7447037
gnu: go-github-com-prometheus-common-sigv4: Update to 0.1.0, fix build.
Fix the build as seen in <https://ci.guix.gnu.org/build/5804380/log/raw>.

* gnu/packages/prometheus.scm (go-github-com-prometheus-common-sigv4): Update to 0.1.0.
[source]: Remove all submodules and keep the sources just for
<github.com/prometheus/common/sigv4>.
[origin]: Apply new style for "go-version->git-ref" using <#:subdir> key
parameter.
[arguments]: <#:phases>: Remove 'override-prometheus-common; add
'fix-embed-files.

Change-Id: I69a37690baafbfca1a2e33ebdea957456a96b0e8
2024-11-09 21:33:50 +00:00
Sharlatan Hellseher
68fdb70d2d
guix: Add copyright records.
* guix/build-system/go.scm: Add missing copyright record to the header
for Christina O'Donnell <cdo@mutix.org>.
* guix/import/go.scm: Likewise.

Change-Id: If8b6b5dd31126b9209da5b6c0ad1d479c653bbe6
2024-11-09 21:33:50 +00:00
Sharlatan Hellseher
32a4666243
gnu: Add go-msgp.
* gnu/packages/golang-xyz.scm (go-msgp): New variable.

Change-Id: Ia9b339e6ea413c6d3442ecdcda56e6ce0be5c87b
2024-11-09 21:33:50 +00:00
Sharlatan Hellseher
7c49f2f0aa
gnu: Add go-github-com-tinylib-msgp.
* gnu/packages/golang-xyz.scm (go-github-com-tinylib-msgp): New variable.

Change-Id: I901e4f1671a0868b0042d224f26ed74f2f9d3900
2024-11-09 21:33:50 +00:00
Sharlatan Hellseher
2b5733e32d
gnu: Add go-github-com-philhofer-fwd.
* gnu/packages/golang-xyz.scm (go-github-com-philhofer-fwd): New variable.

Change-Id: Ibb873c8526892b1c05cef557ae1cd6caf9454d60
2024-11-09 21:33:50 +00:00
Sharlatan Hellseher
4f0d45136a
gnu: Add go-github-com-pquerna-ffjson.
* gnu/packages/golang-web.scm (go-github-com-pquerna-ffjson): New variable.

Change-Id: I234a53a44e96b6db82261dea75a928ffab70723a
2024-11-09 21:33:50 +00:00
Sharlatan Hellseher
c91547093c
gnu: Add go-github-com-dgryski-go-ddmin.
* gnu/packages/golang-check.scm (go-github-com-dgryski-go-ddmin): New variable.

Change-Id: I8f5a15fb55c2166ee99b6099423c014860f8ee71
2024-11-09 21:33:50 +00:00
Sharlatan Hellseher
57d3951381
gnu: Add go-github-com-ryanuber-columnize.
* gnu/packages/golang-xyz.scm (go-github-com-ryanuber-columnize): New variable.

Change-Id: I6cd3a54c445c312461e242ae221228993a24e0e6
2024-11-09 21:33:49 +00:00
Sharlatan Hellseher
46751aebc8
gnu: Add go-github-com-xlab-treeprint.
* gnu/packages/golang-xyz.scm (go-github-com-xlab-treeprint): New variable.

Change-Id: I5bd6543c5a34881a6a1c084bdb006c6086c312e4
2024-11-09 21:33:49 +00:00
Sharlatan Hellseher
c98ff7dcff
gnu: Add go-github-com-pascaldekloe-goe.
* gnu/packages/golang-web.scm (go-github-com-pascaldekloe-goe): New variable.

Change-Id: Idd1de1f2d2e5aab8c6e257706fefa1960bce53ab
2024-11-09 21:33:49 +00:00
Sharlatan Hellseher
faea1bad5f
gnu: Add go-github-com-hashicorp-go-immutable-radix.
* gnu/packages/golang-xyz.scm (go-github-com-hashicorp-go-immutable-radix,
go-github-com-hashicorp-go-immutable-radix-v2): New variables.

Change-Id: I2c5ed0acdaec49e91720ba71efd45e849855cb2b
2024-11-09 21:33:49 +00:00
Sharlatan Hellseher
1d4c7fefd2
gnu: Add go-github-com-circonus-labs-circonus-gometrics-v3.
* gnu/packages/golang-web.scm (go-github-com-circonus-labs-circonus-gometrics-v3): New variable.

Change-Id: Ic4ef0f2a312c6b24a6a0f8950861975db7536ac3
2024-11-09 21:33:49 +00:00
Sharlatan Hellseher
4e9cd9f313
gnu: Add go-github-com-circonus-labs-go-apiclient.
* gnu/packages/golang-web.scm (go-github-com-circonus-labs-go-apiclient): New variable.

Change-Id: Ia623c1bf0a296201e36ee6fa97e69cc80cee1dee
2024-11-09 21:33:49 +00:00
Sharlatan Hellseher
f7219ce4ee
gnu: Add go-github-com-circonus-labs-circonus-gometrics.
* gnu/packages/golang-web.scm (go-github-com-circonus-labs-circonus-gometrics): New variable.

Change-Id: I5c03bc30e11d0b056198b8348ebf71646341f19f
2024-11-09 21:33:49 +00:00
Sharlatan Hellseher
b7e2da3cda
gnu: Add go-github-com-hashicorp-go-retryablehttp.
* gnu/packages/golang-web.scm (go-github-com-hashicorp-go-retryablehttp): New variable.

Change-Id: I60bee5b1ae3cda325cc1be4636766f5ac65a5555
2024-11-09 21:33:49 +00:00
Sharlatan Hellseher
fbe4941c6e
gnu: Add go-github-com-openhistogram-circonusllhist.
* gnu/packages/golang-xyz.scm (go-github-com-openhistogram-circonusllhist): New variable.

Change-Id: I02af4ee4552fe6d09e6727afe6e9098eba0bc0d0
2024-11-09 21:33:49 +00:00
Sharlatan Hellseher
0a4a6f23fb
gnu: Add go-github-com-datadog-datadog-go-v5.
* gnu/packages/golang-web.scm (go-github-com-datadog-datadog-go-v5): New variable.

Change-Id: I34410ef0cbe8ed655eeb8bc5b051c822c5b02523
2024-11-09 21:33:48 +00:00
Sharlatan Hellseher
93c943cd62
gnu: Add go-github-com-golang-mock.
* gnu/packages/golang-check.scm (go-github-com-golang-mock): New variable.

Change-Id: I9ae851e7eb1e4950594387604a41af330b8b4127
2024-11-09 21:33:48 +00:00
Sharlatan Hellseher
2cb863f2c3
gnu: Add go-github-com-datadog-datadog-go.
* gnu/packages/golang-web.scm (go-github-com-datadog-datadog-go): New variable.

Change-Id: Icff31fb07033cc41621835a4f6aa56e6a1e8f9ec
2024-11-09 21:33:48 +00:00
Sharlatan Hellseher
154f7e4865
gnu: Add go-github-com-gofrs-uuid.
* gnu/packages/golang-xyz.scm (go-github-com-gofrs-uuid,
go-github-com-gofrs-uuid-v5): New variables.

Change-Id: I64e374868195315824348c5581f675d8e0b5c141
2024-11-09 21:33:48 +00:00
Sharlatan Hellseher
7118c9d73d
gnu: Add go-github-com-go-openapi-runtime.
* gnu/packages/golang-web.scm (go-github-com-go-openapi-runtime): New variable.

Change-Id: Iba2b08ba70af9d376bf657e754391ba18efe814d
2024-11-09 21:33:48 +00:00
Sharlatan Hellseher
30ca67ccd5
gnu: go-github-com-go-openapi-loads: Simplify phases.
* gnu/packages/golang-web.scm (go-github-com-go-openapi-loads)
[arguments]: <#phases>: Swap 'copy-input-to-vendor-directory and
'remove-vendor-directory to generalized 'fix-embed-files phase.

Change-Id: Id025bdf03b6c2795183d6f6d80d4689b653425d6
2024-11-09 21:33:48 +00:00
Sharlatan Hellseher
42683cbe4d
gnu: Add go-go-opentelemetry-io-otel-sdk.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-otel-sdk): New variable.

Change-Id: I170133ed9d2d85d33d8a4ee66624382a34fac06b
2024-11-09 21:33:48 +00:00
Sharlatan Hellseher
c9d782f5c9
gnu: Add go-go-opentelemetry-io-otel.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-otel): New variable.

Change-Id: I85c333ea576b1ebcc4373c8a06d50114a4d25325
2024-11-09 21:33:48 +00:00
Sharlatan Hellseher
31fbbe772b
gnu: chezmoi: Update to 1.8.10.
* gnu/packages/configuration-management.scm (chezmoi): Update to 1.8.10.
[arguments]: <#:phases>: Swap 'copy-input-to-vendor-directory and
'remove-vendor-directory phases with generalized 'fix-embed-files.
[native-inputs]: Remove go-github-com-alecthomas-chroma-v2; add
go-github-com-muesli-combinator, go-github-com-rs-zerolog,
go-go-uber-org-multierr, and go-gopkg-in-yaml-v3.

Change-Id: Iae3945377ec459bd018246bc4463dab580e3d367
2024-11-09 21:33:47 +00:00
Sharlatan Hellseher
7dfeace198
gnu: Add go-github-com-muesli-combinator.
* gnu/packages/golang-xyz.scm (go-github-com-muesli-combinator): New variable.

Change-Id: I24e9c6c752e677d6c3f4f97f461bbd66d7b675b1
2024-11-09 21:33:47 +00:00
Sharlatan Hellseher
956a449b44
gnu: Add go-github-com-rs-zerolog.
* gnu/packages/golang-xyz.scm (go-github-com-rs-zerolog): New variable.

Change-Id: I66ff162e3dcc694f27d6d01fb00099d2d5de9abb
2024-11-09 21:33:47 +00:00
Sharlatan Hellseher
37284823a4
gnu: Add go-github-com-rs-xid.
* gnu/packages/golang-web.scm (go-github-com-rs-xid): New variable.

Change-Id: I79477d9f5166ff84a9ef957c9bf15506849399aa
2024-11-09 21:33:47 +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
d80979ce69
gnu: go-github-com-go-git-go-git-v5: Update style.
* gnu/packages/version-control.scm (go-github-com-go-git-go-git-v5):
Apply G-expression.

Change-Id: I80fd085c8ea9bda9d7be45ee8965bbea50117516
2024-11-09 21:33:47 +00:00
Sharlatan Hellseher
dc59b331b1
gnu: go-github-go-git: Rename variable.
* gnu/packages/version-control.scm (go-github-go-git): Rename variable
to go-github-com-go-git-go-git-v5 to reflect go.mod import path
* gnu/packages/configuration-management.scm (chezmoi) [native-inputs]:
Remove go-github-go-git; add go-github-com-go-git-go-git-v5.

Change-Id: I670b0f05ea3aba7d07ffb9b6a09279e155c4da21
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
38cccec3cb
gnu: Add go-github-com-cyphar-filepath-securejoin.
* gnu/packages/golang-xyz.scm (go-github-com-cyphar-filepath-securejoin): New variable.

Change-Id: Id4468f224d1051bdc4b47c0d80cbfe02fb9d5cd3
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