summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2018-06-08 17:33:13 -0400
committerAndrew Cady <d@jerkface.net>2018-06-08 17:35:11 -0400
commite0c86ee172d99d62e9ec6390020b45608b7709aa (patch)
treeb05dbfa119247c65bb3f3824e7bec8b53ad2faa9
parented4af3d68efd4ed73a51fa547dd6d5e72c54f4ab (diff)
add avahi dependency
-rw-r--r--dht-client.cabal2
-rw-r--r--src/Network/Tox/Avahi.hs2
-rw-r--r--stack.yaml2
3 files changed, 6 insertions, 0 deletions
diff --git a/dht-client.cabal b/dht-client.cabal
index ddf30d28..bd660a4b 100644
--- a/dht-client.cabal
+++ b/dht-client.cabal
@@ -102,6 +102,7 @@ library
102 Network.Tox.DHT.Handlers 102 Network.Tox.DHT.Handlers
103 Network.Tox.DHT.Transport 103 Network.Tox.DHT.Transport
104 Network.Tox.NodeId 104 Network.Tox.NodeId
105 Network.Tox.Avahi
105 Network.UPNP 106 Network.UPNP
106 Control.TriadCommittee 107 Control.TriadCommittee
107 Crypto.Tox 108 Crypto.Tox
@@ -197,6 +198,7 @@ library
197 , blaze-builder 198 , blaze-builder
198 , hinotify 199 , hinotify
199 , reference 200 , reference
201 , avahi
200 202
201 if impl(ghc < 8) 203 if impl(ghc < 8)
202 Build-depends: transformers 204 Build-depends: transformers
diff --git a/src/Network/Tox/Avahi.hs b/src/Network/Tox/Avahi.hs
new file mode 100644
index 00000000..58921744
--- /dev/null
+++ b/src/Network/Tox/Avahi.hs
@@ -0,0 +1,2 @@
1module Network.Tox.Avahi where
2import Network.Avahi
diff --git a/stack.yaml b/stack.yaml
index 28eebee9..32715280 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -9,3 +9,5 @@ extra-package-dbs: []
9extra-deps: 9extra-deps:
10- cryptonite-0.23 10- cryptonite-0.23
11- reference-0.1 11- reference-0.1
12- git: https://github.com/portnov/hs-avahi.git
13 commit: d41b179e1163746adcbc1c898e33a77dc8b8174e