diff options
author | joe <joe@jerkface.net> | 2016-04-14 14:48:26 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2016-04-14 14:48:26 -0400 |
commit | 13f3a96ae0a1417e15c9f969737c512ec71642f9 (patch) | |
tree | 2f5ce83fb1f4e18ce4a5020c62dbf449859912e0 /kiki.cabal | |
parent | 71469bfd192b3be62b5c51aeeba37620785bda4b (diff) |
Updated build.
Diffstat (limited to 'kiki.cabal')
-rw-r--r-- | kiki.cabal | 30 |
1 files changed, 11 insertions, 19 deletions
@@ -11,21 +11,28 @@ Maintainer: Joseph Crayne <oh.hello.joe@gmail.com> | |||
11 | --Homepage: TODO | 11 | --Homepage: TODO |
12 | build-type: Simple | 12 | build-type: Simple |
13 | 13 | ||
14 | Flag cryptonite | ||
15 | Description: Use newer cryptonite-based x509 version 1.6 and higher | ||
16 | Default: True | ||
17 | |||
14 | Executable kiki | 18 | Executable 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 | ||
36 | Executable 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 | |||
51 | library | 43 | library |
52 | exposed-modules: KeyRing | 44 | exposed-modules: KeyRing |