summaryrefslogtreecommitdiff
path: root/kiki.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'kiki.cabal')
-rw-r--r--kiki.cabal17
1 files changed, 12 insertions, 5 deletions
diff --git a/kiki.cabal b/kiki.cabal
index e301d7f..9e9e314 100644
--- a/kiki.cabal
+++ b/kiki.cabal
@@ -15,6 +15,10 @@ Flag cryptonite
15 Description: Use newer cryptonite-based x509 version 1.6 and higher 15 Description: Use newer cryptonite-based x509 version 1.6 and higher
16 Default: True 16 Default: True
17 17
18Flag hourglass
19 Description: Use newer hourglass-based x509 version 1.5 and higher
20 Default: True
21
18Executable kiki 22Executable kiki
19 Main-is: kiki.hs 23 Main-is: kiki.hs
20 -- base >=4.6 due to use of readEither in KikiD.Message 24 -- base >=4.6 due to use of readEither in KikiD.Message
@@ -24,15 +28,18 @@ Executable kiki
24 asn1-types -any, asn1-encoding -any, 28 asn1-types -any, asn1-encoding -any,
25 dataenc -any, text -any, pretty -any, pretty-show -any, 29 dataenc -any, text -any, pretty -any, pretty-show -any,
26 bytestring -any, binary -any, 30 bytestring -any, binary -any,
27 unix, time, 31 unix, time,
28 containers -any, process -any, filepath -any, 32 containers -any, process -any, filepath -any,
29 network -any, old-locale -any, zlib -any, 33 network -any, old-locale -any, zlib -any
30 hourglass -any
31 if !flag(cryptonite) 34 if !flag(cryptonite)
32 Build-Depends: crypto-pubkey >=0.2.3, cryptohash -any, 35 Build-Depends: crypto-pubkey >=0.2.3, cryptohash -any,
33 crypto-pubkey-types -any, x509 <1.6 36 crypto-pubkey-types -any
37 if flag(hourglass)
38 Build-Depends: hourglass -any, x509 >=1.5 && <1.6
39 else
40 Build-Depends: x509 <1.6
34 else 41 else
35 Build-Depends: cryptonite, x509 >=1.6, memory 42 Build-Depends: cryptonite, x509 >=1.6, memory, hourglass
36 ghc-options: -O2 -fwarn-unused-binds -fwarn-unused-imports 43 ghc-options: -O2 -fwarn-unused-binds -fwarn-unused-imports
37 c-sources: dotlock.c 44 c-sources: dotlock.c
38 45