Source

couchdb-enumerator / couchdb-enumerator.cabal

Full commit
name:           couchdb-enumerator
version:        0.3.5
cabal-version:  >= 1.8
license:        BSD3
license-file:   LICENSE
author:         John Lenz <lenz@math.uic.edu>
maintainer:     John Lenz <lenz@math.uic.edu>
synopsis:       Couch DB client library using http-enumerator and aeson
category:       Database, Web
description:    This package is a thin wrapper around http-enumerator to access a Couch DB Database,
    using the aeson package to parse and encode JSON data.  http-enumerator, 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.
build-type:     Simple
stability:      Experimental
homepage:       http://bitbucket.org/wuzzeb/couchdb-enumerator

-- Temp workaround for http://hackage.haskell.org/trac/hackage/ticket/792
extra-source-files: 
      test/Main.hs,
      test/Database/CouchDB/Enumerator/Test/Generic.hs,
      test/Database/CouchDB/Enumerator/Test/Basic.hs,
      test/Database/CouchDB/Enumerator/Test/View.hs,
      test/Database/CouchDB/Enumerator/Test/Util.hs

source-repository head
  type:      mercurial
  location:  https://bitbucket.org/wuzzeb/couchdb-enumerator

library
  ghc-options:      -Wall -fwarn-tabs
  hs-source-dirs:   src
  build-depends:
        base >= 4 && < 5,
        aeson >= 0.5 && < 0.7,
        attoparsec >= 0.8 && < 0.11,
        attoparsec-enumerator >= 0.2 && < 0.4,
        bytestring >= 0.9 && < 0.10,
        enumerator >= 0.4 && < 0.5,
        http-types >= 0.6 && < 0.7,
        http-enumerator >= 0.7 && < 0.8,
        lifted-base >= 0.1 && < 0.2,
        monad-control >= 0.3 && < 0.4,
        text >= 0.11 && < 0.12,
        transformers >= 0.2 && < 0.3,
        unordered-containers >= 0.1 && < 0.2,
        utf8-string >= 0.3 && < 0.4
  exposed-modules:  
                    Database.CouchDB.Enumerator,
                    Database.CouchDB.Enumerator.Generic

test-suite test
  type:            exitcode-stdio-1.0
  x-uses-tf:       true
  ghc-options:     -Wall -rtsopts
  hs-source-dirs:  test
  main-is:         Main.hs
  build-depends:   
        couchdb-enumerator,
        base >= 4 && < 5,
        aeson >= 0.5 && < 0.7,
        attoparsec >= 0.8 && < 0.11,
        attoparsec-enumerator >= 0.2 && < 0.4,
        bytestring >= 0.9 && < 0.10,
        enumerator >= 0.4 && < 0.5,
        http-types >= 0.6 && < 0.7,
        http-enumerator >= 0.7 && < 0.8,
        lifted-base >= 0.1 && < 0.2,
        monad-control >= 0.3 && < 0.4,
        text >= 0.11 && < 0.12,
        transformers >= 0.2 && < 0.3,
        unordered-containers >= 0.1 && < 0.2,
        utf8-string >= 0.3 && < 0.4,
        HUnit >= 1.2 && < 2,
        QuickCheck >= 2.4,
        test-framework >= 0.4.1,
        test-framework-quickcheck2,
        test-framework-hunit,
        vector
  other-modules:   
                   Database.CouchDB.Enumerator.Test.Generic,
                   Database.CouchDB.Enumerator.Test.Basic,
                   Database.CouchDB.Enumerator.Test.View,
                   Database.CouchDB.Enumerator.Test.Util