gnu: go-gopkg-in-dnaeon-go-vcr-v4: Simplify.

* gnu/packages/golang-check.scm (go-gopkg-in-dnaeon-go-vcr-v4)
[arguments] <skip-build?>: Utilize this parameter instead of deleting
'build phase.
<phases>: Use default 'check.

Change-Id: I5c8e9599920fb012d2e067e70664be5a7df6de1c
This commit is contained in:
Sharlatan Hellseher 2025-07-08 09:45:01 +01:00
parent 03237c4e72
commit f8bc382e55
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2511,17 +2511,8 @@ accurate testing of your code.")
(base32 "1p1a4hbk303k2bv9dmaf770dml71zr3260g5z7yd84vzhj8i0rzb"))))
(arguments
(list
#:import-path "gopkg.in/dnaeon/go-vcr.v4"
#:phases
#~(modify-phases %standard-phases
;; XXX: Workaround for go-build-system's lack of Go modules
;; support.
(delete 'build)
(replace 'check
(lambda* (#:key tests? import-path #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "test" "-v" "./..."))))))))))
#:skip-build? #t
#:import-path "gopkg.in/dnaeon/go-vcr.v4"))))
(define-public go-gopkg-in-go-playground-assert-v1
(package