GNU bug report logs - #54560
[PATCH 00/47] gnu: Add go-github-com-prometheus-prometheus.

Previous Next

Package: guix-patches;

Reported by: Leo Nikkilä <hello <at> lnikki.la>

Date: Fri, 25 Mar 2022 08:11:02 UTC

Severity: normal

Tags: patch

Full log


Message #140 received at 54560 <at> debbugs.gnu.org (full text, mbox):

From: Leo Nikkilä <hello <at> lnikki.la>
To: 54560 <at> debbugs.gnu.org
Cc: Leo Nikkilä <hello <at> lnikki.la>
Subject: [PATCH 46/47] gnu: Add go-github-com-prometheus-exporter-toolkit.
Date: Fri, 25 Mar 2022 15:32:10 +0200
* gnu/packages/golang.scm (go-github-com-prometheus-exporter-toolkit):
New variable.
---
 gnu/packages/golang.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 92d3e40697..47ab9d8212 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10707,6 +10707,43 @@ (define-public go-github-com-prometheus-alertmanager-api
     (home-page "https://github.com/prometheus/alertmanager")
     (license license:asl2.0)))
 
+(define-public go-github-com-prometheus-exporter-toolkit
+  (package
+    (name "go-github-com-prometheus-exporter-toolkit")
+    (version "0.7.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/prometheus/exporter-toolkit")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "082di72cyj34wjjhi5ji59bjabdy897faji07v7qm20a4f7csdbs"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/prometheus/exporter-toolkit"
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         ;; Source-only package
+         (delete 'build))))
+    (propagated-inputs (list go-github-com-go-kit-log
+                             go-github-com-golang-protobuf-ptypes
+                             go-github-com-mwitkow-go-conntrack
+                             go-github-com-pkg-errors
+                             go-github-com-prometheus-common
+                             go-golang-org-x-crypto
+                             go-golang-org-x-oauth2
+                             go-golang-org-x-text
+                             go-gopkg-in-yaml-v2))
+    (synopsis "Utility package to build Prometheus exporters")
+    (description
+     "This is a Go library for Prometheus exporters, meant
+to be used in combination with the @code{client_golang} package.")
+    (home-page "https://github.com/prometheus/exporter-toolkit")
+    (license license:asl2.0)))
+
 (define-public go-github-com-simonpasquier-klog-gokit
   (package
     (name "go-github-com-simonpasquier-klog-gokit")
-- 
2.34.0





This bug report was last modified 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.