diff options
author | Dominic Martinez <dom@dominicm.dev> | 2024-02-11 19:28:20 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-02-12 23:33:22 +0000 |
commit | 7e4aebc39bf53162027dc5b4f679aa44f89752b7 (patch) | |
tree | 6fceb13cc9971da0780cdd9f76f3ec8c7aa827f6 | |
parent | eeda1c1cbc478d89c47aed941282394f5ef5192e (diff) | |
download | guix-7e4aebc39bf53162027dc5b4f679aa44f89752b7.tar.gz guix-7e4aebc39bf53162027dc5b4f679aa44f89752b7.zip |
gnu: Add go-github-com-nbrownus-go-metrics-prometheus.
* gnu/packages/golang-xyz.scm (go-github-com-nbrownus-go-metrics-prometheus): New
variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I1fbaa3a54c761bbdb440ca211d76f6c43b4434ce
-rw-r--r-- | gnu/packages/golang-xyz.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 7964b0b5e2..aa3df0a152 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -296,6 +296,32 @@ presenting a small interface.") very fast, and tries to be entropy pool friendly.") (license license:asl2.0))) +(define-public go-github-com-nbrownus-go-metrics-prometheus + (package + (name "go-github-com-nbrownus-go-metrics-prometheus") + (version "0.0.0-20210712211119-974a6260965f") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nbrownus/go-metrics-prometheus") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kl9l08aas544627zmhkgp843qx94sxs4inxm20nw1hx7gp79dz0")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/nbrownus/go-metrics-prometheus")) + (propagated-inputs + (list go-github-com-stretchr-testify + go-github-com-rcrowley-go-metrics + go-github-com-prometheus-client-golang)) + (home-page "https://github.com/nbrownus/go-metrics-prometheus") + (synopsis "Prometheus support for go-metrics") + (description "This package provides a reporter for the @code{go-metrics} +library which posts the metrics to the Prometheus client registry and just +updates the registry.") + (license license:asl2.0))) + (define-public go-go-uber-org-automaxprocs (package (name "go-go-uber-org-automaxprocs") |