aboutsummaryrefslogtreecommitdiff
path: root/battering/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorHanketsu <hanketsu@egregore.fun>2025-01-31 23:12:29 +0100
committerHanketsu <hanketsu@egregore.fun>2025-02-01 17:47:16 +0100
commit2cf71c10d30e7e1293b2acabaa43acf1cf7bf295 (patch)
tree14d8e8360ecf3c6385e969cafc5bfdda4965cdf3 /battering/packages/golang-xyz.scm
parenta0fb97de7b1afc39968e6f8ebf4f5e632a80e51d (diff)
battering: Add go-github-com-cncf-xds-go.
* battering/packages/golang-xyz.scm (go-github-com-cncf-xds-go): New variable.
Diffstat (limited to 'battering/packages/golang-xyz.scm')
-rw-r--r--battering/packages/golang-xyz.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/battering/packages/golang-xyz.scm b/battering/packages/golang-xyz.scm
index a7f3a7f..d5d9dfc 100644
--- a/battering/packages/golang-xyz.scm
+++ b/battering/packages/golang-xyz.scm
@@ -211,3 +211,40 @@ buffers effectively guarantee the types of structured data, they cannot enforce
semantic rules for values. This plugin adds support to protoc-generated code to
validate such constraints.")
(license license:asl2.0)))
+
+(define-public go-github-com-cncf-xds-go
+ (package
+ (name "go-github-com-cncf-xds-go")
+ (version "0.0.0-20250121191232-2f005788dc42")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cncf/xds")
+ (commit (go-version->git-ref version
+ #:subdir "go"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03alj987dcmmbcz0xysp6pwrz6dmqzy9vf3d9p1vy6j48l434lv3"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/cncf/xds/go"
+ #:unpack-path "github.com/cncf/xds"
+ #: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
+ go-google-golang-org-genproto
+ go-github-com-envoyproxy-protoc-gen-validate
+ go-cel-dev-expr))
+ (home-page "https://github.com/cncf/xds")
+ (synopsis "xDS API Working Group")
+ (description "The objective of the xDS API Working Group (xDS-WG) is to
+bring together parties across the industry interested in a common control and
+configuration API for data plane proxies and load balancers, based on the xDS
+APIs.")
+ (license license:asl2.0)))