diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-18 23:52:44 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-19 09:39:50 +0000 |
| commit | c112fbfb461397a3dde581a0164bde3fa630ba96 (patch) | |
| tree | 131337af702ea0a39a85e90f444e7f97a95b862c | |
| parent | 259643c993c6bba89a66da3b84329dd2e1dc439d (diff) | |
gnu: Add go-github-com-envoyproxy-go-control-plane.
* gnu/packages/golang-web.scm
(go-github-com-envoyproxy-go-control-plane,
go-github-com-envoyproxy-go-control-plane-bootstrap,
go-github-com-envoyproxy-go-control-plane-envoy, and
go-github-com-envoyproxy-go-control-plane-envoy-bootstrap): New variables.
Change-Id: Ic6a7d8558f43125f004e718e47b0211d5ee17365
| -rw-r--r-- | gnu/packages/golang-web.scm | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 2275d90a352..33047db8cca 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm | |||
| @@ -5240,6 +5240,134 @@ RFC 5321.") | |||
| 5240 | protocol definition.") | 5240 | protocol definition.") |
| 5241 | (license license:expat))) | 5241 | (license license:expat))) |
| 5242 | 5242 | ||
| 5243 | (define-public go-github-com-envoyproxy-go-control-plane | ||
| 5244 | (package | ||
| 5245 | (name "go-github-com-envoyproxy-go-control-plane") | ||
| 5246 | (version "0.14.0") | ||
| 5247 | (source | ||
| 5248 | (origin | ||
| 5249 | (method git-fetch) | ||
| 5250 | (uri (git-reference | ||
| 5251 | (url "https://github.com/envoyproxy/go-control-plane") | ||
| 5252 | (commit (string-append "v" version)))) | ||
| 5253 | (file-name (git-file-name name version)) | ||
| 5254 | (sha256 | ||
| 5255 | (base32 "153z0jdbyhbcadiipl5631vnsg74m0fx7h1dmak4mqfjgdahxdvk")) | ||
| 5256 | (modules '((guix build utils))) | ||
| 5257 | (snippet | ||
| 5258 | #~(begin | ||
| 5259 | ;; Submodules with their own go.mod files and packaged separately: | ||
| 5260 | ;; | ||
| 5261 | ;; - github.com/envoyproxy/go-control-plane/contrib | ||
| 5262 | ;; - github.com/envoyproxy/go-control-plane/envoy | ||
| 5263 | ;; - github.com/envoyproxy/go-control-plane/examples/dyplomat | ||
| 5264 | ;; - github.com/envoyproxy/go-control-plane/internal/tools | ||
| 5265 | ;; - github.com/envoyproxy/go-control-plane/ratelimit | ||
| 5266 | ;; - github.com/envoyproxy/go-control-plane/xdsmatcher | ||
| 5267 | (for-each delete-file-recursively | ||
| 5268 | (list "contrib" | ||
| 5269 | "envoy" | ||
| 5270 | "examples/dyplomat" | ||
| 5271 | "internal/tools" | ||
| 5272 | ;; "ratelimit" ;XXX: has no proper description | ||
| 5273 | "xdsmatcher")))))) | ||
| 5274 | (build-system go-build-system) | ||
| 5275 | (arguments | ||
| 5276 | (list | ||
| 5277 | #:skip-build? #t | ||
| 5278 | #:import-path "github.com/envoyproxy/go-control-plane" | ||
| 5279 | #:test-flags #~(list "-vet=off"))) | ||
| 5280 | (native-inputs | ||
| 5281 | (list go-github-com-stretchr-testify | ||
| 5282 | go-go-uber-org-goleak)) | ||
| 5283 | (propagated-inputs | ||
| 5284 | (list go-github-com-google-go-cmp | ||
| 5285 | go-github-com-envoyproxy-go-control-plane-envoy-bootstrap | ||
| 5286 | go-google-golang-org-genproto-googleapis-rpc | ||
| 5287 | go-google-golang-org-grpc | ||
| 5288 | go-google-golang-org-protobuf)) | ||
| 5289 | (home-page "https://github.com/envoyproxy/go-control-plane") | ||
| 5290 | (synopsis "Go implementation of data-plane-api") | ||
| 5291 | (description | ||
| 5292 | "This package contains a Go-based implementation of an API server that | ||
| 5293 | implements the discovery service APIs defined in | ||
| 5294 | @url{https://github.com/envoyproxy/data-plane-api, data-plane-api}.") | ||
| 5295 | (license license:asl2.0))) | ||
| 5296 | |||
| 5297 | (define-public go-github-com-envoyproxy-go-control-plane-bootstrap | ||
| 5298 | (hidden-package | ||
| 5299 | (package/inherit go-github-com-envoyproxy-go-control-plane | ||
| 5300 | (arguments | ||
| 5301 | (list #:skip-build? #t | ||
| 5302 | #:tests? #f | ||
| 5303 | #:import-path "github.com/envoyproxy/go-control-plane")) | ||
| 5304 | (propagated-inputs | ||
| 5305 | (modify-inputs (package-propagated-inputs | ||
| 5306 | go-github-com-envoyproxy-go-control-plane) | ||
| 5307 | (delete "go-github-com-envoyproxy-go-control-plane-envoy")))))) | ||
| 5308 | |||
| 5309 | (define-public go-github-com-envoyproxy-go-control-plane-envoy | ||
| 5310 | (package | ||
| 5311 | (name "go-github-com-envoyproxy-go-control-plane-envoy") | ||
| 5312 | (version "1.37.0") | ||
| 5313 | (source | ||
| 5314 | (origin | ||
| 5315 | (method git-fetch) | ||
| 5316 | (uri (git-reference | ||
| 5317 | (url "https://github.com/envoyproxy/go-control-plane") | ||
| 5318 | (commit (go-version->git-ref version #:subdir "envoy")))) | ||
| 5319 | (file-name (git-file-name name version)) | ||
| 5320 | (sha256 | ||
| 5321 | (base32 "0ysssv13sykny7x8ajqlm0wyz7r0wplam94gnrjz4xw1jxvqvwpv")) | ||
| 5322 | (modules '((guix build utils) | ||
| 5323 | (ice-9 ftw) | ||
| 5324 | (srfi srfi-26))) | ||
| 5325 | (snippet | ||
| 5326 | #~(begin | ||
| 5327 | (define (delete-all-but directory . preserve) | ||
| 5328 | (with-directory-excursion directory | ||
| 5329 | (let* ((pred (negate (cut member <> | ||
| 5330 | (cons* "." ".." preserve)))) | ||
| 5331 | (items (scandir "." pred))) | ||
| 5332 | (for-each (cut delete-file-recursively <>) items)))) | ||
| 5333 | (delete-all-but "." "envoy"))))) | ||
| 5334 | (build-system go-build-system) | ||
| 5335 | (arguments | ||
| 5336 | (list | ||
| 5337 | #:import-path "github.com/envoyproxy/go-control-plane/envoy" | ||
| 5338 | #:unpack-path "github.com/envoyproxy/go-control-plane")) | ||
| 5339 | (propagated-inputs | ||
| 5340 | (list go-github-com-cncf-xds-go | ||
| 5341 | go-github-com-envoyproxy-go-control-plane-bootstrap | ||
| 5342 | go-github-com-envoyproxy-protoc-gen-validate | ||
| 5343 | go-github-com-planetscale-vtprotobuf | ||
| 5344 | go-github-com-prometheus-client-model | ||
| 5345 | go-go-opentelemetry-io-proto-otlp | ||
| 5346 | go-google-golang-org-genproto-googleapis-api | ||
| 5347 | go-google-golang-org-genproto-googleapis-rpc | ||
| 5348 | go-google-golang-org-grpc | ||
| 5349 | go-google-golang-org-protobuf)) | ||
| 5350 | (home-page "https://github.com/envoyproxy/go-control-plane") | ||
| 5351 | (synopsis "Edge and service proxy") | ||
| 5352 | (description | ||
| 5353 | "This package provides a Golang implementation of | ||
| 5354 | @url{https://www.envoyproxy.io/, Envoy} proxy.") | ||
| 5355 | (license license:asl2.0))) | ||
| 5356 | |||
| 5357 | (define-public go-github-com-envoyproxy-go-control-plane-envoy-bootstrap | ||
| 5358 | (hidden-package | ||
| 5359 | (package/inherit go-github-com-envoyproxy-go-control-plane-envoy | ||
| 5360 | (arguments | ||
| 5361 | (list #:skip-build? #t | ||
| 5362 | #:tests? #f | ||
| 5363 | #:import-path "github.com/envoyproxy/go-control-plane/envoy" | ||
| 5364 | #:unpack-path "github.com/envoyproxy/go-control-plane")) | ||
| 5365 | (propagated-inputs | ||
| 5366 | (modify-inputs (package-propagated-inputs | ||
| 5367 | go-github-com-envoyproxy-go-control-plane-envoy) | ||
| 5368 | (delete "go-github-com-envoyproxy-go-control-plane")))))) | ||
| 5369 | |||
| 5370 | |||
| 5243 | (define-public go-github-com-evanphx-json-patch | 5371 | (define-public go-github-com-evanphx-json-patch |
| 5244 | (package | 5372 | (package |
| 5245 | (name "go-github-com-evanphx-json-patch") | 5373 | (name "go-github-com-evanphx-json-patch") |
