From 2b8d792e0980e58aa166fc3e28cc42ee13bb358f Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Wed, 7 Jul 2021 12:38:01 +0200 Subject: [PATCH] Updates to cabal file --- gf.cabal | 57 ++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/gf.cabal b/gf.cabal index f202be52d..0a64e3d17 100644 --- a/gf.cabal +++ b/gf.cabal @@ -83,6 +83,9 @@ library random >= 1.1 && < 1.3, pretty >= 1.1.3 && < 1.2, mtl >= 2.2.1 && < 2.3, + hashable >= 1.2.6 && < 1.4, + text >= 1.2.2 && < 1.3, + unordered-containers >= 0.2.8 && < 0.3, -- For compatability with GHC < 8 exceptions >= 0.8.3 && < 0.11, fail >= 4.9.0 && < 4.10, @@ -569,28 +572,38 @@ test-suite lpgf other-modules: GF.System.NoSignal build-depends: ansi-terminal, - array, - base>=4.6 && <5, - bytestring, - containers, - directory, - filepath, - ghc-prim, - hashable, - haskeline, - json, - mtl, - parallel>=3, - pretty, - process, - random, - terminfo, - text, - time, - transformers-compat, - unix, - unordered-containers, - utf8-string + array >= 0.5.1 && < 0.6, + base >=4.6 && < 5, + bytestring >= 0.10.8 && < 0.11, + containers >= 0.5.7 && < 0.7, + directory >= 1.3.0 && < 1.4, + filepath >= 1.4.1 && < 1.5, + hashable >= 1.2.6 && < 1.4, + haskeline >= 0.7.3 && < 0.9, + json >= 0.9.1 && < 0.11, + mtl >= 2.2.1 && < 2.3, + parallel >= 3.2.1.1 && < 3.3, + pretty >= 1.1.3 && < 1.2, + process >= 1.4.3 && < 1.7, + random >= 1.1 && < 1.3, + text >= 1.2.2 && < 1.3, + time >= 1.6.0 && < 1.10, + transformers-compat >= 0.5.1.4 && < 0.7, + unordered-containers >= 0.2.8 && < 0.3, + utf8-string >= 1.0.1.1 && < 1.1 + + if impl(ghc<8) + build-depends: + ghc-prim >= 0.5.0 && < 0.7 + + if os(windows) + build-depends: + Win32 >= 2.3.1.1 && < 2.7 + else + build-depends: + unix >= 2.7.2 && < 2.8, + terminfo >=0.4.0 && < 0.5 + default-language: Haskell2010 benchmark lpgf-bench