Skip to content

Commit 93bba89

Browse files
authored
Merge pull request #133 from haskell-works/support-ghc-8.10.1
Support ghc-8.10.1
2 parents a7e877b + 3de0a42 commit 93bba89

File tree

2 files changed

+118
-117
lines changed

2 files changed

+118
-117
lines changed

.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,24 @@ workflows:
7373
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
7474
cabal-test-extra: --test-show-details=direct
7575

76+
- haskell/build-with-binary-cache:
77+
name: GHC 8.10.1
78+
executor:
79+
name: cabal-build
80+
ghc-version: 8.10.1
81+
before-build: [build-librdkafka]
82+
context: haskell-ci
83+
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
84+
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
85+
cabal-test-extra: --test-show-details=direct
86+
7687
- merge-point/merge-point:
7788
name: Build Ok
7889
requires:
7990
- GHC 8.4.4
8091
- GHC 8.6.5
8192
- GHC 8.8.3
93+
- GHC 8.10.1
8294

8395
- github/release-cabal:
8496
name: GitHub Release

hw-kafka-client.cabal

Lines changed: 106 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
1-
name: hw-kafka-client
2-
version: 3.0.0
3-
synopsis: Kafka bindings for Haskell
4-
description: Apache Kafka bindings backed by the librdkafka C library.
5-
.
6-
Features include:
7-
.
8-
* Consumer groups: auto-rebalancing consumers
9-
.
10-
* Keyed and keyless messages producing/consuming
11-
.
12-
* Batch producing messages
13-
category: Database
14-
homepage: https://github.com/haskell-works/hw-kafka-client
15-
bug-reports: https://github.com/haskell-works/hw-kafka-client/issues
16-
author: Alexey Raga <[email protected]>
17-
maintainer: Alexey Raga <[email protected]>
18-
license: MIT
19-
license-file: LICENSE
20-
build-type: Simple
21-
cabal-version: >= 1.10
22-
extra-source-files:
23-
README.md
1+
cabal-version: 2.2
2+
3+
name: hw-kafka-client
4+
version: 3.0.0
5+
synopsis: Kafka bindings for Haskell
6+
description: Apache Kafka bindings backed by the librdkafka C library.
7+
.
8+
Features include:
9+
.
10+
* Consumer groups: auto-rebalancing consumers
11+
.
12+
* Keyed and keyless messages producing/consuming
13+
.
14+
* Batch producing messages
15+
category: Database
16+
homepage: https://github.com/haskell-works/hw-kafka-client
17+
bug-reports: https://github.com/haskell-works/hw-kafka-client/issues
18+
author: Alexey Raga <[email protected]>
19+
maintainer: Alexey Raga <[email protected]>
20+
license: MIT
21+
license-file: LICENSE
22+
tested-with: GHC == 8.10.1, GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4
23+
build-type: Simple
24+
extra-source-files: README.md
2425

2526
source-repository head
2627
type: git
@@ -32,106 +33,94 @@ flag examples
3233
default: False
3334

3435
library
35-
hs-source-dirs: src
36-
ghc-options:
37-
-Wall
38-
-Wcompat
39-
-Wincomplete-record-updates
40-
-Wincomplete-uni-patterns
41-
-Wredundant-constraints
42-
extra-libraries: rdkafka
43-
build-depends:
44-
base >=4.6 && <5
45-
, bifunctors
46-
, bytestring
47-
, containers
48-
, text
49-
, transformers
50-
, unix
51-
build-tools: c2hs
36+
hs-source-dirs: src
37+
ghc-options: -Wall
38+
-Wcompat
39+
-Wincomplete-record-updates
40+
-Wincomplete-uni-patterns
41+
-Wredundant-constraints
42+
extra-libraries: rdkafka
43+
build-depends: base >=4.6 && <5
44+
, bifunctors
45+
, bytestring
46+
, containers
47+
, text
48+
, transformers
49+
, unix
50+
build-tool-depends: c2hs:c2hs
5251
if impl(ghc <8.0)
53-
build-depends:
54-
semigroups
55-
exposed-modules:
56-
Kafka.Consumer
57-
Kafka.Consumer.ConsumerProperties
58-
Kafka.Consumer.Subscription
59-
Kafka.Consumer.Types
60-
Kafka.Dump
61-
Kafka.Metadata
62-
Kafka.Producer
63-
Kafka.Producer.ProducerProperties
64-
Kafka.Producer.Types
65-
Kafka.Types
66-
other-modules:
67-
Kafka.Callbacks
68-
Kafka.Consumer.Callbacks
69-
Kafka.Consumer.Convert
70-
Kafka.Internal.RdKafka
71-
Kafka.Internal.Setup
72-
Kafka.Internal.Shared
73-
Kafka.Producer.Callbacks
74-
Kafka.Producer.Convert
75-
default-language: Haskell2010
52+
build-depends: semigroups
53+
exposed-modules: Kafka.Consumer
54+
Kafka.Consumer.ConsumerProperties
55+
Kafka.Consumer.Subscription
56+
Kafka.Consumer.Types
57+
Kafka.Dump
58+
Kafka.Metadata
59+
Kafka.Producer
60+
Kafka.Producer.ProducerProperties
61+
Kafka.Producer.Types
62+
Kafka.Types
63+
other-modules: Kafka.Callbacks
64+
Kafka.Consumer.Callbacks
65+
Kafka.Consumer.Convert
66+
Kafka.Internal.RdKafka
67+
Kafka.Internal.Setup
68+
Kafka.Internal.Shared
69+
Kafka.Producer.Callbacks
70+
Kafka.Producer.Convert
71+
default-language: Haskell2010
7672

7773
executable kafka-client-example
78-
main-is: Main.hs
79-
hs-source-dirs: example
80-
ghc-options: -threaded -rtsopts
81-
build-depends:
82-
base >=4.6 && <5
83-
, bytestring
84-
, hw-kafka-client
85-
, text
74+
main-is: Main.hs
75+
hs-source-dirs: example
76+
ghc-options: -threaded -rtsopts
77+
build-depends: base >=4.6 && <5
78+
, bytestring
79+
, hw-kafka-client
80+
, text
8681
if !(flag(examples))
87-
buildable: False
82+
buildable: False
8883
other-modules:
89-
ConsumerExample
90-
ProducerExample
91-
default-language: Haskell2010
84+
ConsumerExample
85+
ProducerExample
86+
default-language: Haskell2010
9287

9388
test-suite integration-tests
94-
type: exitcode-stdio-1.0
95-
main-is: Spec.hs
96-
hs-source-dirs: tests-it
97-
ghc-options: -Wall -threaded
98-
build-depends:
99-
base >=4.6 && <5
100-
, bifunctors
101-
, bytestring
102-
, containers
103-
, either
104-
, hspec
105-
, hw-kafka-client
106-
, monad-loops
107-
, random
108-
, text
109-
, transformers
110-
build-tool-depends:
111-
hspec-discover:hspec-discover
112-
other-modules:
113-
Kafka.IntegrationSpec
114-
Kafka.TestEnv
115-
default-language: Haskell2010
89+
type: exitcode-stdio-1.0
90+
main-is: Spec.hs
91+
hs-source-dirs: tests-it
92+
ghc-options: -Wall -threaded
93+
build-depends: base >=4.6 && <5
94+
, bifunctors
95+
, bytestring
96+
, containers
97+
, either
98+
, hspec
99+
, hw-kafka-client
100+
, monad-loops
101+
, random
102+
, text
103+
, transformers
104+
build-tool-depends: hspec-discover:hspec-discover
105+
other-modules: Kafka.IntegrationSpec
106+
Kafka.TestEnv
107+
default-language: Haskell2010
116108

117109
test-suite tests
118-
type: exitcode-stdio-1.0
119-
main-is: Spec.hs
120-
hs-source-dirs: tests
121-
ghc-options: -Wall -threaded
122-
build-depends:
123-
base >=4.6 && <5
124-
, bifunctors
125-
, bytestring
126-
, containers
127-
, either
128-
, hspec
129-
, hw-kafka-client
130-
, text
131-
, monad-loops
132-
build-tool-depends:
133-
hspec-discover:hspec-discover
134-
other-modules:
135-
Kafka.Consumer.ConsumerRecordMapSpec
136-
Kafka.Consumer.ConsumerRecordTraverseSpec
137-
default-language: Haskell2010
110+
type: exitcode-stdio-1.0
111+
main-is: Spec.hs
112+
hs-source-dirs: tests
113+
ghc-options: -Wall -threaded
114+
build-depends: base >=4.6 && <5
115+
, bifunctors
116+
, bytestring
117+
, containers
118+
, either
119+
, hspec
120+
, hw-kafka-client
121+
, text
122+
, monad-loops
123+
build-tool-depends: hspec-discover:hspec-discover
124+
other-modules: Kafka.Consumer.ConsumerRecordMapSpec
125+
Kafka.Consumer.ConsumerRecordTraverseSpec
126+
default-language: Haskell2010

0 commit comments

Comments
 (0)