git.iko.soy/typeable/bloodhound
on e66814c help sign in
typeable/bloodhound/bloodhound.cabal
135 lines 5.4 kB history raw
1name: bloodhound
2version: 0.16.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: 2018 Chris Allen
11category: Database, Search
12build-type: Simple
13cabal-version: >=1.10
15extra-source-files:
16 README.md
17 changelog.md
18 -- We do this to avoid package check errors when uploading to hackage
19 tests/V1/tests.hs
20 tests/V5/tests.hs
22source-repository head
23 type: git
24 location: https://github.com/bitemyapp/bloodhound.git
26Flag ES1
27 Description: Run the test suite against an Elasticsearch 1.x server
28 Default: False
30Flag ES5
31 Description: Run the test suite against an Elasticsearch 5.x server
32 Default: True
34library
35 ghc-options: -Wall
36 exposed-modules: Database.V5.Bloodhound
37 Database.V5.Bloodhound.Client
38 Database.V5.Bloodhound.Types
39 Database.V5.Bloodhound.Types.Class
40 Database.V5.Bloodhound.Internal.Aggregation
41 Database.V5.Bloodhound.Internal.Analysis
42 Database.V5.Bloodhound.Internal.Client
43 Database.V5.Bloodhound.Internal.Highlight
44 Database.V5.Bloodhound.Internal.Newtypes
45 Database.V5.Bloodhound.Internal.Query
46 Database.V5.Bloodhound.Internal.Sort
47 Database.V5.Bloodhound.Internal.StringlyTyped
48 Database.V5.Bloodhound.Internal.Suggest
50 Database.V1.Bloodhound
51 Database.V1.Bloodhound.Client
52 Database.V1.Bloodhound.Types
53 Database.V1.Bloodhound.Types.Class
54 Database.V1.Bloodhound.Internal.Aggregation
55 Database.V1.Bloodhound.Internal.Client
56 Database.V1.Bloodhound.Internal.Highlight
57 Database.V1.Bloodhound.Internal.Newtypes
58 Database.V1.Bloodhound.Internal.Query
59 Database.V1.Bloodhound.Internal.Sort
60 Database.V1.Bloodhound.Internal.StringlyTyped
61 Database.V1.Bloodhound.Internal.Suggest
63 other-modules: Bloodhound.Import
64 Database.Bloodhound.Common.Script
65 hs-source-dirs: src
66 build-depends: base >= 4.3 && <5,
67 bytestring >= 0.10.0 && <0.11,
68 containers >= 0.5.0.0 && <0.6,
69 aeson >= 0.11.1 && <1.3,
70 http-client >= 0.4.30 && <0.6,
71 network-uri >= 2.6 && <2.7,
72 semigroups >= 0.15 && <0.19,
73 time >= 1.4 && <1.9,
74 text >= 0.11 && <1.3,
75 mtl >= 1.0 && <2.3,
76 transformers >= 0.2 && <0.6,
77 http-types >= 0.8 && <0.13,
78 vector >= 0.10.9 && <0.13,
79 scientific >= 0.3.0.0 && <0.4.0.0,
80 blaze-builder,
81 exceptions,
82 hashable,
83 unordered-containers
84 default-language: Haskell2010
86test-suite bloodhound-tests
87 ghc-options: -Wall -fno-warn-orphans
88 type: exitcode-stdio-1.0
89 main-is: tests.hs
90 if flag(ES1)
91 hs-source-dirs: tests/V1
92 else
93 hs-source-dirs: tests/V5
94 other-modules: Test.Aggregation
95 Test.ApproxEq
96 Test.BulkAPI
97 Test.Common
98 Test.Documents
99 Test.Generators
100 Test.Highlights
101 Test.Import
102 Test.Indices
103 Test.JSON
104 Test.Query
105 Test.Snapshots
106 Test.Sorting
107 Test.SourceFiltering
108 Test.Suggest
109 Test.Templates
110 build-depends: base,
111 bloodhound,
112 bytestring,
113 http-client,
114 http-types,
115 containers,
116 hspec >= 1.8,
117 text,
118 time,
119 aeson,
120 semigroups,
121 QuickCheck,
122 vector,
123 unordered-containers >= 0.2.5.0 && <0.3,
124 mtl,
125 pretty-simple,
126 quickcheck-arbitrary-template,
127 quickcheck-properties,
128 errors,
129 exceptions,
130 temporary,
131 unix-compat,
132 network-uri,
133 microlens,
134 microlens-aeson
135 default-language: Haskell2010