summaryrefslogtreecommitdiff
path: root/dht/presence.cabal.bak
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2019-09-28 13:43:29 -0400
committerJoe Crayne <joe@jerkface.net>2020-01-01 19:27:53 -0500
commit11987749fc6e6d3e53ea737d46d5ab13a16faeb8 (patch)
tree5716463275c2d3e902889db619908ded2a73971c /dht/presence.cabal.bak
parentadd2c76bced51fde5e9917e7449ef52be70faf87 (diff)
Factor out some new libraries
word64-map: Data.Word64Map network-addr: Network.Address tox-crypto: Crypto.Tox lifted-concurrent: Control.Concurrent.Lifted.Instrument Control.Concurrent.Async.Lifted.Instrument psq-wrap: Data.Wrapper.PSQInt Data.Wrapper.PSQ minmax-psq: Data.MinMaxPSQ tasks: Control.Concurrent.Tasks kad: Network.Kademlia Network.Kademlia.Bootstrap Network.Kademlia.Routing Network.Kademlia.CommonAPI Network.Kademlia.Persistence Network.Kademlia.Search
Diffstat (limited to 'dht/presence.cabal.bak')
-rw-r--r--dht/presence.cabal.bak156
1 files changed, 156 insertions, 0 deletions
diff --git a/dht/presence.cabal.bak b/dht/presence.cabal.bak
new file mode 100644
index 00000000..81ca59b2
--- /dev/null
+++ b/dht/presence.cabal.bak
@@ -0,0 +1,156 @@
1name: presence
2version: 0.0.1
3cabal-version: >=1.10
4build-type: Simple
5license: AllRightsReserved
6synopsis: XMPP Server which detects unix logins
7description: When users login to your localhost, their presence is detected and announced
8 to connected xmpp clients. presence is a modern XMPP variant of the old Unix Talk
9 program. Eventually, this will be expanded to become a peer-to-peer service allowing
10 xmpp instant messaging between separate computers as well. And somewhere down the
11 road, extended again to make use of Jingle to facilitate VOIP.
12author: Joe Crayne
13data-dir: ""
14
15library
16 cpp-options: -DRENDERFLUSH
17 c-sources: Presence/monitortty.c
18 hs-source-dirs: . Presence
19 ghc-options: -O2 -fwarn-unused-binds
20 hs-source-dirs: . Presence
21 build-depends:
22 base,
23 binary,
24 blaze-builder,
25 bytestring,
26 conduit (>=1.0.4),
27 conduit-extra,
28 containers,
29 cpu,
30 deepseq,
31 directory,
32 filepath,
33 hinotify,
34 mtl,
35 network,
36 process,
37 random,
38 resourcet,
39 stm,
40 template-haskell,
41 text (>=0.11.2.0),
42 time,
43 transformers,
44 unix,
45 void,
46 xml-conduit,
47 xml-types
48 exposed-modules:
49 ByteStringOperators,
50 ClientState,
51 ConfigFiles,
52 ConnectionKey,
53 ConsoleWriter,
54 Control.Concurrent.STM.StatusCache,
55 Control.Concurrent.STM.UpdateStream,
56 ControlMaybe,
57 Data.BitSyntax,
58 DNSCache,
59 EventUtil,
60 FGConsole,
61 GetHostByAddr,
62 LocalPeerCred,
63 LockedChan,
64 Logging,
65 Nesting,
66 Paths,
67 PeerResolve,
68 Server,
69 SockAddr,
70 SocketLike,
71 TraversableT,
72 UTmp,
73 XMPPServer
74
75executable presence
76 main-is: xmppServer.hs
77 buildable: True
78 cpp-options: -DRENDERFLUSH
79 hs-source-dirs: .
80 ghc-options: -O2 -fwarn-unused-binds -threaded
81 build-depends:
82 base, presence,
83 bytestring,
84 containers,
85 cpu,
86 mtl,
87 network,
88 resourcet,
89 stm,
90 text (>=0.11.2.0),
91 transformers,
92 unix,
93 xml-types
94
95executable whosocket
96 main-is: whosocket.hs
97 hs-source-dirs: .
98 cpp-options: -DRENDERFLUSH
99 ghc-options: -O2 -fwarn-unused-binds -threaded
100 build-depends:
101 base, presence,
102 bytestring,
103 cpu,
104 directory,
105 network,
106 unix
107
108executable nalias2
109 main-is: nalias2.hs
110 hs-source-dirs: .
111 ghc-options: -O2 -fwarn-unused-binds -threaded
112 build-depends: base, presence, text (>=0.11.2.0)
113
114executable consolation
115 main-is: consolation.hs
116 hs-source-dirs: .
117 ghc-options: -O2 -fwarn-unused-binds -threaded
118 cpp-options: -DRENDERFLUSH
119 build-depends:
120 base, presence,
121 bytestring,
122 containers,
123 cpu,
124 mtl,
125 network,
126 resourcet,
127 stm,
128 text (>=0.11.2.0),
129 transformers,
130 unix,
131 xml-types
132 main-is: xmppServer.hs
133
134executable pwrite
135 main-is: pwrite.hs
136 hs-source-dirs: .
137 ghc-options: -O2 -fwarn-unused-binds -threaded
138 build-depends:
139 base,
140 presence,
141 text (>=0.11.2.0),
142 unix
143
144-- [ ] ConduitServer.hs:main = mainC
145-- [ ] Control/Concurrent/STM/StatusCache.hs:-- > main = do q <- atomically $ Cache.new (== '(') (==')')
146-- [ ] Control/Concurrent/STM/UpdateStream.hs:-- > main = do
147-- [ ] Presence/Server.hs:-- > main = runResourceT $ do
148-- [ ] Presence/main.hs:main = do
149-- [x] consolation.hs:main = do
150-- [ ] nalias.hs:main = do
151-- [x] nalias2.hs:main = do
152-- [x] pwrite.hs:main = do
153-- [ ] simplechat.hs:main = do
154-- [ ] test-server.hs:main = do
155-- [x] whosocket.hs:main = do
156-- [x] xmppServer.hs:main = runResourceT $ do