From 266781d9b7c1280c8da9bae2a614b1e0ae3be3ac Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Fri, 31 Jan 2025 23:12:29 +0100 Subject: battering: Add go-github-com-cncf-xds-go. * battering/packages/golang-xyz.scm (go-github-com-cncf-xds-go): New variable. --- battering/packages/golang-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) 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))) -- cgit v1.2.3