packages feed

couchdb-conduit-0.7.2: couchdb-conduit.cabal

name:           couchdb-conduit
version:        0.7.2
cabal-version:  >= 1.8
build-type:     Simple
stability:      Stable
category:       Database, Conduit
license:        BSD3
license-file:   LICENSE
author:         Alexander Dorofeev <aka.spin@gmail.com>, John Lenz <lenz@math.uic.edu>
maintainer:     Alexander Dorofeev <aka.spin@gmail.com>
synopsis:       Couch DB client library using http-conduit and aeson
homepage:       https://github.com/akaspin/couchdb-conduit
bug-reports:    https://github.com/akaspin/couchdb-conduit/issues
description:    
    This package is a thin wrapper around http-conduit to access a Couch DB Database,
    using the aeson package to parse and encode JSON data. http-conduit, aeson, and
    attoparsec fit togther so well that this package is mostly just a direct combination
    of these packages.  The single additional feature in this package is an attoparsec parser
    for views, which allows constant memory processing of view returns.

source-repository head
  type:         git
  location:     git://github.com/akaspin/couchdb-conduit.git

library
  hs-source-dirs:   src
  build-depends:   
                   base >= 4 && < 5,
                   aeson >= 0.6 && < 0.7,
                   attoparsec >= 0.8 && < 0.11,
                   attoparsec-conduit >= 0.2 && < 0.3,
                   bytestring >= 0.9 && < 0.10,
                   conduit >= 0.2 && < 0.3,
                   containers >= 0.2,
                   http-conduit >= 1.2 && < 1.3,
                   http-types >= 0.6 && < 0.7,
                   monad-control >= 0.3 && < 0.4,
                   transformers >= 0.2 && < 0.3,
                   transformers-base >= 0.4 && < 0.5,
                   lifted-base >= 0.1 && < 0.2,
                   utf8-string >= 0.3 && < 0.4,
                   text >= 0.11 && < 0.12,
                   unordered-containers >= 0.1,
                   syb,
                   data-default,
                   blaze-builder >= 0.2.1 && < 0.4
  ghc-options:      -Wall
  exposed-modules:  
                    Database.CouchDB.Conduit,
                    Database.CouchDB.Conduit.DB,
                    Database.CouchDB.Conduit.Design,
                    Database.CouchDB.Conduit.Explicit,
                    Database.CouchDB.Conduit.Generic,
                    Database.CouchDB.Conduit.LowLevel,
                    Database.CouchDB.Conduit.View
  other-modules:    
                    Database.CouchDB.Conduit.Internal.Doc,
                    Database.CouchDB.Conduit.Internal.Parser,
                    Database.CouchDB.Conduit.Internal.View,
                    Database.CouchDB.Conduit.Internal.Connection,
                    Database.CouchDB.Conduit.Implicit

test-suite test
  type:            exitcode-stdio-1.0
  x-uses-tf:       true
  build-depends:   
                   base >= 4,
                   HUnit >= 1.2 && < 2,
                   test-framework >= 0.4.1,
                   test-framework-hunit,
                   couchdb-conduit,
                   aeson >= 0.6 && < 0.7,
                   attoparsec >= 0.8 && < 0.11,
                   attoparsec-conduit >= 0.2 && < 0.3,
                   bytestring >= 0.9 && < 0.10,
                   conduit >= 0.2 && < 0.3,
                   containers >= 0.2,
                   http-conduit >= 1.2 && < 1.3,
                   http-types >= 0.6 && < 0.7,
                   monad-control >= 0.3 && < 0.4,
                   transformers >= 0.2 && < 0.3,
                   transformers-base >= 0.4 && < 0.5,
                   lifted-base >= 0.1 && < 0.2,
                   utf8-string >= 0.3 && < 0.4,
                   text >= 0.11 && < 0.12,
                   unordered-containers >= 0.1,
                   syb,
                   data-default,
                   blaze-builder >= 0.2.1 && < 0.4
                   
  ghc-options:     -Wall -rtsopts -threaded
  hs-source-dirs:  test
  main-is:         Main.hs
  other-modules:   
                   Database.CouchDB.Conduit.Test.Explicit,
                   Database.CouchDB.Conduit.Test.Util,
                   Database.CouchDB.Conduit.Test.View,
                   Database.CouchDB.Conduit.Test.Generic,
                   CouchDBAuth,
                   Database.CouchDB.Conduit.Test.Base