gnu: ghc-pandoc-citeproc: Update to 0.14.3.1.

* gnu/packages/haskell.scm (ghc-pandoc-citeproc): Update to 0.14.3.1.
[arguments]: Add a phase to disable some failing YAML tests.
This commit is contained in:
Timothy Sample 2018-08-29 01:23:22 -04:00 committed by Ricardo Wurmus
parent 1b29af3d16
commit 003ec2c8f0
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 0 deletions

View File

@ -7207,6 +7207,13 @@ the @code{conduit} package.")
(arguments
`(#:phases
(modify-phases %standard-phases
;; Many YAML tests (44) are failing do to changes in ghc-yaml:
;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
(add-before 'configure 'patch-tests
(lambda _
(substitute* "tests/test-pandoc-citeproc.hs"
(("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
"let allTests = citeprocTests"))))
;; Tests need to be run after installation.
(delete 'check)
(add-after 'install 'post-install-check