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