From 3e73fb5fad92140c6c22b1937e47438b6e7babd3 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 19 Mar 2026 09:42:24 +0000 Subject: [PATCH] gnu: Add go-github-com-googlecloudplatform-opentelemetry-operations-go-detectors-gcp. * gnu/packages/golang-web.scm (go-github-com-googlecloudplatform-opentelemetry-operations-go-detectors-gcp): New variable. Change-Id: Icd21199c64bdf82aedede6cc5f4848850447f42a --- gnu/packages/golang-web.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index f7a4078b38..33f63a0441 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -7395,6 +7395,38 @@ Terraform by using the enterprise certificates feature.") for clients and servers based on @code{gRPC} and Google API conventions.") (license license:bsd-3))) +(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-detectors-gcp + (package + (name + "go-github-com-googlecloudplatform-opentelemetry-operations-go-detectors-gcp") + (version "1.31.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go") + (commit (go-version->git-ref version #:subdir "detectors/gcp")))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0a2641mgbc2fv8ramifawpxv9rx99wqknv0xqin3wfapsn2vn5i9")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp" + #:unpack-path "github.com/GoogleCloudPlatform/opentelemetry-operations-go")) + (native-inputs + (list go-github-com-stretchr-testify)) + (propagated-inputs + (list go-cloud-google-com-go-compute-metadata)) + (home-page + "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go") + (synopsis "GCP Resource detection library") + (description + "This is a library intended to be used by Upstream @code{OpenTelemetry} +resource detectors. It exists within this repository to allow for integration +testing of the detection functions in real GCP environments.") + (license license:asl2.0))) + (define-public go-github-com-gopacket-gopacket (package (name "go-github-com-gopacket-gopacket")