[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
175/272: gnu: ghc-cgi: Adjust dependency constraints.
From: |
Ricardo Wurmus |
Subject: |
175/272: gnu: ghc-cgi: Adjust dependency constraints. |
Date: |
Mon, 1 Oct 2018 06:13:40 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 892d5546472e214849fced1a5ab23a7afab53e94
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)
- 166/272: gnu: ghc-megaparsec: Update to 6.5.0., (continued)
- 166/272: gnu: ghc-megaparsec: Update to 6.5.0., Ricardo Wurmus, 2018/10/01
- 155/272: gnu: ghc-mockery: Update to 0.3.5., Ricardo Wurmus, 2018/10/01
- 163/272: gnu: ghc-comonad: Update to 5.0.4., Ricardo Wurmus, 2018/10/01
- 161/272: gnu: ghc-attoparsec: Enable tests and allow newer QuickCheck., Ricardo Wurmus, 2018/10/01
- 159/272: gnu: ghc-x509-store: Update to 1.6.6., Ricardo Wurmus, 2018/10/01
- 170/272: gnu: ghc-x509-system: Update to 1.6.6., Ricardo Wurmus, 2018/10/01
- 173/272: gnu: ghc-attoparsec-iso8601: Update Cabal file to r1., Ricardo Wurmus, 2018/10/01
- 176/272: gnu: ghc-email-validate: Update to 2.3.2.6., Ricardo Wurmus, 2018/10/01
- 187/272: gnu: ghc-aeson-compat: Update to 0.3.8., Ricardo Wurmus, 2018/10/01
- 178/272: gnu: ghc-haskell-src-exts-util: Update to 0.2.3., Ricardo Wurmus, 2018/10/01
- 175/272: gnu: ghc-cgi: Adjust dependency constraints.,
Ricardo Wurmus <=
- 204/272: gnu: ghc-reducers: Update to 3.12.3., Ricardo Wurmus, 2018/10/01
- 192/272: gnu: ghc-http-api-data: Update to 0.3.8.1., Ricardo Wurmus, 2018/10/01
- 198/272: gnu: Add ghc-tls-session-manager., Ricardo Wurmus, 2018/10/01
- 191/272: gnu: ghc-hslua-module-text: Update Cabal file to r1., Ricardo Wurmus, 2018/10/01
- 76/272: gnu: ghc-th-expand-syns: Update to 0.4.4.0., Ricardo Wurmus, 2018/10/01
- 197/272: gnu: ghc-shakespeare: Update to 2.0.15., Ricardo Wurmus, 2018/10/01
- 206/272: gnu: ghc-vault: Update to 0.3.1.2., Ricardo Wurmus, 2018/10/01
- 214/272: gnu: ghc-wai-logger: Update to 2.3.2., Ricardo Wurmus, 2018/10/01
- 224/272: gnu: hlint: Update to 2.1.10., Ricardo Wurmus, 2018/10/01
- 233/272: gnu: ghc-persistent: Update to 2.8.2., Ricardo Wurmus, 2018/10/01