git.iko.soy/typeable/bloodhound
on 717c442 help sign in
typeable/bloodhound/bloodhound.cabal
137 lines 5.5 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.Internal.Aggregation
40 Database.V5.Bloodhound.Internal.Analysis
41 Database.V5.Bloodhound.Internal.Client
42 Database.V5.Bloodhound.Internal.Highlight
43 Database.V5.Bloodhound.Internal.Newtypes
44 Database.V5.Bloodhound.Internal.Query
45 Database.V5.Bloodhound.Internal.Sort
46 Database.V5.Bloodhound.Internal.StringlyTyped
47 Database.V5.Bloodhound.Internal.Suggest
49 Database.V1.Bloodhound
50 Database.V1.Bloodhound.Client
51 Database.V1.Bloodhound.Types
52 Database.V1.Bloodhound.Types.Class
53 Database.V1.Bloodhound.Internal.Aggregation
54 Database.V1.Bloodhound.Internal.Client
55 Database.V1.Bloodhound.Internal.Highlight
56 Database.V1.Bloodhound.Internal.Newtypes
57 Database.V1.Bloodhound.Internal.Query
58 Database.V1.Bloodhound.Internal.Sort
59 Database.V1.Bloodhound.Internal.StringlyTyped
60 Database.V1.Bloodhound.Internal.Suggest
62 other-modules: Bloodhound.Import
63 Database.Bloodhound.Common.Script
64 hs-source-dirs: src
65 build-depends: base >= 4.3 && <5,
66 aeson >= 0.11.1,
67 blaze-builder,
68 bytestring >= 0.10.0 && <0.11,
69 containers >= 0.5.0.0 && <0.6,
70 exceptions,
71 hashable,
72 http-client >= 0.4.30 && <0.7,
73 http-types >= 0.8 && <0.13,
74 mtl >= 1.0 && <2.3,
75 network-uri >= 2.6 && <2.7,
76 scientific >= 0.3.0.0 && <0.4.0.0,
77 semigroups >= 0.15 && <0.19,
78 semver,
79 text >= 0.11 && <1.3,
80 time >= 1.4 && <1.9,
81 transformers >= 0.2 && <0.6,
82 unordered-containers,
83 vector >= 0.10.9 && <0.13
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.Script
95 other-modules: Test.Aggregation
96 Test.ApproxEq
97 Test.BulkAPI
98 Test.Common
99 Test.Documents
100 Test.Generators
101 Test.Highlights
102 Test.Import
103 Test.Indices
104 Test.JSON
105 Test.Query
106 Test.Snapshots
107 Test.Sorting
108 Test.SourceFiltering
109 Test.Suggest
110 Test.Templates
111 build-depends: base,
112 QuickCheck,
113 aeson,
114 bloodhound,
115 bytestring,
116 containers,
117 errors,
118 exceptions,
119 hspec >= 1.8,
120 http-client,
121 http-types,
122 microlens,
123 microlens-aeson,
124 mtl,
125 network-uri,
126 pretty-simple,
127 quickcheck-arbitrary-template,
128 quickcheck-properties,
129 semigroups,
130 semver,
131 temporary,
132 text,
133 time,
134 unix-compat,
135 unordered-containers >= 0.2.5.0 && <0.3,
136 vector
137 default-language: Haskell2010