mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
2a8637107c
commit
9b8d1003c1
4 changed files with 36 additions and 29 deletions
|
@ -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")
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
;;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue