summaryrefslogtreecommitdiff
path: root/kiki.cabal
blob: ffb2bf49f48941dd47065e9c0aff03f74baf57aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126

Name:                kiki
Version:             0.0.3
cabal-version:       >= 1.8
Synopsis:            A bridge between (cryptographic) keys
Description:         gpg operations... TODO
License:             AllRightsReserved
-- License-file:        LICENSE TODO
Author:              Joseph Crayne
Maintainer:          Joseph Crayne <oh.hello.joe@gmail.com>
--Homepage:          TODO
build-type:          Simple

Executable kiki
    Ghc-Options: -W -Wall -Wno-name-shadowing -Wno-unused-matches -Wno-unused-do-bind -Wno-type-defaults
    Main-is: kiki.hs
    Build-Depends:   base >= 4.8.0.0,
                     asn1-encoding,
                     asn1-types,
                     binary,
                     bytestring,
                     containers,
                     directory,
                     filepath,
                     tar,
                     text,
                     time,
                     unix,
                     openpgp-util,
                     network,
                     pretty-show,
                     kiki
    other-modules: DNSKey
    Build-Depends:   cryptonite, x509 >=1.6, memory, hourglass

Executable hosts
    Ghc-Options: -W -Wall -Wno-name-shadowing -Wno-unused-matches -Wno-unused-do-bind -Wno-type-defaults
    Main-is: hosts.hs
    Build-Depends:   base >= 4.8.0.0,
                     bytestring,
                     network,
                     kiki

Executable cokiki
    Ghc-Options: -W -Wall -Wno-name-shadowing -Wno-unused-matches -Wno-unused-do-bind -Wno-type-defaults
    Main-is: cokiki.hs
    Build-Depends:   base >= 4.8.0.0,
                     bytestring,
                     filepath,
                     unix,
                     directory,
                     deepseq,
                     openpgp-util,
                     kiki

library
    Ghc-Options: -W -Wall -Wno-name-shadowing -Wno-unused-matches -Wno-unused-do-bind -Wno-type-defaults
    hs-source-dirs:  lib
    exposed-modules: KeyRing,
                     KeyRing.Types,
                     KeyRing.BuildKeyDB,
                     Kiki,
                     ScanningParser,
                     PEM,
                     DotLock,
                     Base58,
                     CryptoCoins,
                     ProcessUtils,
                     Hosts,
                     SSHKey,
                     LengthPrefixedBE,
                     CommandLine,
                     Numeric.Interval.Bounded,
                     SuperOrd,
                     FunctorToMaybe,
                     GnuPGAgent,
                     ByteStringUtil,
                     IntMapClass,
                     KeyDB
    other-modules:   TimeUtil,
                     ControlMaybe,
                     Compat,
                     PacketTranscoder,
                     Transforms,
                     Data.OpenPGP.Util,
                     Text.XXD,
                     Data.List.Merge
    Build-Depends:   base >= 4.8.0.0,
                     openpgp-asciiarmor,
                     asn1-encoding,
                     asn1-types,
                     binary,
                     bytestring,
                     containers >= 0.5.3,
                     deepseq,
                     directory,
                     filepath,
                     network >= 2.4.0,
                     openpgp-util,
                     pretty-show,
                     process,
                     temporary,
                     text,
                     unix,
                     zlib,
                     time >= 1.5,
                     intervals

    Build-Depends:   cryptonite, x509 >=1.6, memory, hourglass
    c-sources: lib/dotlock.c

Test-suite testkiki
    Ghc-Options: -W -Wall -Wno-name-shadowing -Wno-unused-matches -Wno-unused-do-bind -Wno-type-defaults
    type:   exitcode-stdio-1.0
    Main-is: testkiki.hs
    hs-source-dirs: testkiki
    Build-depends:  Cabal
                    , hspec
                    , process
                    , directory
                    , unix
                    , filepath
                    , bytestring
                    , time
                    , kiki
    Build-Depends:  cryptonite, memory, base >= 4.8.0.0