packages feed

zeromq4-patterns-0.3.0.0: zeromq4-patterns.cabal

name:           zeromq4-patterns
version:        0.3.0.0
synopsis:       Haskell implementation of several ZeroMQ patterns.
description:
    Haskell implementation of several ZeroMQ patterns that you can find in the
    official ZeroMQ guide.
homepage:       https://github.com/hverr/zeromq4-patterns#readme
bug-reports:    https://github.com/hverr/zeromq4-patterns/issues
author:         Henri Verroken
maintainer:     henriverroken@gmail.com
copyright:      2018 Henri Verroken
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
category:       System
extra-source-files: README.md

source-repository head
  type: git
  location: https://github.com/hverr/zeromq4-patterns

library
  hs-source-dirs:       src
  exposed-modules:      System.ZMQ4.Patterns.Clone
                      , System.ZMQ4.Patterns.Clone.Internal
                      , System.ZMQ4.Patterns.RequestReply
  build-depends:        base >=4.7 && <5
                      , async
                      , binary
                      , bytestring
                      , exceptions
                      , stm
                      , zeromq4-haskell
  default-language:     Haskell2010
  ghc-options:          -Wall

executable zeromq4-patterns-exe
  main-is:              Main.hs
  hs-source-dirs:       example
  build-depends:        base >=4.7 && <5
                      , zeromq4-patterns
  default-language:     Haskell2010
  ghc-options:          -threaded -rtsopts -with-rtsopts=-N -Wall

test-suite zeromq4-patterns-test
  type:                 exitcode-stdio-1.0
  main-is:              Spec.hs
  hs-source-dirs:       test
  other-modules:        Test.System.ZMQ4.Patterns.Clone.Internal
                      , Test.System.ZMQ4.Patterns.RequestReply
  build-depends:        base >=4.7 && <5
                      , zeromq4-patterns
                      , QuickCheck
                      , async
                      , binary
                      , bytestring
                      , test-framework
                      , test-framework-quickcheck2
  default-language:     Haskell2010
  ghc-options:          -Wall