-
Notifications
You must be signed in to change notification settings - Fork 9
/
hw-kafka-avro.cabal
118 lines (109 loc) · 4.98 KB
/
hw-kafka-avro.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
cabal-version: 2.4
name: hw-kafka-avro
version: 6.0.2
synopsis: Avro support for Kafka infrastructure
description: Avro support for Kafka infrastructure.
category: Services
homepage: https://github.com/haskell-works/hw-kafka-avro#readme
bug-reports: https://github.com/haskell-works/hw-kafka-avro/issues
author: Alexey Raga
maintainer: [email protected]
copyright: Alexey Raga
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
tested-with: GHC == 9.10.1, GHC == 9.8.2, GHC == 9.6.6
extra-source-files: README.md
source-repository head
type: git
location: https://github.com/haskell-works/hw-kafka-avro
flag examples
description: Also compile examples
manual: True
default: False
common base { build-depends: base >= 4 && < 5 }
common avro { build-depends: avro >= 0.6.0.2 && < 0.7 }
common aeson { build-depends: aeson >= 2.0.1.0 }
common binary { build-depends: binary }
common bytestring { build-depends: bytestring }
common containers { build-depends: containers }
common cache { build-depends: cache }
common fail { build-depends: fail }
common hashable { build-depends: hashable }
common hedgehog { build-depends: hedgehog }
common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog }
common hspec { build-depends: hspec }
common lens { build-depends: lens }
common mtl { build-depends: mtl }
common semigroups { build-depends: semigroups }
common tagged { build-depends: tagged }
common http-client { build-depends: http-client }
common http-types { build-depends: http-types }
common text { build-depends: text >= 1.2.3 && < 1.3 || >= 2.0 && < 2.2 }
common transformers { build-depends: transformers >= 0.5.6.2 && < 0.7 }
common unordered-containers { build-depends: unordered-containers }
common safe-exceptions { build-depends: safe-exceptions >= 0.1.7.2 && < 0.2 }
common wreq { build-depends: wreq }
common config
default-language: Haskell2010
library
import: base
, aeson
, avro
, binary
, bytestring
, cache
, containers
, hashable
, http-client
, http-types
, lens
, mtl
, safe-exceptions
, semigroups
, tagged
, text
, transformers
, unordered-containers
, wreq
, config
exposed-modules:
Kafka.Avro
Kafka.Avro.Decode
Kafka.Avro.Encode
Kafka.Avro.SchemaRegistry
hs-source-dirs: src
executable kafka-avro-example
import: base
, aeson
, avro
, bytestring
, cache
, containers
, lens
, mtl
, semigroups
, text
, transformers
, unordered-containers
, config
main-is: Main.hs
other-modules:
Message
hs-source-dirs: example
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: hw-kafka-avro
if !(flag(examples))
buildable: False
test-suite kafka-avro-test
import: base
, config
, hedgehog
, hspec
, hw-hspec-hedgehog
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: hw-kafka-avro