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
This commit is contained in:
Sharlatan Hellseher 2025-03-21 12:07:30 +00:00
parent 46195507a7
commit 168ce08461
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

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