mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-04-04 17:04:41 +00:00
rosenthal: mimir-bin: Update to 3.0.4.
* modules/rosenthal/packages/binaries.scm (mimir-bin): Update to 3.0.4. [arguments]: Add a basic check phase.
This commit is contained in:
parent
c548c1425f
commit
00e9db6dec
@ -400,7 +400,7 @@ observed.")
|
|||||||
(define-public mimir-bin
|
(define-public mimir-bin
|
||||||
(package
|
(package
|
||||||
(name "mimir-bin")
|
(name "mimir-bin")
|
||||||
(version "2.17.1")
|
(version "3.0.4")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -408,10 +408,11 @@ observed.")
|
|||||||
version "/mimir-linux-amd64"))
|
version "/mimir-linux-amd64"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vnrpzwyjz7plzdiih65853ndvg64a9n1x1i7jqr085byhpayp82"))))
|
"09bhfbax659p1svzk8gq37vckqd62xsr219ab8f4r36c74ml3vz8"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list #:tests? (not (%current-target-system))
|
||||||
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key source #:allow-other-keys)
|
(lambda* (#:key source #:allow-other-keys)
|
||||||
@ -420,7 +421,12 @@ observed.")
|
|||||||
(mkdir-p dest)
|
(mkdir-p dest)
|
||||||
(with-directory-excursion dest
|
(with-directory-excursion dest
|
||||||
(copy-file source name)
|
(copy-file source name)
|
||||||
(chmod name #o555))))))))
|
(chmod name #o555)))))
|
||||||
|
(add-after 'install 'check
|
||||||
|
(lambda* (#:key tests? outputs #:allow-other-keys)
|
||||||
|
(let ((cmd (search-input-file outputs "bin/mimir")))
|
||||||
|
(when tests?
|
||||||
|
(invoke cmd "-version"))))))))
|
||||||
(synopsis "Scalable long-term storage for Prometheus")
|
(synopsis "Scalable long-term storage for Prometheus")
|
||||||
(description
|
(description
|
||||||
"Grafana Mimir provides horizontally scalable, highly available,
|
"Grafana Mimir provides horizontally scalable, highly available,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user