sharlatan pushed a commit to branch go-team in repository guix. commit 234ca5e5d35ae41a7706f37590611419372447d5 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Fri Mar 21 12:07:30 2025 +0000
gnu: Add go-google-golang-org-genproto-googleapis-rpc. * gnu/packages/golang-build.scm (go-google-golang-org-genproto-googleapis-rpc): New variable. Change-Id: Ie3486d655c1c6ed8740f32630564a43e45bafbf0 --- gnu/packages/golang-build.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index 8fe2d08a9d..af10222e07 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -1241,6 +1241,37 @@ the @url{https://vuln.go.dev,Go Vulnerability Database}.") values.") (license license:bsd-3))) +(define-public go-google-golang-org-genproto-googleapis-rpc + ;; No release or verion tags, use the latest commit. + (let ((commit "e70fdf4c4cb4151b7aa3579ce8a3fb662bafe335") + (revision "0")) + (package + (name "go-google-golang-org-genproto-googleapis-rpc") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/googleapis/go-genproto") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jf332yxgf1c6nj76b1p52907g786gynzd78g899m3vrfa45wswz")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "google.golang.org/genproto/googleapis/rpc" + #:unpack-path "google.golang.org/genproto")) + (propagated-inputs + (list go-google-golang-org-protobuf)) + (home-page "https://google.golang.org/genproto") + (synopsis "Common types for gRPC API") + (description + "This package provides a @code{rpc} Google's API gRPC type derived from +@code{google.golang.org/protobuf}.") + (license license:asl2.0)))) + (define-public go-google-golang-org-protobuf (package (name "go-google-golang-org-protobuf")