[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
250/257: gnu: ghc-pandoc: Adjust tests and test dependency constraints.
From: |
Ricardo Wurmus |
Subject: |
250/257: gnu: ghc-pandoc: Adjust tests and test dependency constraints. |
Date: |
Thu, 27 Sep 2018 15:47:39 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit f891a02f94e414985a4e56e8c34f67080ebddd2f
Author: Timothy Sample <address@hidden>
Date: Sat Sep 1 10:55:48 2018 -0400
gnu: ghc-pandoc: Adjust tests and test dependency constraints.
* gnu/packages/haskell.scm (ghc-pandoc)[arguments]: Add a phase to relax a
test suite dependency constraint and another to skip some failing tests.
---
gnu/packages/haskell.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index bcdb6fb..8b2c157 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6859,6 +6859,20 @@ provided. Skylighting is intended to be the successor
to highlighting-kate.")
(base32
"1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy"))))
(build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "pandoc.cabal"
+ (("tasty >= 0\\.11 && < 1\\.1")
+ "tasty >= 0.11 && < 1.1.1"))))
+ (add-before 'configure 'patch-tests
+ (lambda _
+ ;; These tests fail benignly and have been adjusted upstream:
+ ;; <https://github.com/commercialhaskell/stackage/issues/3719>.
+ (substitute* "test/Tests/Old.hs"
+ (("lhsWriterTests \"html\"") "[]")))))))
(inputs
`(("ghc-aeson" ,ghc-aeson)
("ghc-aeson-pretty" ,ghc-aeson-pretty)
- 249/257: gnu: ghc-haddock-api: Update to 2.19.0.1., (continued)
- 249/257: gnu: ghc-haddock-api: Update to 2.19.0.1., Ricardo Wurmus, 2018/09/27
- 240/257: gnu: ghc-warp-tls: Update to 3.2.4.3., Ricardo Wurmus, 2018/09/27
- 231/257: gnu: ghc-feed: Update to 1.0.0.0., Ricardo Wurmus, 2018/09/27
- 245/257: gnu: ghc-aws: Update to 0.20., Ricardo Wurmus, 2018/09/27
- 134/257: gnu: ghc-highlighting-kate: Update to 0.6.4., Ricardo Wurmus, 2018/09/27
- 237/257: gnu: ghc-persistent-template: Update to 2.5.4., Ricardo Wurmus, 2018/09/27
- 217/257: gnu: ghc-wai-extra: Update to 3.0.24.2., Ricardo Wurmus, 2018/09/27
- 226/257: gnu: Add ghc-cryptohash-sha256., Ricardo Wurmus, 2018/09/27
- 248/257: gnu: ghc-yesod-persistent: Update to 1.6.0., Ricardo Wurmus, 2018/09/27
- 241/257: gnu: Add ghc-rio., Ricardo Wurmus, 2018/09/27
- 250/257: gnu: ghc-pandoc: Adjust tests and test dependency constraints.,
Ricardo Wurmus <=
- 244/257: gnu: Add ghc-tree-diff., Ricardo Wurmus, 2018/09/27
- 213/257: gnu: ghc-rebase: Update to 1.2.4., Ricardo Wurmus, 2018/09/27
- 233/257: gnu: ghc-persistent: Update to 2.8.2., Ricardo Wurmus, 2018/09/27
- 239/257: gnu: Remove old versions of ghc-doctest., Ricardo Wurmus, 2018/09/27
- 227/257: ghc: Add ghc-ed25519., Ricardo Wurmus, 2018/09/27
- 232/257: gnu: ghc-lens: Update to 4.16.1., Ricardo Wurmus, 2018/09/27
- 234/257: gnu: ghc-warp: Update to 3.2.23., Ricardo Wurmus, 2018/09/27
- 222/257: gnu: ghc-monad-logger: Update to 0.3.29., Ricardo Wurmus, 2018/09/27
- 218/257: gnu: ghc-vector-builder: Update to 0.3.6., Ricardo Wurmus, 2018/09/27
- 236/257: gnu: ghc-chart: Update to 1.9., Ricardo Wurmus, 2018/09/27