summaryrefslogtreecommitdiff
path: root/kiki.cabal
diff options
context:
space:
mode:
authorjoe <joe@blackbird>2016-04-25 16:01:16 -0400
committerjoe <joe@blackbird>2016-04-25 16:01:16 -0400
commit20babd097f4d5726e6020c4e021d3592faf2f8db (patch)
tree94f7d660d1f5eff47a608f463de575807efac136 /kiki.cabal
parent4bb8a802d50a1396abf3bc237ce3bed823237288 (diff)
add need-local flag to cabal file
Diffstat (limited to 'kiki.cabal')
-rw-r--r--kiki.cabal11
1 files changed, 10 insertions, 1 deletions
diff --git a/kiki.cabal b/kiki.cabal
index a96eee9..3a66588 100644
--- a/kiki.cabal
+++ b/kiki.cabal
@@ -19,6 +19,10 @@ Flag hourglass
19 Description: Use newer hourglass-based x509 version 1.5 and higher 19 Description: Use newer hourglass-based x509 version 1.5 and higher
20 Default: True 20 Default: True
21 21
22Flag needlocale
23 Description: Link against old-locale package for older versions of the time package.
24 Default: False
25
22Executable kiki 26Executable kiki
23 Main-is: kiki.hs 27 Main-is: kiki.hs
24 -- base >=4.6 due to use of readEither in KikiD.Message 28 -- base >=4.6 due to use of readEither in KikiD.Message
@@ -93,10 +97,15 @@ library
93 pretty-show, 97 pretty-show,
94 process, 98 process,
95 text, 99 text,
96 time,
97 unix, 100 unix,
98 zlib, 101 zlib,
99 openpgp-util 102 openpgp-util
103 -- todo: remove this dependency when flag(hourglass)
104 if flag(needlocale)
105 build-depends: time < 1.5, old-locale
106 else
107 build-depends: time >= 1.5
108
100 if !flag(cryptonite) 109 if !flag(cryptonite)
101 Build-Depends: crypto-pubkey >=0.2.3, cryptohash -any, 110 Build-Depends: crypto-pubkey >=0.2.3, cryptohash -any,
102 crypto-pubkey-types -any 111 crypto-pubkey-types -any