Name:           CouchDB
Version:        1.2.3
Cabal-Version:	>= 1.10
Copyright:      Copyright (c) 2008-2012.
License:        BSD3
License-file:   LICENSE
Author:         see the AUTHORS file
Maintainer:     Ganesh Sittampalam <ganesh@earth.li>
Homepage:       http://github.com/hsenag/haskell-couchdb/
Stability:      provisional
Category:       Database
Build-Type:     Simple
Synopsis:       CouchDB interface
Extra-Source-Files: README LICENSE AUTHORS CHANGES

Description:
   An interface to CouchDB servers.

source-repository head
  type:     git
  location: https://github.com/hsenag/haskell-couchdb

flag network-uri
   description: Get Network.URI from the new network-uri package ? A compatibility flag, cabal will toggle it as needed.
   default: True

Test-Suite test-couchdb
  Hs-Source-Dirs: src
  default-language: Haskell2010
  Type: exitcode-stdio-1.0
  Main-Is: Tests.hs
  Build-Depends:
    base, mtl, containers, HTTP>=4000.0.4, json>=0.4.3, utf8-string >= 0.3.6 && <= 1.1, HUnit, bytestring
  if flag(network-uri)
    build-depends: network >= 2.6, network-uri >= 2.6
  else
    build-depends: network < 2.6, network-uri < 2.6
  default-extensions:
    FlexibleInstances
  ghc-options:
    -fwarn-incomplete-patterns
 
Library
  Hs-Source-Dirs: src
  default-language: Haskell2010
  Build-Depends:
    base >= 4 && < 4.15, mtl, containers, network, network-uri, HTTP>=4000.0.4, json>=0.4.3, utf8-string >= 0.3.6 && <= 1.1, bytestring
  if flag(network-uri)
    build-depends: network >= 2.6, network-uri >= 2.6
  else
    build-depends: network < 2.6, network-uri < 2.6
  ghc-options:
    -fwarn-incomplete-patterns
  Exposed-Modules:
    Database.CouchDB Database.CouchDB.JSON
  Other-Modules:
    Database.CouchDB.HTTP Database.CouchDB.Unsafe