mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-prometheus-procfs: Update to 0.16.1.
* gnu/packages/prometheus.scm (go-github-com-prometheus-procfs): Update to 0.16.1. [arguments] <phases>: Use default 'check. Change-Id: Ie5271db27f7757e7a09ee7a2a03532fd0e838de0
This commit is contained in:
parent
7f92c3c725
commit
7ea302a5d7
1 changed files with 2 additions and 8 deletions
|
@ -468,7 +468,7 @@ Protocol,ICMP} echo (ping) functionality.")
|
|||
(define-public go-github-com-prometheus-procfs
|
||||
(package
|
||||
(name "go-github-com-prometheus-procfs")
|
||||
(version "0.16.0")
|
||||
(version "0.16.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -477,7 +477,7 @@ Protocol,ICMP} echo (ping) functionality.")
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0f692685zcssryd38bahmamd72iaiilngp92gl1s9177891f44gm"))))
|
||||
(base32 "0k2x2kqghr34ggc888ldaj0crx6zvxclr3c3r6n3nhznjwx0p79f"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
@ -493,12 +493,6 @@ Protocol,ICMP} echo (ping) functionality.")
|
|||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "./ttar" "-C" "testdata/" "-x" "-f" "testdata/fixtures.ttar"))))
|
||||
;; XXX: Replace when go-build-system supports nested path.
|
||||
(replace 'check
|
||||
(lambda* (#:key import-path tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./...")))))
|
||||
(add-after 'check 'remove-testdata
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue