diff options
author | joe <joe@jerkface.net> | 2017-11-13 18:15:17 -0500 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-11-13 18:15:17 -0500 |
commit | 2d2a7d8fc074a2ea8442534cab78481a70b43781 (patch) | |
tree | c5b7a5f0895de45ef1ec6647e0de654fd7e0758b /dht-client.cabal | |
parent | ac35b0b19f74ffa4c4176f8b54b7d60ce2442391 (diff) |
Updated cabal file to build xmpp-enabled daemon.
Diffstat (limited to 'dht-client.cabal')
-rw-r--r-- | dht-client.cabal | 48 |
1 files changed, 43 insertions, 5 deletions
diff --git a/dht-client.cabal b/dht-client.cabal index 7c3dcdc3..11ded614 100644 --- a/dht-client.cabal +++ b/dht-client.cabal | |||
@@ -58,7 +58,7 @@ library | |||
58 | , OverloadedStrings | 58 | , OverloadedStrings |
59 | , RecordWildCards | 59 | , RecordWildCards |
60 | , NondecreasingIndentation | 60 | , NondecreasingIndentation |
61 | hs-source-dirs: src, cryptonite-backport, . | 61 | hs-source-dirs: src, cryptonite-backport, ., Presence |
62 | exposed-modules: Network.SocketLike | 62 | exposed-modules: Network.SocketLike |
63 | Data.Digest.CRC32C | 63 | Data.Digest.CRC32C |
64 | Data.Bits.ByteString | 64 | Data.Bits.ByteString |
@@ -98,6 +98,32 @@ library | |||
98 | Roster | 98 | Roster |
99 | Announcer | 99 | Announcer |
100 | InterruptibleDelay | 100 | InterruptibleDelay |
101 | ByteStringOperators | ||
102 | ClientState | ||
103 | ConfigFiles | ||
104 | ConnectionKey | ||
105 | ConsoleWriter | ||
106 | Control.Concurrent.STM.StatusCache | ||
107 | Control.Concurrent.STM.UpdateStream | ||
108 | ControlMaybe | ||
109 | Data.BitSyntax | ||
110 | DNSCache | ||
111 | EventUtil | ||
112 | FGConsole | ||
113 | GetHostByAddr | ||
114 | LocalPeerCred | ||
115 | LockedChan | ||
116 | Logging | ||
117 | Nesting | ||
118 | Paths | ||
119 | PeerResolve | ||
120 | Server | ||
121 | SockAddr | ||
122 | TraversableT | ||
123 | UTmp | ||
124 | XMPPServer | ||
125 | Util | ||
126 | Presence | ||
101 | 127 | ||
102 | build-depends: base | 128 | build-depends: base |
103 | , containers | 129 | , containers |
@@ -116,6 +142,7 @@ library | |||
116 | , directory | 142 | , directory |
117 | , bencoding | 143 | , bencoding |
118 | , contravariant | 144 | , contravariant |
145 | , xml-types | ||
119 | 146 | ||
120 | , cryptonite | 147 | , cryptonite |
121 | , memory | 148 | , memory |
@@ -141,6 +168,15 @@ library | |||
141 | , transformers-base | 168 | , transformers-base |
142 | , mtl | 169 | , mtl |
143 | , ghc-prim | 170 | , ghc-prim |
171 | , transformers | ||
172 | , conduit | ||
173 | , conduit-extra | ||
174 | , xml-conduit | ||
175 | , unix | ||
176 | , template-haskell | ||
177 | , resourcet | ||
178 | , blaze-builder | ||
179 | , hinotify | ||
144 | 180 | ||
145 | if impl(ghc < 8) | 181 | if impl(ghc < 8) |
146 | Build-depends: transformers | 182 | Build-depends: transformers |
@@ -165,11 +201,12 @@ library | |||
165 | Crypto.Internal.Imports | 201 | Crypto.Internal.Imports |
166 | Crypto.PubKey.Curve25519 | 202 | Crypto.PubKey.Curve25519 |
167 | 203 | ||
168 | C-sources: cbits/cryptonite_xsalsa.c, cbits/cryptonite_salsa.c | 204 | C-sources: cbits/cryptonite_xsalsa.c, cbits/cryptonite_salsa.c, |
205 | Presence/monitortty.c | ||
169 | 206 | ||
170 | -- if flag(aeson) | 207 | -- if flag(aeson) |
171 | build-depends: aeson, aeson-pretty, unordered-containers, vector | 208 | build-depends: aeson, aeson-pretty, unordered-containers, vector |
172 | cpp-options: -DBENCODE_AESON | 209 | cpp-options: -DBENCODE_AESON -DRENDERFLUSH |
173 | if flag(thread-debug) | 210 | if flag(thread-debug) |
174 | exposed-modules: Control.Concurrent.Lifted.Instrument | 211 | exposed-modules: Control.Concurrent.Lifted.Instrument |
175 | Control.Concurrent.Async.Lifted.Instrument | 212 | Control.Concurrent.Async.Lifted.Instrument |
@@ -205,9 +242,10 @@ executable dhtd | |||
205 | , unordered-containers | 242 | , unordered-containers |
206 | , vector | 243 | , vector |
207 | , text | 244 | , text |
245 | , resourcet | ||
208 | 246 | ||
209 | if flag(thread-debug) | 247 | if flag(thread-debug) |
210 | build-depends: time | 248 | build-depends: time |
211 | cpp-options: -DTHREAD_DEBUG | 249 | cpp-options: -DTHREAD_DEBUG -DRENDERFLUSH |
212 | ghc-options: -rtsopts -fdefer-typed-holes | 250 | ghc-options: -rtsopts -fdefer-typed-holes -threaded |
213 | 251 | ||