summary refs log tree commit diff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-06-19 21:22:21 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-06-29 09:37:35 +0100
commitd2d5a3af3ec70757728dc379970f5cdda8bc366c (patch)
treeee9538e1082c89128d0ec045c7a5e61cb7fe6912 /gnu/packages/golang-xyz.scm
parent12c72ab2cccf2619de2ebbd18129d069af75d941 (diff)
downloadguix-d2d5a3af3ec70757728dc379970f5cdda8bc366c.tar.gz
gnu: go-github-com-golang-protobuf-proto: Adjust package name.
Rename go-github-com-golang-protobuf-proto to the Golang module name as
seen in go.mod. Due to lack of support of building submodules in
go-build-system 'build phase is omitted and 'check phase is substituted by
custom one providing nested path tests.

* gnu/packages/golang.scm (go-github-com-golang-protobuf-proto): Rename to...
(go-github-com-golang-protobuf): ... this.
<#:unpack-path>: Remove argument.
<#:phases>: Delete 'build phase. Add custom 'check phase and run tests
for all submodules.
(go-github-com-prometheus-common,
go-github-com-matttproud-golang-protobuf-extensions-pbutil)
[propagated-inputs]: Adjust accordingly.

* gnu/packages/golang-check.scm (go-github-com-onsi-gomega)
[propagated-inputs]: Likewise

* gnu/packages/golang-web.scm (go-github-com-golang-groupcache,
go-github-com-quic-go-quic-go)
[propagated-inputs]: Likewise

* gnu/packages/golang-xyz.scm (go-github-com-prometheus-client-model)
[propagated-inputs]: Likewise

* gnu/packages/syncthing.scm (go-github-com-matttproud-golang-protobuf-extensions-pbutil)
[propagated-inputs]: Likewise

Change-Id: I28c11739247a5ebafefd032d04a548a683fa0454
Co-authored-by: Hilton Chain <hako@ultrarare.space>
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 44b3f54325..189a39b6fe 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3413,7 +3413,7 @@ Pion}.")
          ;; Source-only package
          (delete 'build))))
     (propagated-inputs
-     (list go-github-com-golang-protobuf-proto))
+     (list go-github-com-golang-protobuf))
     (synopsis "Data model artifacts for Prometheus")
     (description "This package provides data model artifacts for Prometheus.")
     (home-page "https://github.com/prometheus/client_model")