[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
249/257: gnu: ghc-haddock-api: Update to 2.19.0.1.
From: |
Ricardo Wurmus |
Subject: |
249/257: gnu: ghc-haddock-api: Update to 2.19.0.1. |
Date: |
Thu, 27 Sep 2018 15:47:39 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit b3ae165b08040dac856ab36d155a3b015ebfcbd9
Author: Timothy Sample <address@hidden>
Date: Wed Aug 29 00:25:11 2018 -0400
gnu: ghc-haddock-api: Update to 2.19.0.1.
* gnu/packages/haskell.scm (ghc-haddock-api): Update to 2.19.0.1.
[arguments]: Add a phase that patches the Cabal file to allow newer
versions of Cabal and hspec.
---
gnu/packages/haskell.scm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 0e061a6..bcdb6fb 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -989,8 +989,7 @@ the ‘haddock’ package.")
(define-public ghc-haddock-api
(package
(name "ghc-haddock-api")
- ;; This is the last version to be supported by Cabal < 2.0
- (version "2.17.4")
+ (version "2.19.0.1")
(source
(origin
(method url-fetch)
@@ -1000,8 +999,18 @@ the ‘haddock’ package.")
".tar.gz"))
(sha256
(base32
- "00fn6pzgg8xjbaw12d76jdqh2dbc5xy7miyz0x6kidvvar7i35ss"))))
+ "0c6i7sljp7myz25d90gyw68a90i5jcrkajkxcciikp2hjirfaas3"))))
(build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "haddock-api.cabal"
+ (("Cabal \\^>= 2\\.0\\.0")
+ "Cabal ^>= 2.2.0")
+ (("hspec \\^>= 2\\.4\\.4")
+ "hspec >= 2.4.4 && < 2.6")))))))
(inputs
`(("ghc-paths" ,ghc-paths)
("ghc-haddock-library" ,ghc-haddock-library)))
- 251/257: gnu: ghc-yesod-form: Update to 1.6.2., (continued)
- 251/257: gnu: ghc-yesod-form: Update to 1.6.2., Ricardo Wurmus, 2018/09/27
- 256/257: gnu: ghc-base-compat: Update to 0.10.4., Ricardo Wurmus, 2018/09/27
- 253/257: gnu: ghc-pandoc-citeproc: Update to 0.14.3.1., Ricardo Wurmus, 2018/09/27
- 242/257: gnu: ghc-yesod-core: Update to 1.6.6., Ricardo Wurmus, 2018/09/27
- 254/257: gnu: ghc-yesod: Update to 1.6.0., Ricardo Wurmus, 2018/09/27
- 238/257: gnu: ghc-trifecta: Update to 2., Ricardo Wurmus, 2018/09/27
- 229/257: gnu: Add ghc-resolv., Ricardo Wurmus, 2018/09/27
- 243/257: gnu: ghc-persistent-sqlite: Update to 2.8.2., Ricardo Wurmus, 2018/09/27
- 246/257: gnu: ghc-esqueleto: Update to commit b81e0d9., Ricardo Wurmus, 2018/09/27
- 228/257: gnu: Add ghc-hackage-security., Ricardo Wurmus, 2018/09/27
- 249/257: gnu: ghc-haddock-api: Update to 2.19.0.1.,
Ricardo Wurmus <=
- 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, 2018/09/27