packages feed

cqrs-0.9.0: cqrs.cabal

Name:                cqrs
Version:             0.9.0
Synopsis:            Command-Query Responsibility Segregation
Description:         Haskell implementation of the CQRS architectural pattern.
License:             MIT
License-file:        LICENSE
Category:            Data
Cabal-version:       >=1.10
Build-type:          Simple
Author:              Bardur Arantsson
Maintainer:          Bardur Arantsson <bardur@scientician.net>

Library
  Build-Depends:       base == 4.*
                     , bytestring >= 0.9.0.1
                     , conduit >= 1.0 && < 2
                     , containers >= 0.5
                     , cqrs-types >= 0.9.0 && < 0.10
                     , deepseq >= 1.3 && < 2
                     , random >= 1.0 && < 1.1
                     , pool-conduit >= 0.1 && < 0.2
                     , SafeSemaphore >= 0.9 && < 1.0
                     , stm >= 2.4 && < 3
                     , transformers >= 0.2.2 && < 0.4
  Default-language:    Haskell2010
  Default-Extensions:  DeriveDataTypeable
                       ExistentialQuantification
                       GeneralizedNewtypeDeriving
                       MultiParamTypeClasses
                       PackageImports
                       ScopedTypeVariables
  ghc-options:         -Wall
  hs-source-dirs:      src
  Exposed-modules:     Data.CQRS.Command
                       Data.CQRS.EventStore.Backend.Memory
                       Data.CQRS.GUID
                       Data.CQRS.Repository
                       Data.CQRS.Query
                       Data.CQRS.Serializable
  Other-modules:       Data.CQRS.Internal.AggregateRef
                       Data.CQRS.Internal.EventBus
                       Data.CQRS.Internal.EventStore
                       Data.CQRS.Internal.Repository
                       Data.CQRS.Internal.UnitOfWork

Test-Suite cqrs-tests
  Type:                exitcode-stdio-1.0
  Hs-source-dirs:      src-test
  Main-is:             Main.hs
  Build-depends:       base == 4.*
                     , async >= 2.0.1 && < 3
                     , bytestring >= 0.9.0.1
                     , conduit >= 0.5 && < 0.6
                     , pool-conduit >= 0.1 && < 0.2
                     , stm >= 2.4 && < 3
                     , transformers >= 0.2.2 && < 0.4
                     -- Self-dependency
                     , cqrs
                     , cqrs-test >= 0.9 && < 0.10
                     -- Test framework
                     , hspec >= 1.3 && < 2.0
                     , HUnit >= 1.2 && < 2.0
  Ghc-options:         -Wall
  Default-language:    Haskell2010
  Default-extensions:  DeriveDataTypeable
                       MultiParamTypeClasses
                       OverloadedStrings
                       ScopedTypeVariables
                       TemplateHaskell