1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 19:10:49 +02:00

gnu: Add go-github-com-circonus-labs-circonus-gometrics.

* gnu/packages/golang-web.scm (go-github-com-circonus-labs-circonus-gometrics): New variable.

Change-Id: I5c03bc30e11d0b056198b8348ebf71646341f19f
This commit is contained in:
Sharlatan Hellseher 2024-09-15 20:06:48 +01:00
parent b7e2da3cda
commit f7219ce4ee
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -722,6 +722,46 @@ and stop increasing when a certain threshold is met.")
(description "This package provides a CSS parser and inliner.") (description "This package provides a CSS parser and inliner.")
(license license:expat))) (license license:expat)))
(define-public go-github-com-circonus-labs-circonus-gometrics
(package
(name "go-github-com-circonus-labs-circonus-gometrics")
(version "2.3.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/circonus-labs/circonus-gometrics")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0s2wir711h0k2h8xsypgpzshccnx8jkwjfni7n32l7wd8yng9ngs"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Module name has been changed upstream, permament redirect:
;; <https://github.com/circonus-labs/circonusllhist> ->
;; <https://github.com/openhistogram/circonusllhist>.
(substitute* (find-files "." "\\.go$")
(("github.com/circonus-labs/circonusllhist")
"github.com/openhistogram/circonusllhist"))))))
(build-system go-build-system)
(arguments
(list
#:test-flags #~(list "-skip" "TestNew|TestFlushMetrics|TestPromOutput")
#:import-path "github.com/circonus-labs/circonus-gometrics"))
(propagated-inputs
(list go-github-com-hashicorp-go-retryablehttp
go-github-com-openhistogram-circonusllhist
go-github-com-pkg-errors
go-github-com-tv42-httpunix))
(home-page "https://github.com/circonus-labs/circonus-gometrics")
(synopsis "Circonus metrics tracking for Golang")
(description
"This library supports named counters, gauges and histograms. It also
provides convenience wrappers for registering latency instrumented functions
with Go's builtin http server.")
(license license:bsd-3)))
(define-public go-github-com-coder-websocket (define-public go-github-com-coder-websocket
(package (package
(name "go-github-com-coder-websocket") (name "go-github-com-coder-websocket")