summaryrefslogtreecommitdiff
path: root/kiki.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'kiki.cabal')
-rw-r--r--kiki.cabal30
1 files changed, 11 insertions, 19 deletions
diff --git a/kiki.cabal b/kiki.cabal
index 450a3ab..e301d7f 100644
--- a/kiki.cabal
+++ b/kiki.cabal
@@ -11,21 +11,28 @@ Maintainer: Joseph Crayne <oh.hello.joe@gmail.com>
11--Homepage: TODO 11--Homepage: TODO
12build-type: Simple 12build-type: Simple
13 13
14Flag cryptonite
15 Description: Use newer cryptonite-based x509 version 1.6 and higher
16 Default: True
17
14Executable kiki 18Executable kiki
15 Main-is: kiki.hs 19 Main-is: kiki.hs
16 -- base >=4.6 due to use of readEither in KikiD.Message 20 -- base >=4.6 due to use of readEither in KikiD.Message
17 Build-Depends: base >=4.6.0.0, 21 Build-Depends: base >=4.6.0.0,
18 directory -any, 22 directory -any,
19 openpgp-util -any, 23 openpgp-util -any,
20 crypto-pubkey (>=0.2.3), cryptohash -any, 24 asn1-types -any, asn1-encoding -any,
21 crypto-pubkey-types -any,
22 x509 (< 1.6), asn1-types -any, asn1-encoding -any,
23 dataenc -any, text -any, pretty -any, pretty-show -any, 25 dataenc -any, text -any, pretty -any, pretty-show -any,
24 bytestring -any, openpgp (>=0.6.1.1), binary -any, 26 bytestring -any, binary -any,
25 unix, time, 27 unix, time,
26 containers -any, process -any, filepath -any, 28 containers -any, process -any, filepath -any,
27 network -any, old-locale -any, zlib -any, 29 network -any, old-locale -any, zlib -any,
28 hourglass -any 30 hourglass -any
31 if !flag(cryptonite)
32 Build-Depends: crypto-pubkey >=0.2.3, cryptohash -any,
33 crypto-pubkey-types -any, x509 <1.6
34 else
35 Build-Depends: cryptonite, x509 >=1.6, memory
29 ghc-options: -O2 -fwarn-unused-binds -fwarn-unused-imports 36 ghc-options: -O2 -fwarn-unused-binds -fwarn-unused-imports
30 c-sources: dotlock.c 37 c-sources: dotlock.c
31 38
@@ -33,20 +40,5 @@ Executable hosts
33 Main-is: hosts.hs 40 Main-is: hosts.hs
34 c-sources: dotlock.c 41 c-sources: dotlock.c
35 42
36Executable kikid
37 Main-is: kikid.hs
38 Build-Depends: base -any,
39 --kiki >=0.0.3,
40 hdaemonize >= 0.5,
41 hsyslog -any,
42 async >= 2.0.0,
43 stm-chans >= 2.0.0,
44 network >= 2.4 && < 3.0,
45 monad-loops -any,
46 HTTP -any,
47 stm >= 2.3,
48 cereal -any,
49 bytes -any
50
51library 43library
52 exposed-modules: KeyRing 44 exposed-modules: KeyRing