name: dht-client version: 0.0.0.4 license: BSD3 license-file: LICENSE author: Joe Crayne maintainer: Joe Crayne copyright: (c) 2017 Joe Crayne, (c) 2017 James Crayne, (c) 2013 Sam Truzjan category: Network build-type: Custom cabal-version: >= 1.10 tested-with: GHC == 8.0.2, GHC == 7.10.3 homepage: https://github.com/cobit/bittorrent bug-reports: https://github.com/cobit/bittorrent/issues synopsis: BitTorrent DHT protocol implementation. description: A library for making Haskell bittorrent applications easy. . For more information see: extra-source-files: res/dapper-dvd-amd64.iso.torrent res/pkg.torrent README.md ChangeLog cbits/*.h source-repository head type: git location: git://github.com/cobit/bittorrent.git source-repository this type: git location: git://github.com/cobit/bittorrent.git branch: master tag: v0.0.0.4 flag network-uri description: Use network-uri package. default: True flag builder description: Use older bytestring package and bytestring-builder. default: False -- flag aeson -- description: Use aeson for pretty-printing bencoded data. -- default: True flag thread-debug description: Add instrumentation to threads. default: True flag cryptonite-backport description: Backport curve 25519 to older cryptonite library. default: False custom-setup setup-depends: base >= 4.5, Cabal >= 1.14, directory library default-language: Haskell2010 default-extensions: PatternGuards , OverloadedStrings , RecordWildCards , NondecreasingIndentation hs-source-dirs: src, ., Presence exposed-modules: DebugTag Network.SocketLike Data.Digest.CRC32C Data.Bits.ByteString Data.Wrapper.PSQ Data.Wrapper.PSQInt Data.MinMaxPSQ Network.Address Network.Kademlia.Bootstrap Network.Kademlia.Routing Data.Torrent Network.BitTorrent.DHT.ContactInfo Network.BitTorrent.DHT.Token Network.Kademlia.Search Network.QueryResponse Network.StreamServer Data.BEncode.Pretty Control.Concurrent.Tasks Network.Kademlia Network.Kademlia.CommonAPI Network.Kademlia.Persistence Network.BitTorrent.MainlineDHT Network.BitTorrent.MainlineDHT.Symbols System.Global6 Data.PacketQueue Data.PacketBuffer Data.Word64Map OnionRouter Network.Tox Network.Tox.Transport Network.Tox.Crypto.Transport Network.Tox.Onion.Handlers Network.Tox.Onion.Transport Network.Tox.DHT.Handlers Network.Tox.DHT.Transport Network.Tox.Handshake Network.Tox.NodeId Network.Tox.Avahi Network.UPNP Control.TriadCommittee Crypto.Tox Text.XXD Network.Tox.ContactInfo Announcer Announcer.Tox InterruptibleDelay ByteStringOperators ClientState ConfigFiles ConnectionKey ConsoleWriter Control.Concurrent.STM.StatusCache Control.Concurrent.STM.UpdateStream Control.Concurrent.STM.Util ControlMaybe Data.BitSyntax DNSCache EventUtil FGConsole GetHostByAddr LocalPeerCred LockedChan Logging Nesting Paths Connection.Tcp SockAddr UTmp Stanza.Build Stanza.Types Stanza.Parse XMPPServer Util Presence PingMachine Connection ToxToXMPP ToxManager XMPPToTox DebugUtil Data.IntervalSet Data.Tox.Message HandshakeCache Network.Lossless Network.SessionTransports Network.Tox.AggregateSession Network.Tox.Session build-depends: base , dput-hslogger , containers , dependent-sum , array , hashable , iproute , semigroups , stm >= 2.4.0 , stm-chans , concurrent-supply , base16-bytestring , base32-bytestring , base64-bytestring , psqueues , reflection , deepseq , text , filepath , directory , bencoding , contravariant , xml-types , memory , time , random , entropy , cpu , cereal , http-types , process , split , pretty , convertible , data-default , bifunctors , lens , lifted-async , lifted-base , monad-control , transformers-base , mtl , ghc-prim , sensible-directory , temporary , transformers , conduit , conduit-extra , xml-conduit >= 1.5.0 , unix , template-haskell , blaze-builder , exceptions , hinotify , reference , avahi >= 0.2.0 , hslogger if impl(ghc < 8) Build-depends: transformers if flag(network-uri) Build-depends: network >= 2.6 , network-uri >= 2.6 else Build-depends: network >= 2.4 && < 2.6 other-modules: Paths_dht_client C-sources: Presence/monitortty.c -- if flag(aeson) build-depends: aeson, aeson-pretty, unordered-containers, vector cpp-options: -DBENCODE_AESON -DRENDERFLUSH if flag(thread-debug) exposed-modules: Control.Concurrent.Lifted.Instrument Control.Concurrent.Async.Lifted.Instrument cpp-options: -DTHREAD_DEBUG if flag(builder) build-depends: bytestring >= 0.9, bytestring-builder else build-depends: bytestring >= 0.10 ghc-options: -fwarn-missing-signatures -fdefer-typed-holes ghc-prof-options: if flag(cryptonite-backport) cpp-options: -DCRYPTONITE_BACKPORT hs-source-dirs: cryptonite-backport C-sources: cbits/cryptonite_xsalsa.c, cbits/cryptonite_salsa.c other-modules: Crypto.Cipher.Salsa Crypto.Cipher.XSalsa Crypto.ECC.Class Crypto.ECC.Simple.Prim Crypto.ECC.Simple.Types Crypto.Error.Types Crypto.Internal.ByteArray Crypto.Internal.Compat Crypto.Internal.DeepSeq Crypto.Internal.Imports Crypto.PubKey.Curve25519 build-depends: cryptonite < 0.22 else build-depends: cryptonite >= 0.22 executable avahi hs-source-dirs: examples main-is: avahi.hs default-language: Haskell2010 build-depends: base-prelude, dht-client, avahi, network, dput-hslogger ghc-options: -fobject-code executable dht hs-source-dirs: examples main-is: dht.hs default-language: Haskell2010 build-depends: base, haskeline, network, bytestring, transformers, dput-hslogger ghc-options: -fobject-code executable dhtd hs-source-dirs: examples main-is: dhtd.hs default-language: Haskell2010 build-depends: base, network, bytestring, hashable, deepseq, dput-hslogger , aeson , array , pretty , dht-client , unix , containers , stm , stm-chans , concurrent-supply , cereal , bencoding , unordered-containers , vector , text , monad-control , xml-types , conduit , conduit-extra , transformers , filepath , process , cereal-conduit >= 0.7.3 if flag(thread-debug) build-depends: time cpp-options: -DTHREAD_DEBUG -DRENDERFLUSH ghc-options: -rtsopts -fdefer-typed-holes -threaded ghc-prof-options: -g executable testcookie buildable: False hs-source-dirs: examples main-is: testcookie.hs default-language: Haskell2010 build-depends: base, bytestring, cereal, dht-client, stm executable testTox hs-source-dirs: examples main-is: testTox.hs default-language: Haskell2010 build-depends: base , dput-hslogger , dht-client , stm , stm-chans , time , concurrent-supply , containers , network , unordered-containers if flag(thread-debug) cpp-options: -DTHREAD_DEBUG