diff options
Diffstat (limited to 'kiki.cabal')
-rw-r--r-- | kiki.cabal | 69 |
1 files changed, 56 insertions, 13 deletions
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | Name: kiki | 2 | Name: kiki |
3 | Version: 0.0.3 | 3 | Version: 0.0.3 |
4 | cabal-version: >= 1.6 | 4 | cabal-version: >= 1.8 |
5 | Synopsis: A bridge between (cryptographic) keys | 5 | Synopsis: A bridge between (cryptographic) keys |
6 | Description: gpg operations... TODO | 6 | Description: gpg operations... TODO |
7 | License: Undecided | 7 | License: Undecided |
@@ -23,15 +23,20 @@ Executable kiki | |||
23 | Main-is: kiki.hs | 23 | Main-is: kiki.hs |
24 | -- base >=4.6 due to use of readEither in KikiD.Message | 24 | -- base >=4.6 due to use of readEither in KikiD.Message |
25 | Build-Depends: base >=4.6.0.0, | 25 | Build-Depends: base >=4.6.0.0, |
26 | directory -any, | 26 | asn1-encoding, |
27 | openpgp-util -any, | 27 | asn1-types, |
28 | asn1-types -any, asn1-encoding -any, | 28 | binary, |
29 | dataenc -any, text -any, pretty -any, pretty-show -any, | 29 | bytestring, |
30 | bytestring -any, binary -any, | 30 | containers, |
31 | unix, time, | 31 | dataenc, |
32 | containers -any, process -any, filepath -any, | 32 | directory, |
33 | network -any, old-locale -any, zlib -any, | 33 | filepath, |
34 | tar | 34 | tar, |
35 | text, | ||
36 | time, | ||
37 | unix, | ||
38 | openpgp-util, | ||
39 | kiki | ||
35 | if !flag(cryptonite) | 40 | if !flag(cryptonite) |
36 | Build-Depends: crypto-pubkey >=0.2.3, cryptohash -any, | 41 | Build-Depends: crypto-pubkey >=0.2.3, cryptohash -any, |
37 | crypto-pubkey-types -any | 42 | crypto-pubkey-types -any |
@@ -41,12 +46,50 @@ Executable kiki | |||
41 | Build-Depends: x509 <1.6 | 46 | Build-Depends: x509 <1.6 |
42 | else | 47 | else |
43 | Build-Depends: cryptonite, x509 >=1.6, memory, hourglass | 48 | Build-Depends: cryptonite, x509 >=1.6, memory, hourglass |
44 | ghc-options: -O2 -fwarn-unused-binds -fwarn-unused-imports | ||
45 | c-sources: dotlock.c | ||
46 | 49 | ||
47 | Executable hosts | 50 | Executable hosts |
48 | Main-is: hosts.hs | 51 | Main-is: hosts.hs |
52 | buildable: False | ||
49 | c-sources: dotlock.c | 53 | c-sources: dotlock.c |
50 | 54 | ||
51 | library | 55 | library |
52 | exposed-modules: KeyRing | 56 | hs-source-dirs: lib |
57 | exposed-modules: KeyRing, | ||
58 | ScanningParser, | ||
59 | PEM, | ||
60 | DotLock, | ||
61 | Base58, | ||
62 | CryptoCoins, | ||
63 | ProcessUtils | ||
64 | other-modules: Hosts, | ||
65 | TimeUtil, | ||
66 | Compat, | ||
67 | FunctorToMaybe | ||
68 | |||
69 | Build-Depends: base >=4.6.0.0, | ||
70 | asn1-encoding, | ||
71 | asn1-types, | ||
72 | binary, | ||
73 | bytestring, | ||
74 | containers, | ||
75 | dataenc, | ||
76 | directory, | ||
77 | filepath, | ||
78 | network, | ||
79 | pretty-show, | ||
80 | process, | ||
81 | text, | ||
82 | time, | ||
83 | unix, | ||
84 | zlib, | ||
85 | openpgp-util | ||
86 | if !flag(cryptonite) | ||
87 | Build-Depends: crypto-pubkey >=0.2.3, cryptohash -any, | ||
88 | crypto-pubkey-types -any | ||
89 | if flag(hourglass) | ||
90 | Build-Depends: hourglass -any, x509 >=1.5 && <1.6 | ||
91 | else | ||
92 | Build-Depends: x509 <1.6 | ||
93 | else | ||
94 | Build-Depends: cryptonite, x509 >=1.6, memory, hourglass | ||
95 | c-sources: lib/dotlock.c | ||