packages feed

monarch-0.8.0.0: monarch.cabal

name:                monarch
version:             0.8.0.0
synopsis:            Monadic interface for TokyoTyrant.
description:         This package provides simple monadic interface for TokyoTyrant.
license:             BSD3
license-file:        LICENSE
author:              Noriyuki OHKAWA <n.ohkawa@gmail.com>
maintainer:          Noriyuki OHKAWA <n.ohkawa@gmail.com>
category:            Database
build-type:          Simple
cabal-version:       >=1.8
homepage:            https://github.com/notogawa/monarch
tested-with:         GHC ==7.4.2

source-repository head
  type:                git
  location:            https://github.com/notogawa/monarch

flag develop
  description:         For developer
  default:             False

library
  exposed-modules:     Database.Monarch
  other-modules:       Database.Monarch.Utils
                     , Database.Monarch.Raw
                     , Database.Monarch.Binary
  ghc-options:         -Wall
  build-depends:       base ==4.*
                     , mtl ==2.1.*
                     , transformers ==0.3.*
                     , bytestring ==0.9.*
                     , binary ==0.5.*
                     , transformers ==0.3.*
                     , network ==2.3.*
                     , pool-conduit ==0.1.*
                     , monad-control ==0.3.*
                     , lifted-base ==0.1.*
                     , transformers-base ==0.4.*

test-suite specs
  if flag(develop)
    buildable:         True
  else
    buildable:         False
  hs-source-dirs:      test, .
  type:                exitcode-stdio-1.0
  main-is:             specs.hs
  build-depends:       base ==4.*
                     , mtl ==2.1.*
                     , transformers ==0.3.*
                     , bytestring ==0.9.*
                     , binary ==0.5.*
                     , network ==2.3.*
                     , pool-conduit ==0.1.*
                     , monad-control ==0.3.*
                     , lifted-base ==0.1.*
                     , transformers-base ==0.4.*
                     , hspec ==1.3.*
                     , HUnit ==1.2.*

test-suite doctests
  hs-source-dirs:      test, .
  type:                exitcode-stdio-1.0
  main-is:             doctests.hs
  build-depends:       base ==4.*
                     , doctest ==0.8.*

test-suite benchmark
  if flag(develop)
    buildable:         True
  else
    buildable:         False
  hs-source-dirs:      test, .
  type:                exitcode-stdio-1.0
  main-is:             benchmark.hs
  build-depends:       base ==4.*
                     , mtl ==2.1.*
                     , transformers ==0.3.*
                     , bytestring ==0.9.*
                     , binary ==0.5.*
                     , network ==2.3.*
                     , pool-conduit ==0.1.*
                     , monad-control ==0.3.*
                     , lifted-base ==0.1.*
                     , tokyotyrant-haskell ==1.0.*
                     , transformers ==0.3.*
                     , transformers-base ==0.4.*