packages feed

persistent-0.6.2: persistent.cabal

name:            persistent
version:         0.6.2
license:         BSD3
license-file:    LICENSE
author:          Michael Snoyman <michael@snoyman.com>
maintainer:      Michael Snoyman <michael@snoyman.com>
synopsis:        Type-safe, non-relational, multi-backend persistence.
description:     This library provides just the general interface and helper functions. You must use a specific backend in order to make this useful.
category:        Database, Yesod
stability:       Stable
cabal-version:   >= 1.8
build-type:      Simple
homepage:        http://www.yesodweb.com/book/persistent

library
    build-depends:   base                     >= 4       && < 5
                   , bytestring               >= 0.9     && < 0.10
                   , transformers             >= 0.2.1   && < 0.3
                   , time                     >= 1.1.4   && < 1.3
                   , text                     >= 0.8     && < 0.12
                   , containers               >= 0.2     && < 0.5
                   , enumerator               >= 0.4.9   && < 0.5
                   , monad-control            >= 0.2     && < 0.3
                   , pool                     >= 0.1     && < 0.2
                   , blaze-html               >= 0.4     && < 0.5
                   , path-pieces              >= 0.0     && < 0.1
                   , mtl                      >= 2.0     && < 2.1
    exposed-modules: Database.Persist
                     Database.Persist.Base
                     Database.Persist.Quasi
                     Database.Persist.GenericSql
                     Database.Persist.GenericSql.Internal
                     Database.Persist.GenericSql.Raw
                     Database.Persist.TH.Library
                     Database.Persist.Util
                     Database.Persist.Join
                     Database.Persist.Join.Sql
    ghc-options:     -Wall

test-suite test
    type:          exitcode-stdio-1.0
    main-is:       main.hs
    hs-source-dirs: test, persistent-template, persistent-sqlite, persistent-postgresql, persistent-mongoDB

    build-depends:   HUnit
                   , hspec >= 0.6.1 && < 0.7
                   , file-location >= 0.4 && < 0.5
                   , base >= 4 && < 5
                   , template-haskell >= 2.4 && < 2.7
                   , HDBC-postgresql
                   , HDBC
                   -- mongoDB dependencies
                   , mongoDB       == 1.1.*
                   , bson          >= 0.1.5
                   , cereal
                   , network
                   , compact-string-fix
                   , persistent
                   , path-pieces
                   , text
                   , transformers
                   , monad-control
                   , containers
                   , bytestring
                   , enumerator
                   , time >= 1.2
                   , random == 1.*
                   , QuickCheck == 2.4.*

    -- these are mutually exclusive options
    -- cpp-options: -DWITH_POSTGRESQL
    -- cpp-options: -DWITH_MONGODB -DDEBUG
    ghc-options:   -Wall
    extra-libraries: sqlite3

source-repository head
  type:     git
  location: git://github.com/yesodweb/persistent.git