packages feed

glue-0.1.1.0: glue.cabal

name:                   glue
version:                0.1.1.0
synopsis:               Make better services.
description:            Implements common patterns used in building services that run smoothly and efficiently.
license:                BSD3
license-file:           LICENSE
author:                 Sean Parsons
maintainer:             github@futurenotfound.com
category:               Network
build-type:             Simple
-- extra-source-files:
cabal-version:          >=1.10

source-repository head
  type:                git
  location:            git://github.com/seanparsons/glue.git

library
  exposed-modules:      Glue
                        Glue.Types
                        Glue.Failover
                        Glue.Caching
                        Glue.CircuitBreaker
                        Glue.DogpileProtection
                        Glue.Timeout
                        Glue.Retry
                        Glue.Batcher
                        Glue.Stats
  -- other-modules:
  -- other-extensions:
  build-depends:        base >=4.6 && <4.9,
                        transformers,
                        transformers-base,
                        lifted-base,
                        time,
                        monad-control,
                        unordered-containers,
                        hashable,
                        ekg-core,
                        text
  ghc-options:          -rtsopts
                        -Wall
  hs-source-dirs:       src
  default-language:     Haskell2010

executable example
  main-is:              Main.hs
  hs-source-dirs:       src,
                        example
  other-modules:        Glue.Example.BatcherExample
  build-depends:        base ==4.*,
                        transformers,
                        transformers-base,
                        lifted-base,
                        time,
                        monad-control,
                        unordered-containers,
                        hashable,
                        ekg-core,
                        text,
                        async
  default-language:     Haskell2010

test-suite tests
  build-depends:        base ==4.*,
                        QuickCheck -any,
                        quickcheck-instances,
                        hspec -any,
                        transformers,
                        transformers-base,
                        lifted-base,
                        time,
                        monad-control,
                        unordered-containers,
                        hashable,
                        ekg-core,
                        text,
                        async
  ghc-options:          -rtsopts
                        -Wall
                        -O2
                        -threaded
  type:                 exitcode-stdio-1.0
  main-is:              Main.hs
  buildable:            True
  default-language:     Haskell2010
  hs-source-dirs:       test,
                        src