[bug#54560,46/47] gnu: Add go-github-com-prometheus-exporter-toolkit.
Commit Message
* gnu/packages/golang.scm (go-github-com-prometheus-exporter-toolkit):
New variable.
---
gnu/packages/golang.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Comments
Leo Nikkilä schreef op vr 25-03-2022 om 15:32 [+0200]:
> + #:tests? #f
Why?
> > + #:tests? #f
>
> Why?
I copied this over from the packages in (... syncthing), this is unnecessary as well. Will remove.
@@ -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")