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