diff options
Diffstat (limited to 'kiki.cabal')
-rw-r--r-- | kiki.cabal | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 | ||
22 | Flag needlocale | ||
23 | Description: Link against old-locale package for older versions of the time package. | ||
24 | Default: False | ||
25 | |||
22 | Executable kiki | 26 | Executable 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 |