cabal-version: 2.2 -- Initial package description 'server.cabal' generated by 'cabal init'. -- For further documentation, see http://haskell.org/cabal/users-guide/ name: server version: 0.1.0.0 synopsis: TCP/UDP server library. -- description: -- bug-reports: license: NONE -- license-file: LICENSE author: Joe Crayne maintainer: joe@jerkface.net -- copyright: category: Network extra-source-files: CHANGELOG.md flag network-uri description: Use network-uri package. default: True -- supports network-2.7, 2.8, with deprecation warnings flag old-network-bsd description: Use network-bsd package. default: True -- supports network >3.0 flag new-network-bsd description: Use newer network-bsd package. default: False library exposed-modules: Network.QueryResponse, Network.StreamServer, Network.SocketLike, Network.QueryResponse.TCP, Data.TableMethods, Connection.Tcp, Control.Concurrent.Delay, DNSCache, GetHostByAddr, ControlMaybe, SockAddr, Control.Concurrent.PingMachine, Connection other-modules: ForkLabeled, DebugTag other-extensions: CPP, GADTs, LambdaCase, PartialTypeSignatures, RankNTypes, ScopedTypeVariables, TupleSections, TypeFamilies, TypeOperators, OverloadedStrings, GeneralizedNewtypeDeriving, DoAndIfThenElse, FlexibleInstances, StandaloneDeriving build-depends: base, stm, bytestring, dependent-map, dependent-sum, contravariant, containers, time, cpu, dput-hslogger, directory, lifted-base, hashable, conduit, text, psq-wrap, minmax-psq, lifted-concurrent, word64-map, network-addr hs-source-dirs: src default-language: Haskell2010 cpp-options: -DTHREAD_DEBUG if flag(old-network-bsd) Build-depends: network < 3.0 , network-uri >= 2.6 , network-bsd < 2.8.1.0 else if flag(new-network-bsd) Build-depends: network >= 3.0 , network-uri >= 2.6 , network-bsd >= 2.8.1.0 else if flag(network-uri) Build-depends: network >= 2.6 && < 3.0 , network-uri >= 2.6 else Build-depends: network >= 2.4 && < 2.6