1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00

gnu: go-github-com-xrash-smetrics: Simplify.

* gnu/packages/golang-xyz.scm (go-github-com-xrash-smetrics) [arguments]
<phases>: Use default 'check.

Change-Id: I1bbf3fb59f4a7e161ec701aedb50f402832d5710
This commit is contained in:
Sharlatan Hellseher 2025-01-09 20:14:54 +00:00
parent 177da1bd7a
commit b90d134190
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -14064,15 +14064,7 @@ similar string with weeks or days too.")
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/xrash/smetrics"
#:phases
#~(modify-phases %standard-phases
;; 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" "./..."))))))))
#:import-path "github.com/xrash/smetrics"))
(home-page "https://github.com/xrash/smetrics")
(synopsis "String metrics library")
(description