aboutsummaryrefslogtreecommitdiff
path: root/battering
diff options
context:
space:
mode:
authorHanketsu <hanketsu@egregore.fun>2025-01-31 22:43:25 +0100
committerHanketsu <hanketsu@egregore.fun>2025-06-13 00:04:21 +0200
commit72d3a9a39a115f580f7a84b5dc9ed5fe9e087aab (patch)
tree9fe0a8f637f6e27b22742f2c9e25943f35268e5d /battering
parentcb5524e53a179b6860d0ad8d2af7f5fa98824405 (diff)
battering: Add go-google-golang-org-genproto.
* battering/packages/golang-xyz.scm (go-google-golang-org-genproto): New variable.
Diffstat (limited to 'battering')
-rw-r--r--battering/packages/golang-xyz.scm31
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)))