me
/
guix
Archived
1
0
Fork 0

gnu: go-github-com-yuin-goldmark: Enable all tests.

* gnu/packages/golang-build.scm (go-github-com-yuin-goldmark)
[arguments]: <#:phases>: Use custom 'check phase.
[description]: Start from the new line.

Change-Id: I81c2c17c91460c77de385c38d9a3c3311656925a
master
Sharlatan Hellseher 2024-07-03 09:18:44 +01:00
parent 0bd0a2d16d
commit 1edca36f33
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 13 additions and 2 deletions

View File

@ -70,10 +70,21 @@
(base32 "01807xs8501cyhkrrgg6k9ghl9jrw6dp0ry9knygck48canckxs2"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/yuin/goldmark"))
(list
#:import-path "github.com/yuin/goldmark"
#:phases
#~(modify-phases %standard-phases
;; XXX: Workaround for go-build-system's lack of Go modules
;; support.
(replace 'check
(lambda* (#:key tests? import-path #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "test" "-v" "./..."))))))))
(home-page "https://github.com/yuin/goldmark/")
(synopsis "Markdown parser")
(description "This package provides a markdown parser.")
(description
"This package provides a markdown parser.")
(license license:expat)))
(define-public go-golang-org-x-crypto