forked from arjunguha/haskell-couchdb
-
Notifications
You must be signed in to change notification settings - Fork 6
/
CouchDB.cabal
57 lines (52 loc) · 1.73 KB
/
CouchDB.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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 <[email protected]>
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