diff options
-rw-r--r-- | battering/packages/golang-xyz.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/battering/packages/golang-xyz.scm b/battering/packages/golang-xyz.scm index 0a8e9b4..de880f7 100644 --- a/battering/packages/golang-xyz.scm +++ b/battering/packages/golang-xyz.scm @@ -90,3 +90,34 @@ routines to load and use @code{eBPF} programs from .elf files.") (synopsis "Varlink implementation in Go") (description "This is an implementation of the varlink protocol in golang.") (license license:asl2.0))) + +(define-public go-google-golang-org-genproto + (package + (name "go-google-golang-org-genproto") + (version "0.0.0-20250124145028-65684f501c47") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/googleapis/go-genproto") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19l2kzyccfp4ychndkfyq2h3b1qppagxv5faifwkr67q2xlm38l3")))) + (build-system go-build-system) + (arguments + (list + #:import-path "google.golang.org/genproto" + #:tests? #f + #:phases + #~(modify-phases %standard-phases + ;; XXX: Workaround for go-build-system's lack of Go modules + ;; support. + (delete 'build)))) + (propagated-inputs (list go-google-golang-org-protobuf)) + (home-page "https://google.golang.org/genproto") + (synopsis "Generated code for Google Cloud client libraries.") + (description "This repository contains the generated Go packages for +common protocol buffer types, and the generated gRPC code necessary for +interacting with Google's gRPC APIs.") + (license license:asl2.0))) |