mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-31 16:42:38 -05:00
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
This commit is contained in:
parent
0bd0a2d16d
commit
1edca36f33
1 changed files with 13 additions and 2 deletions
|
@ -70,10 +70,21 @@ (define-public go-github-com-yuin-goldmark
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue