git.iko.soy/typeable/bloodhound
on 50d015d help sign in
typeable/bloodhound/bloodhound.cabal
127 lines 5.0 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
49 Database.V1.Bloodhound
50 Database.V1.Bloodhound.Client
51 Database.V1.Bloodhound.Types
52 Database.V1.Bloodhound.Types.Class
53 Database.V1.Bloodhound.Types.Internal
54 other-modules: Bloodhound.Import
55 Database.Bloodhound.Common.Script
56 hs-source-dirs: src
57 build-depends: base >= 4.3 && <5,
58 bytestring >= 0.10.0 && <0.11,
59 containers >= 0.5.0.0 && <0.6,
60 aeson >= 0.11.1 && <1.3,
61 http-client >= 0.4.30 && <0.6,
62 network-uri >= 2.6 && <2.7,
63 semigroups >= 0.15 && <0.19,
64 time >= 1.4 && <1.9,
65 text >= 0.11 && <1.3,
66 mtl >= 1.0 && <2.3,
67 transformers >= 0.2 && <0.6,
68 http-types >= 0.8 && <0.13,
69 vector >= 0.10.9 && <0.13,
70 scientific >= 0.3.0.0 && <0.4.0.0,
71 blaze-builder,
72 exceptions,
73 hashable,
74 unordered-containers
75 default-language: Haskell2010
77test-suite bloodhound-tests
78 ghc-options: -Wall -fno-warn-orphans
79 type: exitcode-stdio-1.0
80 main-is: tests.hs
81 if flag(ES1)
82 hs-source-dirs: tests/V1
83 else
84 hs-source-dirs: tests/V5
85 other-modules: Test.Aggregation
86 Test.ApproxEq
87 Test.BulkAPI
88 Test.Common
89 Test.Documents
90 Test.Generators
91 Test.Highlights
92 Test.Import
93 Test.Indices
94 Test.JSON
95 Test.Query
96 Test.Script
97 Test.Snapshots
98 Test.Sorting
99 Test.SourceFiltering
100 Test.Suggest
101 Test.Templates
102 build-depends: base,
103 bloodhound,
104 bytestring,
105 http-client,
106 http-types,
107 containers,
108 hspec >= 1.8,
109 text,
110 time,
111 aeson,
112 semigroups,
113 QuickCheck,
114 vector,
115 unordered-containers >= 0.2.5.0 && <0.3,
116 mtl,
117 pretty-simple,
118 quickcheck-arbitrary-template,
119 quickcheck-properties,
120 errors,
121 exceptions,
122 temporary,
123 unix-compat,
124 network-uri,
125 microlens,
126 microlens-aeson
127 default-language: Haskell2010