diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-25 10:38:22 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-25 21:01:03 +0100 |
| commit | acd5ffa629edbf84a123ce754b1d74ffad4ecea0 (patch) | |
| tree | 82f17f04db85d06098be86ba3e2bb8f5e6222274 /gnu/packages | |
| parent | 7053ef0aaebcf1bc7a4205baccea973807ddae6f (diff) | |
gnu: go-github-com-nbrownus-go-metrics-prometheus: Move to prometheus.
* gnu/packages/golang-xyz.scm (go-github-com-nbrownus-go-metrics-prometheus):
Move from here ...
* gnu/packages/prometheus.scm: ... to here.
Change-Id: I02393dd3620d7c194c4bbba6404e5c0150f8448a
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 33 | ||||
| -rw-r--r-- | gnu/packages/prometheus.scm | 35 |
2 files changed, 35 insertions, 33 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 7d6b3a1c1d0..b1df96b87c7 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm | |||
| @@ -72,7 +72,6 @@ | |||
| 72 | #:use-module (gnu packages golang-maths) | 72 | #:use-module (gnu packages golang-maths) |
| 73 | #:use-module (gnu packages golang-web) | 73 | #:use-module (gnu packages golang-web) |
| 74 | #:use-module (gnu packages linux) | 74 | #:use-module (gnu packages linux) |
| 75 | #:use-module (gnu packages prometheus) ; for go-github-com-nbrownus-go-metrics-prometheus | ||
| 76 | #:use-module (gnu packages specifications)) | 75 | #:use-module (gnu packages specifications)) |
| 77 | 76 | ||
| 78 | ;;; Commentary: | 77 | ;;; Commentary: |
| @@ -3946,38 +3945,6 @@ varints.") | |||
| 3946 | very fast, and tries to be entropy pool friendly.") | 3945 | very fast, and tries to be entropy pool friendly.") |
| 3947 | (license license:asl2.0))) | 3946 | (license license:asl2.0))) |
| 3948 | 3947 | ||
| 3949 | (define-public go-github-com-nbrownus-go-metrics-prometheus | ||
| 3950 | (package | ||
| 3951 | (name "go-github-com-nbrownus-go-metrics-prometheus") | ||
| 3952 | (version "0.0.0-20210712211119-974a6260965f") | ||
| 3953 | (source | ||
| 3954 | (origin | ||
| 3955 | (method git-fetch) | ||
| 3956 | (uri (git-reference | ||
| 3957 | (url "https://github.com/nbrownus/go-metrics-prometheus") | ||
| 3958 | (commit (go-version->git-ref version)))) | ||
| 3959 | (file-name (git-file-name name version)) | ||
| 3960 | (sha256 | ||
| 3961 | (base32 "1kl9l08aas544627zmhkgp843qx94sxs4inxm20nw1hx7gp79dz0")))) | ||
| 3962 | (build-system go-build-system) | ||
| 3963 | (arguments | ||
| 3964 | (list | ||
| 3965 | ;; The project looks abandoned, tests failed with a new go-metrics. | ||
| 3966 | #:tests? #f | ||
| 3967 | #:import-path "github.com/nbrownus/go-metrics-prometheus")) | ||
| 3968 | (native-inputs | ||
| 3969 | (list go-github-com-stretchr-testify)) | ||
| 3970 | (propagated-inputs | ||
| 3971 | (list go-github-com-prometheus-client-golang | ||
| 3972 | go-github-com-rcrowley-go-metrics)) | ||
| 3973 | (home-page "https://github.com/nbrownus/go-metrics-prometheus") | ||
| 3974 | (synopsis "Prometheus support for go-metrics") | ||
| 3975 | (description | ||
| 3976 | "This package provides a reporter for the @code{go-metrics} library which | ||
| 3977 | posts the metrics to the Prometheus client registry and just updates the | ||
| 3978 | registry.") | ||
| 3979 | (license license:asl2.0))) | ||
| 3980 | |||
| 3981 | (define-public go-github-com-neurosnap-sentences | 3948 | (define-public go-github-com-neurosnap-sentences |
| 3982 | (package | 3949 | (package |
| 3983 | (name "go-github-com-neurosnap-sentences") | 3950 | (name "go-github-com-neurosnap-sentences") |
diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm index 860bb740171..c61d1072340 100644 --- a/gnu/packages/prometheus.scm +++ b/gnu/packages/prometheus.scm | |||
| @@ -2,7 +2,9 @@ | |||
| 2 | ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> | 2 | ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> |
| 3 | ;;; Copyright © 2018, 2019, 2020 Leo Famulari <leo@famulari.name> | 3 | ;;; Copyright © 2018, 2019, 2020 Leo Famulari <leo@famulari.name> |
| 4 | ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> | 4 | ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> |
| 5 | ;;; Copyright © 2024 Dominic Martinez <dom@dominicm.dev> | ||
| 5 | ;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email> | 6 | ;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email> |
| 7 | ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com> | ||
| 6 | ;;; | 8 | ;;; |
| 7 | ;;; This file is part of GNU Guix. | 9 | ;;; This file is part of GNU Guix. |
| 8 | ;;; | 10 | ;;; |
| @@ -88,6 +90,39 @@ x/net/trace)} tracing wrappers @code{net.Conn}, both inbound | |||
| 88 | (@@code{net.Listener}) and outbound (@@code{net.Dialer}).") | 90 | (@@code{net.Listener}) and outbound (@@code{net.Dialer}).") |
| 89 | (license license:asl2.0))) | 91 | (license license:asl2.0))) |
| 90 | 92 | ||
| 93 | (define-public go-github-com-nbrownus-go-metrics-prometheus | ||
| 94 | (package | ||
| 95 | (name "go-github-com-nbrownus-go-metrics-prometheus") | ||
| 96 | (version "0.0.0-20210712211119-974a6260965f") | ||
| 97 | (source | ||
| 98 | (origin | ||
| 99 | (method git-fetch) | ||
| 100 | (uri (git-reference | ||
| 101 | (url "https://github.com/nbrownus/go-metrics-prometheus") | ||
| 102 | (commit (go-version->git-ref version)))) | ||
| 103 | (file-name (git-file-name name version)) | ||
| 104 | (sha256 | ||
| 105 | (base32 "1kl9l08aas544627zmhkgp843qx94sxs4inxm20nw1hx7gp79dz0")))) | ||
| 106 | (build-system go-build-system) | ||
| 107 | (arguments | ||
| 108 | (list | ||
| 109 | ;; The project looks abandoned, tests failed with a new go-metrics, see | ||
| 110 | ;; <https://github.com/nbrownus/go-metrics-prometheus/pull/2>. | ||
| 111 | #:tests? #f | ||
| 112 | #:import-path "github.com/nbrownus/go-metrics-prometheus")) | ||
| 113 | (native-inputs | ||
| 114 | (list go-github-com-stretchr-testify)) | ||
| 115 | (propagated-inputs | ||
| 116 | (list go-github-com-prometheus-client-golang | ||
| 117 | go-github-com-rcrowley-go-metrics)) | ||
| 118 | (home-page "https://github.com/nbrownus/go-metrics-prometheus") | ||
| 119 | (synopsis "Prometheus support for go-metrics") | ||
| 120 | (description | ||
| 121 | "This package provides a reporter for the @code{go-metrics} library which | ||
| 122 | posts the metrics to the Prometheus client registry and just updates the | ||
| 123 | registry.") | ||
| 124 | (license license:asl2.0))) | ||
| 125 | |||
| 91 | (define-public go-github-com-prometheus-client-golang | 126 | (define-public go-github-com-prometheus-client-golang |
| 92 | (package | 127 | (package |
| 93 | (name "go-github-com-prometheus-client-golang") | 128 | (name "go-github-com-prometheus-client-golang") |
