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: I81c2c17c91460c77de385c38d9a3c3311656925amaster
parent
0bd0a2d16d
commit
1edca36f33
|
@ -70,10 +70,21 @@
|
||||||
(base32 "01807xs8501cyhkrrgg6k9ghl9jrw6dp0ry9knygck48canckxs2"))))
|
(base32 "01807xs8501cyhkrrgg6k9ghl9jrw6dp0ry9knygck48canckxs2"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(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/")
|
(home-page "https://github.com/yuin/goldmark/")
|
||||||
(synopsis "Markdown parser")
|
(synopsis "Markdown parser")
|
||||||
(description "This package provides a markdown parser.")
|
(description
|
||||||
|
"This package provides a markdown parser.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-golang-org-x-crypto
|
(define-public go-golang-org-x-crypto
|
||||||
|
|
Reference in New Issue