[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
57/74: gnu: go-github-com-nbrownus-go-metrics-prometheus: Move to promet
From: |
guix-commits |
Subject: |
57/74: gnu: go-github-com-nbrownus-go-metrics-prometheus: Move to prometheus. |
Date: |
Thu, 25 Jul 2024 18:02:28 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit acd5ffa629edbf84a123ce754b1d74ffad4ecea0
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Jul 25 10:38:22 2024 +0100
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
---
gnu/packages/golang-xyz.scm | 33 ---------------------------------
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 7d6b3a1c1d..b1df96b87c 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -72,7 +72,6 @@
#:use-module (gnu packages golang-maths)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages linux)
- #:use-module (gnu packages prometheus) ; for
go-github-com-nbrownus-go-metrics-prometheus
#:use-module (gnu packages specifications))
;;; Commentary:
@@ -3946,38 +3945,6 @@ varints.")
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
- (list
- ;; The project looks abandoned, tests failed with a new go-metrics.
- #:tests? #f
- #:import-path "github.com/nbrownus/go-metrics-prometheus"))
- (native-inputs
- (list go-github-com-stretchr-testify))
- (propagated-inputs
- (list go-github-com-prometheus-client-golang
- go-github-com-rcrowley-go-metrics))
- (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-github-com-neurosnap-sentences
(package
(name "go-github-com-neurosnap-sentences")
diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm
index 860bb74017..c61d107234 100644
--- a/gnu/packages/prometheus.scm
+++ b/gnu/packages/prometheus.scm
@@ -2,7 +2,9 @@
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2024 Dominic Martinez <dom@dominicm.dev>
;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
+;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -88,6 +90,39 @@ x/net/trace)} tracing wrappers @code{net.Conn}, both inbound
(@@code{net.Listener}) and outbound (@@code{net.Dialer}).")
(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
+ (list
+ ;; The project looks abandoned, tests failed with a new go-metrics, see
+ ;; <https://github.com/nbrownus/go-metrics-prometheus/pull/2>.
+ #:tests? #f
+ #:import-path "github.com/nbrownus/go-metrics-prometheus"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-prometheus-client-golang
+ go-github-com-rcrowley-go-metrics))
+ (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-github-com-prometheus-client-golang
(package
(name "go-github-com-prometheus-client-golang")
- 36/74: gnu: go-github-com-jpillora-backoff: Move to golang-xyz., (continued)
- 36/74: gnu: go-github-com-jpillora-backoff: Move to golang-xyz., guix-commits, 2024/07/25
- 42/74: gnu: go-github-com-prometheus-common: Remove submodules., guix-commits, 2024/07/25
- 43/74: gnu: go-github-com-prometheus-common: Update to 0.55.0., guix-commits, 2024/07/25
- 51/74: gnu: Add go-github-com-cespare-xxhash., guix-commits, 2024/07/25
- 54/74: gnu: go-github-com-prometheus-client-golang: Update to 1.19.1., guix-commits, 2024/07/25
- 63/74: gnu: go-netns: Fix indentation., guix-commits, 2024/07/25
- 37/74: gnu: go-github-com-jpillora-backoff: Update to 1.0.0-1.fab01a9., guix-commits, 2024/07/25
- 41/74: gnu: Add go-github-com-go-kit-log., guix-commits, 2024/07/25
- 44/74: gnu: go-github-com-prometheus-common: Enable tests., guix-commits, 2024/07/25
- 49/74: gnu: go-github-com-oneofone-xxhash: Move to golang-crypto., guix-commits, 2024/07/25
- 57/74: gnu: go-github-com-nbrownus-go-metrics-prometheus: Move to prometheus.,
guix-commits <=
- 70/74: gnu: go-github-com-bits-and-blooms-bloom: Update to 3.7.0., guix-commits, 2024/07/25
- 62/74: gnu: go-netns: Update to 0.0.4., guix-commits, 2024/07/25
- 39/74: gnu: Add go-github-com-mwitkow-go-conntrack., guix-commits, 2024/07/25
- 50/74: gnu: go-github-com-cespare-xxhash: Rename variable., guix-commits, 2024/07/25
- 66/74: gnu: go-netlink: Update to 1.1.0., guix-commits, 2024/07/25
- 74/74: gnu: yggdrasil: Enable tests., guix-commits, 2024/07/25
- 73/74: gnu: yggdrasil: Adjust inputs., guix-commits, 2024/07/25
- 04/74: gnu: go-github-com-coreos-go-oidc-v3: Update to 3.11.0., guix-commits, 2024/07/25
- 08/74: gnu: go-github-com-google-go-cmp-cmp: Rename variable., guix-commits, 2024/07/25
- 12/74: gnu: go-google-golang-org-protobuf: Move to golang-build., guix-commits, 2024/07/25