guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

49/172: gnu: Add go-golang-org-x-telemetry-config.


From: guix-commits
Subject: 49/172: gnu: Add go-golang-org-x-telemetry-config.
Date: Sat, 9 Nov 2024 16:44:52 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 179bd842d3652c21be9b8b1815bcc208bb732154
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Sep 12 23:32:47 2024 +0100

    gnu: Add go-golang-org-x-telemetry-config.
    
    * gnu/packages/golang-build.scm (go-golang-org-x-telemetry-config): New 
variable.
    
    Change-Id: I3958fa220149360ef4008b2c93301a41d5f6e063
---
 gnu/packages/golang-build.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index aa113dd16b..f81da8205c 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -667,6 +667,36 @@ for hosting 
@url{https://telemetry.go.dev,telemetry.go.dev} and instrumenting
 Go toolchain programs with opt-in telemetry.")
     (license license:bsd-3)))
 
+(define-public go-golang-org-x-telemetry-config
+  (package
+    (name "go-golang-org-x-telemetry-config")
+    (version "0.31.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://go.googlesource.com/telemetry";)
+             (commit (go-version->git-ref version
+                                          #:subdir "config"))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0b5f3kf58wam741m7vfalv4n47djn6whxr4lf9w1jpjgaa6kq3an"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "golang.org/x/telemetry/config"
+      #:unpack-path "golang.org/x/telemetry"))
+    (home-page "https://golang.org/x/telemetry";)
+    (synopsis "Subset of telemetry data for Golang telemetry")
+    (description
+     "The config package holds the config.json file defining the Go telemetry
+upload configuration and contains no actual Go code, and exists only so the
+config.json file can be served by module proxies.
+
+An upload configuration specifies the set of values that are permitted in
+telemetry uploads: GOOS, GOARCH, Go version, and per-program counters.")
+    (license license:bsd-3)))
+
 (define-public go-golang-org-x-term
   (package
     (name "go-golang-org-x-term")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]