[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
77/81: gnu: Add zig-metrics.
From: |
guix-commits |
Subject: |
77/81: gnu: Add zig-metrics. |
Date: |
Thu, 5 Dec 2024 01:33:34 -0500 (EST) |
hako pushed a commit to branch wip-zig-bootstrap
in repository guix.
commit f7e3d0fd144c6a15bedf2f1194e72e11dc02fb65
Author: NoƩ Lopez <noelopez@free.fr>
AuthorDate: Tue Dec 3 23:32:59 2024 +0800
gnu: Add zig-metrics.
* gnu/packages/zig-xyz.scm (zig-metrics): New variable.
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Change-Id: Ia97dd4bf121a982365677802a2e09eeb4883a7f2
---
gnu/packages/zig-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index ce9c7f9fac..68a6ac4510 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -288,6 +288,35 @@ across several operating systems.")
(home-page "https://github.com/ziglibs/known-folders")
(license license:expat))))
+(define-public zig-metrics
+ ;; No releases, latest commit from zig-0.13 branch.
+ (let ((commit "fcf9e94fa54a20f4954e9821801c32e44d407a2f")
+ (revision "0"))
+ (package
+ (name "zig-metrics")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/karlseguin/metrics.zig")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1vvfy97ak5xwvwv3rkqsgsj644298d3c75645386qf4psija6a25"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(substitute* "example/lib/metrics.zig"
+ (("try (Metrics.Active.init)" _ keep) keep)))))
+ (build-system zig-build-system)
+ (home-page "https://github.com/karlseguin/metrics.zig")
+ (synopsis "Prometheus metrics library")
+ (description
+ "@code{metrics} is a Prometheus metrics library with support for
+@code{counters}, @code{gauges} and @code{histograms} metric types and their
+labeled variants.")
+ (license license:expat))))
+
(define-public zig-pixman
(package
(name "zig-pixman")
- 56/81: gnu: ncdu: Update to 2.6., (continued)
- 56/81: gnu: ncdu: Update to 2.6., guix-commits, 2024/12/05
- 57/81: build-system: zig: Support cross compilation., guix-commits, 2024/12/05
- 59/81: gnu: zig: Respect the PKG_CONFIG environment variable., guix-commits, 2024/12/05
- 62/81: gnu: zig: Default to zig-0.13., guix-commits, 2024/12/05
- 64/81: gnu: Add zig-wayland., guix-commits, 2024/12/05
- 63/81: gnu: Add zig-pixman., guix-commits, 2024/12/05
- 67/81: gnu: river: Update to 0.3.5., guix-commits, 2024/12/05
- 69/81: gnu: Add zig-diffz., guix-commits, 2024/12/05
- 68/81: gnu: zig-zls: Rename variable to zig-zls-0.10., guix-commits, 2024/12/05
- 71/81: gnu: Add zig-zls-0.12., guix-commits, 2024/12/05
- 77/81: gnu: Add zig-metrics.,
guix-commits <=
- 76/81: gnu: Add zig-ini., guix-commits, 2024/12/05
- 73/81: gnu: emacs-zig-mode: Update to 0.0.8-2.f0b4a48., guix-commits, 2024/12/05
- 79/81: gnu: Add zig-zul, guix-commits, 2024/12/05