mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add go-github-com-prometheus-union.
* gnu/packages/syncthing.scm (go-github-com-prometheus-union): New variable.
This commit is contained in:
parent
fa22168b5c
commit
f07ccbc256
1 changed files with 25 additions and 0 deletions
|
@ -2180,3 +2180,28 @@ (define-public go-github-com-client-golang-prometheus
|
||||||
Prometheus HTTP API.")
|
Prometheus HTTP API.")
|
||||||
(home-page "https://github.com/prometheus/client_golang")
|
(home-page "https://github.com/prometheus/client_golang")
|
||||||
(license asl2.0))))
|
(license asl2.0))))
|
||||||
|
|
||||||
|
(define* (go-github-com-prometheus-union
|
||||||
|
#:optional (packages (list go-github-com-client-golang-prometheus
|
||||||
|
go-github-com-client-golang-prometheus-promhttp)))
|
||||||
|
(package
|
||||||
|
(name "go-github-com-prometheus-union")
|
||||||
|
(version (package-version go-github-com-client-golang-prometheus))
|
||||||
|
(source #f)
|
||||||
|
(build-system trivial-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:modules ((guix build union))
|
||||||
|
#:builder (begin
|
||||||
|
(use-modules (ice-9 match)
|
||||||
|
(guix build union))
|
||||||
|
(match %build-inputs
|
||||||
|
(((names . directories) ...)
|
||||||
|
(union-build (assoc-ref %outputs "out")
|
||||||
|
directories))))))
|
||||||
|
(inputs (map (lambda (package)
|
||||||
|
(list (package-name package) package))
|
||||||
|
packages))
|
||||||
|
(synopsis "Union of Go Prometheus libraries")
|
||||||
|
(description "This is a union of Go Prometheus libraries")
|
||||||
|
(home-page (package-home-page go-github-com-client-golang-prometheus))
|
||||||
|
(license (package-license go-github-com-client-golang-prometheus))))
|
||||||
|
|
Loading…
Reference in a new issue