1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 02:50:45 +02:00

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>
This commit is contained in:
Sharlatan Hellseher 2024-06-19 21:22:21 +01:00
parent 12c72ab2cc
commit d2d5a3af3e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
5 changed files with 21 additions and 12 deletions

View file

@ -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")