packages feed

zre-0.1.0.0: zre.cabal

name:                zre
version:             0.1.0.0
synopsis:            ZRE protocol implementation
description:         See README.rst
--homepage:            https://
license:             BSD3
license-file:        LICENSE
author:              Richard Marko
maintainer:          srk@48.io
copyright:           2016 Richard Marko
category:            Web
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:       Network.ZRE
                       , Network.ZRE.Beacon
                       , Network.ZRE.Parse
                       , Network.ZRE.Peer
                       , Network.ZRE.Utils
                       , Network.ZRE.Types
                       , Network.ZRE.ZMQ
                       , Network.ZGossip
                       , Network.ZGossip.ZMQ
                       , Network.ZGossip.Types
                       , Data.ZRE
                       , Data.ZMQParse
                       , Data.ZGossip
                       , System.ZMQ4.Endpoint
  build-depends:       base >= 4.7 && < 5
                     , async
                     , attoparsec
                     , network
                     , network-info
                     , network-multicast
                     , binary
                     , binary-strict
                     , bytestring
                     , containers
                     , mtl
                     , monad-control
                     , optparse-applicative
                     , transformers-base
                     , sockaddr
                     , process
                     , random
                     , stm
                     , time
                     , uuid
                     , zeromq4-haskell
  default-language:    Haskell2010
  ghc-options:         -Wall

executable zre
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , bytestring
                     , async
                     , lifted-async
                     , zre
  default-language:    Haskell2010

executable mzre
  hs-source-dirs:      app
  main-is:             Monadic.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , bytestring
                     , mtl
                     , stm
                     , lifted-async
                     , zre
  default-language:    Haskell2010

executable zreworker
  hs-source-dirs:      app
  main-is:             Worker.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , async
                     , bytestring
                     , mtl
                     , monad-control
                     , lifted-async
                     , zre
  default-language:    Haskell2010

executable zgossip_server
  hs-source-dirs:      app
  main-is:             ZGossipSrv.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , async
                     , bytestring
                     , mtl
                     , monad-control
                     , lifted-async
                     , zre
  default-language:    Haskell2010

executable zrematch
  hs-source-dirs:      app
  main-is:             Match.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , async
                     , bytestring
                     , mtl
                     , monad-control
                     , lifted-async
                     , zre
  default-language:    Haskell2010

executable zretime
  hs-source-dirs:      app
  main-is:             Time.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , bytestring
                     , time
                     , lifted-async
                     , zre
  default-language:    Haskell2010

executable zrecat
  hs-source-dirs:      app
  main-is:             Cat.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , bytestring
                     , time
                     , lifted-async
                     , zre
  default-language:    Haskell2010

test-suite zre-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , zre
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://git.48.io/zre/