From acd5ffa629edbf84a123ce754b1d74ffad4ecea0 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 25 Jul 2024 10:38:22 +0100 Subject: 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 ;;; Copyright © 2018, 2019, 2020 Leo Famulari ;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2024 Dominic Martinez ;;; Copyright © 2024 Jesse Eisses +;;; Copyright © 2024 Sharlatan Hellseher ;;; ;;; 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 + ;; . + #: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") -- cgit v1.2.3 o Wurmus 2020-01-01gnu: ibus: Fix substitution....kanichos@yandex.ru 2019-11-11gnu: ibus-libpinyin: Update to 1.11.1....Tobias Geerinckx-Rice 2019-07-31gnu: Remove workarounds for <https://bugs.gnu.org/36721>....Marius Bakke 2019-07-19gnu: librime: Update to 1.5.3....Marius Bakke 2019-06-20gnu: Replace uses of 'cmake' with 'cmake-minimal'....Marius Bakke 2019-04-20gnu: ibus-libpinyin: Add missing runtime input....Ricardo Wurmus 2019-04-20gnu: libpinyin: Update to 2.3.0....Ricardo Wurmus 2019-04-20gnu: ibus-libpinyin: Update to 1.11.0....Ricardo Wurmus 2019-04-20gnu: ibus: Update to 1.5.20....Ricardo Wurmus 2019-03-10gnu: ibus: Update Unicode data to 12.0.0....Tobias Geerinckx-Rice 2019-02-16gnu: ibus-rime: Update to 1.4.0....Meiyo Peng 2019-02-16gnu: rime-data: Update to 0.38.20190131....Meiyo Peng 2019-02-16gnu: librime: Update to 1.4.0....Meiyo Peng 2019-01-18gnu: ibus: Do not hardcode Python version....Ricardo Wurmus 2019-01-16gnu: Move dbm databases to new module....Ricardo Wurmus 2019-01-16gnu: Move sqlite to separate module....Ricardo Wurmus 2018-12-25gnu: librime: Remove bundled sources....Efraim Flashner 2018-12-25gnu: librime: Update to 1.3.2....Efraim Flashner 2018-11-11gnu: ibus-rime: Fetch sources from git....Ricardo Wurmus 2018-11-11gnu: librime: Fetch sources from git....Ricardo Wurmus 2018-11-10gnu: Add ibus-rime....Meiyo Peng 2018-11-10gnu: Add rime-data....Meiyo Peng 2018-11-10gnu: Add librime....Meiyo Peng 2018-11-10gnu: ibus: Indent code properly....Meiyo Peng 2018-09-25gnu: ibus: Update to 1.5.19....Ricardo Wurmus