git.iko.soy/typeable/bloodhound
on 192-ci-warnings help sign in
typeable/bloodhound/bloodhound.cabal
104 lines 3.8 kB history raw
1name: bloodhound
2version: 0.14.0.0
3synopsis: ElasticSearch client library for Haskell
4description: ElasticSearch made awesome for Haskell hackers
5homepage: https://github.com/bitemyapp/bloodhound
6license: BSD3
7license-file: LICENSE
8author: Chris Allen
9maintainer: cma@bitemyapp.com
10copyright: 2015, Chris Allen
11category: Database, Search
12build-type: Simple
13cabal-version: >=1.10
15extra-source-files:
16 README.md
17 changelog.md
19source-repository head
20 type: git
21 location: https://github.com/bitemyapp/bloodhound.git
23flag Validate
24 default: False
25 manual: True
27Flag ES1
28 Description: Run the test suite against an Elasticsearch 1.x server
29 Default: True
31Flag ES5
32 Description: Run the test suite against an Elasticsearch 5.x server
33 Default: False
35library
36 ghc-options: -Wall
37 if flag(Validate)
38 ghc-options: -Werror
39 exposed-modules: Database.V1.Bloodhound
40 Database.V1.Bloodhound.Client
41 Database.V1.Bloodhound.Types
42 Database.V1.Bloodhound.Types.Class
43 Database.V1.Bloodhound.Types.Internal
44 Database.V5.Bloodhound
45 Database.V5.Bloodhound.Client
46 Database.V5.Bloodhound.Types
47 Database.V5.Bloodhound.Types.Class
48 Database.V5.Bloodhound.Types.Internal
49 hs-source-dirs: src
50 build-depends: base >= 4.3 && <5,
51 bytestring >= 0.10.0 && <0.11,
52 containers >= 0.5.0.0 && <0.6,
53 aeson >= 0.11.1 && <1.3,
54 http-client >= 0.4.30 && <0.6,
55 network-uri >= 2.6 && <2.7,
56 semigroups >= 0.15 && <0.19,
57 time >= 1.4 && <1.7,
58 text >= 0.11 && <1.3,
59 mtl >= 1.0 && <2.3,
60 transformers >= 0.2 && <0.6,
61 http-types >= 0.8 && <0.10,
62 vector >= 0.10.9 && <0.13,
63 scientific >= 0.3.0.0 && <0.4.0.0,
64 exceptions,
65 data-default-class,
66 blaze-builder,
67 unordered-containers,
68 mtl-compat,
69 hashable
70 default-language: Haskell2010
72test-suite tests
73 ghc-options: -Wall -fno-warn-orphans
74 if flag(Validate)
75 ghc-options: -Werror
76 type: exitcode-stdio-1.0
77 main-is: tests.hs
78 if flag(ES5)
79 hs-source-dirs: tests/V5
80 else
81 hs-source-dirs: tests/V1
82 build-depends: base,
83 bloodhound,
84 bytestring,
85 http-client,
86 http-types,
87 containers,
88 hspec >= 1.8,
89 text,
90 time,
91 aeson,
92 semigroups,
93 QuickCheck,
94 vector,
95 unordered-containers >= 0.2.5.0 && <0.3,
96 mtl,
97 quickcheck-properties,
98 generics-sop >=0.2 && <0.3,
99 errors,
100 exceptions,
101 temporary,
102 unix-compat,
103 network-uri
104 default-language: Haskell2010