packages feed

hw-kafka-client 2.6.0 → 2.6.1

raw patch · 3 files changed

+17/−22 lines, 3 files

Files

README.md view
@@ -180,6 +180,15 @@      LDFLAGS=-L/usr/local/opt/openssl/lib CPPFLAGS=-I/usr/local/opt/openssl/include ./configure +If you are using Stack with Nix, don't forget to declare `rdkafka` as extra package:+```yaml+# stack.yaml+nix:+  enable: true+  packages:+    - rdkafka+```+ ## Installing Kafka  The full Kafka guide is at http://kafka.apache.org/documentation.html#quickstart
hw-kafka-client.cabal view
@@ -1,5 +1,5 @@ name:           hw-kafka-client-version:        2.6.0+version:        2.6.1 synopsis:       Kafka bindings for Haskell description:    Apache Kafka bindings backed by the librdkafka C library.                 .@@ -32,16 +32,14 @@   default: False  library-  hs-source-dirs:-      src+  hs-source-dirs: src   ghc-options:     -Wall     -Wcompat     -Wincomplete-record-updates     -Wincomplete-uni-patterns     -Wredundant-constraints-  extra-libraries:-      rdkafka+  extra-libraries: rdkafka   build-depends:       base >=4.6 && <5     , bifunctors@@ -50,8 +48,7 @@     , text     , transformers     , unix-  build-tools:-      c2hs+  build-tools: c2hs   if impl(ghc <8.0)     build-depends:         semigroups@@ -78,36 +75,28 @@       Kafka.Internal.Shared       Kafka.Producer.Callbacks       Kafka.Producer.Convert-      Paths_hw_kafka_client   default-language: Haskell2010  executable kafka-client-example   main-is: Main.hs-  hs-source-dirs:-      example+  hs-source-dirs: example   ghc-options: -threaded -rtsopts   build-depends:       base >=4.6 && <5-    , bifunctors     , bytestring-    , containers     , hw-kafka-client     , text-    , transformers-    , unix   if !(flag(examples))     buildable: False   other-modules:       ConsumerExample       ProducerExample-      Paths_hw_kafka_client   default-language: Haskell2010  test-suite integration-tests   type: exitcode-stdio-1.0   main-is: Spec.hs-  hs-source-dirs:-      tests-it+  hs-source-dirs: tests-it   ghc-options: -Wall -threaded   build-depends:       base >=4.6 && <5@@ -123,14 +112,12 @@   other-modules:       Kafka.IntegrationSpec       Kafka.TestEnv-      Paths_hw_kafka_client   default-language: Haskell2010  test-suite tests   type: exitcode-stdio-1.0   main-is: Spec.hs-  hs-source-dirs:-      tests+  hs-source-dirs: tests   ghc-options: -Wall -threaded   build-depends:       base >=4.6 && <5@@ -145,5 +132,4 @@   other-modules:       Kafka.Consumer.ConsumerRecordMapSpec       Kafka.Consumer.ConsumerRecordTraverseSpec-      Paths_hw_kafka_client   default-language: Haskell2010
src/Kafka/Internal/RdKafka.chs view
@@ -827,7 +827,7 @@     {enumToCInt `RdKafkaTypeT', `RdKafkaConfTPtr', id `CCharBufPointer', cIntConv `CSize'}     -> `RdKafkaTPtr' #} -foreign import ccall unsafe "rdkafka.h &rd_kafka_destroy"+foreign import ccall safe "rdkafka.h &rd_kafka_destroy"     rdKafkaDestroy :: FunPtr (Ptr RdKafkaT -> IO ())  newRdKafkaT :: RdKafkaTypeT -> RdKafkaConfTPtr -> IO (Either Text RdKafkaTPtr)