[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/74: gnu: go-github-com-prometheus-client-model: Move to prometheus.
From: |
guix-commits |
Subject: |
35/74: gnu: go-github-com-prometheus-client-model: Move to prometheus. |
Date: |
Thu, 25 Jul 2024 18:02:24 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 9b8d1003c1fa73a5e33cc0d6eb2babc82af29970
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jul 21 13:28:45 2024 +0100
gnu: go-github-com-prometheus-client-model: Move to prometheus.
* gnu/packages/golang-xyz.scm (go-github-com-prometheus-client-model):
Move from here ...
* gnu/packages/prometheus.scm: ... to here.
* gnu/packages/golang.scm: Add (gnu packages prometheus) module.
* gnu/packages/networking.scm: Likewise.
Change-Id: Ibbfc4100dfe33f9524eee99a461e7760f06a8eb3
---
gnu/packages/golang-xyz.scm | 28 ----------------------------
gnu/packages/golang.scm | 1 +
gnu/packages/networking.scm | 1 +
gnu/packages/prometheus.scm | 35 ++++++++++++++++++++++++++++++++++-
4 files changed, 36 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4749fd5698..f007542b8a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4232,34 +4232,6 @@ Pion}.")
"@code{refmt} is a serialization and object-mapping library.")
(license license:expat)))
-(define-public go-github-com-prometheus-client-model
- (package
- (name "go-github-com-prometheus-client-model")
- (version "0.6.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/prometheus/client_model")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0g1q2szzwp4rwkvayi2mnq2nwj6hj4ja7j43vwyi1iaz6d9z505c"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/prometheus/client_model"
- #:tests? #f
- #:phases
- (modify-phases %standard-phases
- ;; Source-only package
- (delete 'build))))
- (propagated-inputs
- (list go-github-com-golang-protobuf))
- (synopsis "Data model artifacts for Prometheus")
- (description "This package provides data model artifacts for Prometheus.")
- (home-page "https://github.com/prometheus/client_model")
- (license license:asl2.0)))
-
(define-public go-github-com-pterm-pterm
(package
(name "go-github-com-pterm-pterm")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f83e62b44c..3b84e98b03 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -96,6 +96,7 @@
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages prometheus)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages ruby)
#:use-module (gnu packages terminals)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 8b93aaf443..64587ed3e1 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -161,6 +161,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit)
#:use-module (gnu packages pretty-print)
+ #:use-module (gnu packages prometheus)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm
index e898602ea0..6ab034c20a 100644
--- a/gnu/packages/prometheus.scm
+++ b/gnu/packages/prometheus.scm
@@ -1,4 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,7 +23,8 @@
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
- #:use-module (gnu packages))
+ #:use-module (gnu packages)
+ #:use-module (gnu packages golang-build))
;;; Commentary:
;;;
@@ -36,6 +39,36 @@
;;; Libraries:
;;;
+(define-public go-github-com-prometheus-client-model
+ (package
+ (name "go-github-com-prometheus-client-model")
+ (version "0.6.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/prometheus/client_model")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0g1q2szzwp4rwkvayi2mnq2nwj6hj4ja7j43vwyi1iaz6d9z505c"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/prometheus/client_model"
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Source-only package
+ (delete 'build))))
+ (propagated-inputs
+ (list go-github-com-golang-protobuf))
+ (home-page "https://github.com/prometheus/client_model")
+ (synopsis "Data model artifacts for Prometheus")
+ (description
+ "This package provides data model artifacts for Prometheus.")
+ (license license:asl2.0)))
+
;;;
;;; Executables:
;;;
- 04/74: gnu: go-github-com-coreos-go-oidc-v3: Update to 3.11.0., (continued)
- 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
- 13/74: gnu: go-github-com-golang-protobuf: Move to golang-build., guix-commits, 2024/07/25
- 23/74: gnu: go-github-com-go-test-deep: Update to 1.1.1., guix-commits, 2024/07/25
- 25/74: gnu: go-github-com-burntsushi-toml: Update to 1.4.0., guix-commits, 2024/07/25
- 20/74: gnu: go-go-etcd-io-gofail: Update to 0.2.0., guix-commits, 2024/07/25
- 28/74: gnu: go-github-com-aws-aws-sdk-go: Update to 1.55.2., guix-commits, 2024/07/25
- 27/74: gnu: Remove go-github-com-aws-sdk., guix-commits, 2024/07/25
- 32/74: gnu: nebula: Update to 1.9.3., guix-commits, 2024/07/25
- 35/74: gnu: go-github-com-prometheus-client-model: Move to prometheus.,
guix-commits <=
- 40/74: gnu: Add go-github-com-go-logfmt-logfmt., guix-commits, 2024/07/25
- 45/74: gnu: go-github-com-prometheus-common: Move to prometheus., guix-commits, 2024/07/25
- 52/74: gnu: csvdiff: Adjust inputs, guix-commits, 2024/07/25
- 55/74: gnu: go-github-com-prometheus-client-golang: Enable tests., guix-commits, 2024/07/25
- 56/74: gnu: go-github-com-prometheus-client-golang: Move to prometheus., guix-commits, 2024/07/25
- 59/74: gnu: go-github-com-prometheus-procfs: Move to prometheus., guix-commits, 2024/07/25
- 60/74: gnu: go-github-com-hjson-hjson-go: Update to 4.4.0., guix-commits, 2024/07/25
- 61/74: gnu: go-github-com-hjson-hjson-go: Rename variable., guix-commits, 2024/07/25
- 64/74: gnu: go-netns: Enable tests., guix-commits, 2024/07/25
- 46/74: gnu: Add go-github-com-prometheus-common-assets., guix-commits, 2024/07/25