[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
175/257: gnu: ghc-cgi: Adjust dependency constraints.
From: |
Ricardo Wurmus |
Subject: |
175/257: gnu: ghc-cgi: Adjust dependency constraints. |
Date: |
Thu, 27 Sep 2018 15:47:23 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit f9b0392407d1b1758bd5f3bac09d720d6905220a
Author: Timothy Sample <address@hidden>
Date: Thu Sep 6 13:55:55 2018 -0400
gnu: ghc-cgi: Adjust dependency constraints.
* gnu/packages/haskell.scm (ghc-cgi)[arguments]: Remove "--allow-newer"
configure flag; add a phase that patches the Cabal file to allow newer
versions of exceptions, time, doctest, and QuickCheck.
---
gnu/packages/haskell.scm | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 45a43d6..ba84914 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1093,7 +1093,19 @@ tool lex or flex for C/C++.")
"1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj"))))
(build-system haskell-build-system)
(arguments
- `(#:configure-flags (list "--allow-newer=QuickCheck")))
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "cgi.cabal"
+ (("exceptions < 0\\.9")
+ "exceptions < 0.11")
+ (("time >= 1\\.5 && < 1\\.7")
+ "time >= 1.5 && < 1.9")
+ (("doctest >= 0\\.8 && < 0\\.12")
+ "doctest >= 0.8 && < 0.17")
+ (("QuickCheck >= 2\\.8\\.1 && < 2\\.10")
+ "QuickCheck >= 2.8.1 && < 2.12")))))))
(inputs
`(("ghc-parsec" ,ghc-parsec)
("ghc-exceptions" ,ghc-exceptions)
- 149/257: gnu: ghc-x509: Update to 1.7.3., (continued)
- 149/257: gnu: ghc-x509: Update to 1.7.3., Ricardo Wurmus, 2018/09/27
- 191/257: gnu: ghc-hslua-module-text: Update Cabal file to r1., Ricardo Wurmus, 2018/09/27
- 187/257: gnu: ghc-aeson-compat: Update to 0.3.8., Ricardo Wurmus, 2018/09/27
- 186/257: gnu: agda: Update to 2.5.4.1., Ricardo Wurmus, 2018/09/27
- 185/257: gnu: ghc-uri-bytestring: Update to 0.3.2.0., Ricardo Wurmus, 2018/09/27
- 182/257: gnu: ghc-parsers: Update to 0.12.9., Ricardo Wurmus, 2018/09/27
- 135/257: gnu: ghc-base-orphans: Update to 0.7., Ricardo Wurmus, 2018/09/27
- 123/257: gnu: ghc-cryptohash-sha1: Update Cabal file to r2., Ricardo Wurmus, 2018/09/27
- 211/257: gnu: ghc-wai: Update to 3.2.1.2., Ricardo Wurmus, 2018/09/27
- 190/257: gnu: ghc-doctemplates: Update to 0.2.2.1., Ricardo Wurmus, 2018/09/27
- 175/257: gnu: ghc-cgi: Adjust dependency constraints.,
Ricardo Wurmus <=
- 172/257: gnu: ghc-aeson: Update to 1.3.1.1., Ricardo Wurmus, 2018/09/27
- 171/257: gnu: ghc-x509-validation: Update to 1.6.10., Ricardo Wurmus, 2018/09/27
- 168/257: gnu: ghc-quickcheck-instances: Update Cabal file to r1., Ricardo Wurmus, 2018/09/27
- 158/257: gnu: ghc-wave: Update to 0.1.5., Ricardo Wurmus, 2018/09/27
- 189/257: gnu: ghc-connection: Update to 0.2.8., Ricardo Wurmus, 2018/09/27
- 178/257: gnu: ghc-haskell-src-exts-util: Update to 0.2.3., Ricardo Wurmus, 2018/09/27
- 179/257: gnu: ghc-haskell-src-meta: Update to 0.8.0.3., Ricardo Wurmus, 2018/09/27
- 181/257: gnu: ghc-http-date: Update to 0.0.8., Ricardo Wurmus, 2018/09/27
- 161/257: gnu: ghc-attoparsec: Enable tests and allow newer QuickCheck., Ricardo Wurmus, 2018/09/27
- 155/257: gnu: ghc-mockery: Update to 0.3.5., Ricardo Wurmus, 2018/09/27