summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2025-01-09 22:14:12 +0000
committerSharlatan Hellseher <[email protected]>2025-01-21 23:47:51 +0000
commitca5c09e7f2892cf8b3c31872e763a53f8084f6fe (patch)
tree0b1a4b35508d7c2fc3a246243bab9aa446e5b216 /gnu/packages/golang-web.scm
parent46e69fc5530941ef8d9fe8f7e1c3f98a6cee0a3c (diff)
gnu: go-github-com-rcrowley-go-metrics: Move to golang-web.
* gnu/packages/golang-xyz.scm (go-github-com-rcrowley-go-metrics): Move from here ... * gnu/packages/golang-web.scm: ... to here. Change-Id: Iec57b6a74bfdd998463b2529a949c9fd045feae9
Diffstat (limited to 'gnu/packages/golang-web.scm')
-rw-r--r--gnu/packages/golang-web.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index b9ffbdc9c0..e94bdce1f0 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6911,6 +6911,35 @@ on @@url{https://github.com/quic-go/quic-go,quic-go}. It currently implements
of the specification.")
(license license:expat)))
+(define-public go-github-com-rcrowley-go-metrics
+ (package
+ (name "go-github-com-rcrowley-go-metrics")
+ (version "0.0.0-20201227073835-cf1acfcdf475")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rcrowley/go-metrics")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0s7zab04slz07c7l4h2cqz62qnqah69r6p157vvbd7725a7wzkr0"))))
+ (build-system go-build-system)
+ (arguments
+ ;; Arbitrary precision tests are known to be broken on aarch64, ppc64le
+ ;; and s390x. See: https://github.com/rcrowley/go-metrics/issues/249
+ `(#:tests? ,(not (string-prefix? "aarch64" (or (%current-target-system)
+ (%current-system))))
+ #:import-path "github.com/rcrowley/go-metrics"))
+ (propagated-inputs
+ (list go-github-com-stathat-go))
+ (home-page "https://github.com/rcrowley/go-metrics")
+ (synopsis "Go port of Coda Hale's Metrics library")
+ (description
+ "This package provides a Go implementation of Coda Hale's Metrics
+library.")
+ (license license:bsd-2)))
+
(define-public go-github-com-rs-cors
(package
(name "go-github-com-rs-cors")