diff options
| author | Arthur Rodrigues <arthurhdrodrigues@proton.me> | 2025-08-16 16:58:28 -0300 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-19 21:40:27 +0100 |
| commit | ba6750db6f024548db750e3102734c6fe57bd0d7 (patch) | |
| tree | ffa28225e72f443e847b60555e08cdb5c301fb0e /gnu/packages/docker.scm | |
| parent | 8d2341a887382a75bc2be3f6a8b0befb93f5db50 (diff) | |
gnu: Add go-github-com-docker-go-metrics.
* gnu/packages/docker.scm (go-github-com-docker-go-metrics): New variable.
Change-Id: I2606482e7e38f5413a1e9b337170235d847107a2
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/docker.scm')
| -rw-r--r-- | gnu/packages/docker.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index 21e20e18423..358a4d8d562 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2025 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com> +;;; Copyright © 2025 Arthur Rodrigues <arthurhdrodrigues@proton.me> ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages networking) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages prometheus) #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-crypto) @@ -65,6 +67,32 @@ ;; of several associated packages (docker-libnetwork and go-sctp). (define %docker-version "20.10.27") +(define-public go-github-com-docker-go-metrics + (package + (name "go-github-com-docker-go-metrics") + (version "0.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/docker/go-metrics") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1b6f1889chmwlsgrqxylnks2jic16j2dqhsdd1dvaklk48ky95ga")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/docker/go-metrics")) + (propagated-inputs (list go-github-com-prometheus-client-golang)) + (home-page "https://github.com/docker/go-metrics") + (synopsis "Go library for metrics collection from Docker projects") + (description + "This package is a small wrapper around the Prometheus Go client to help +enforce convention and best practices for metrics collection in Docker +projects.") + (license (list license:asl2.0 license:cc-by-sa4.0)))) + (define-public python-docker (package (name "python-docker") |
