From de338a2003cf09b07bedd7ead570f97e062e8604 Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Fri, 31 Jan 2025 23:20:38 +0100 Subject: battering: Add go-github-com-envoyproxy-go-control-plane. * battering/packages/golang-xyz.scm (go-github-com-envoyproxy-go-control-plane): 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 d5d9dfc..171dbf5 100644 --- a/battering/packages/golang-xyz.scm +++ b/battering/packages/golang-xyz.scm @@ -248,3 +248,40 @@ 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))) + +(define-public go-github-com-envoyproxy-go-control-plane + (package + (name "go-github-com-envoyproxy-go-control-plane") + (version "0.13.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/envoyproxy/go-control-plane") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0adyhxmld7i33v1dla7zpyx0ciq3ik412nxp4yvkfvdzyvihizrf")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.22 + #:import-path "github.com/envoyproxy/go-control-plane" + #:tests? #f + #:phases + #~(modify-phases %standard-phases + ;; XXX: Build depends on gRPC, which recursively ends up depending + ;; ...on this very package. What ugly recursive dependency business. + (delete 'build)))) + (propagated-inputs (list go-google-golang-org-protobuf + go-google-golang-org-genproto + go-go-uber-org-goleak + go-github-com-stretchr-testify + go-github-com-google-go-cmp)) + (home-page "https://github.com/envoyproxy/go-control-plane") + (synopsis "Go implementation of data-plane-api") + (description + "This repository contains a Go-based implementation of an API server that +implements the discovery service APIs defined in +@@url{https://github.com/envoyproxy/data-plane-api,data-plane-api}.") + (license license:asl2.0))) -- cgit v1.2.3