summaryrefslogtreecommitdiff
path: root/gnu/packages/docker.scm
diff options
context:
space:
mode:
authorArthur Rodrigues <arthurhdrodrigues@proton.me>2025-08-16 16:58:28 -0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-19 21:40:27 +0100
commitba6750db6f024548db750e3102734c6fe57bd0d7 (patch)
treeffa28225e72f443e847b60555e08cdb5c301fb0e /gnu/packages/docker.scm
parent8d2341a887382a75bc2be3f6a8b0befb93f5db50 (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.scm28
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 @@
12;;; Copyright © 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com> 12;;; Copyright © 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
13;;; Copyright © 2025 Vinicius Monego <monego@posteo.net> 13;;; Copyright © 2025 Vinicius Monego <monego@posteo.net>
14;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com> 14;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com>
15;;; Copyright © 2025 Arthur Rodrigues <arthurhdrodrigues@proton.me>
15;;; 16;;;
16;;; This file is part of GNU Guix. 17;;; This file is part of GNU Guix.
17;;; 18;;;
@@ -53,6 +54,7 @@
53 #:use-module (gnu packages linux) 54 #:use-module (gnu packages linux)
54 #:use-module (gnu packages networking) 55 #:use-module (gnu packages networking)
55 #:use-module (gnu packages pkg-config) 56 #:use-module (gnu packages pkg-config)
57 #:use-module (gnu packages prometheus)
56 #:use-module (gnu packages python) 58 #:use-module (gnu packages python)
57 #:use-module (gnu packages python-build) 59 #:use-module (gnu packages python-build)
58 #:use-module (gnu packages python-crypto) 60 #:use-module (gnu packages python-crypto)
@@ -65,6 +67,32 @@
65;; of several associated packages (docker-libnetwork and go-sctp). 67;; of several associated packages (docker-libnetwork and go-sctp).
66(define %docker-version "20.10.27") 68(define %docker-version "20.10.27")
67 69
70(define-public go-github-com-docker-go-metrics
71 (package
72 (name "go-github-com-docker-go-metrics")
73 (version "0.0.1")
74 (source
75 (origin
76 (method git-fetch)
77 (uri (git-reference
78 (url "https://github.com/docker/go-metrics")
79 (commit (string-append "v" version))))
80 (file-name (git-file-name name version))
81 (sha256
82 (base32 "1b6f1889chmwlsgrqxylnks2jic16j2dqhsdd1dvaklk48ky95ga"))))
83 (build-system go-build-system)
84 (arguments
85 (list
86 #:import-path "github.com/docker/go-metrics"))
87 (propagated-inputs (list go-github-com-prometheus-client-golang))
88 (home-page "https://github.com/docker/go-metrics")
89 (synopsis "Go library for metrics collection from Docker projects")
90 (description
91 "This package is a small wrapper around the Prometheus Go client to help
92enforce convention and best practices for metrics collection in Docker
93projects.")
94 (license (list license:asl2.0 license:cc-by-sa4.0))))
95
68(define-public python-docker 96(define-public python-docker
69 (package 97 (package
70 (name "python-docker") 98 (name "python-docker")