1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 11:30:44 +02:00

gnu: go-github-com-burntsushi-toml: Simplify.

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

Change-Id: I53dd7c48c47a42c07d0787718101d3985b63b576
This commit is contained in:
Sharlatan Hellseher 2024-12-26 20:24:32 +00:00
parent 0d29827223
commit a0525d4193
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1683,15 +1683,7 @@ strings into words like a POSIX or Windows shell would.")
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/BurntSushi/toml"
#: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/BurntSushi/toml"))
(home-page "https://github.com/BurntSushi/toml")
(synopsis "Toml parser and encoder for Go")
(description