packages feed

kafka-client-0.7.0.1: kafka-client.cabal

name          : kafka-client
version       : 0.7.0.1
synopsis      : Low-level Haskell client library for Apache Kafka 0.7.
homepage      : https://github.com/abhinav/kafka-client
license       : MIT
license-file  : LICENSE
author        : Abhinav Gupta
maintainer    : Abhinav Gupta <mail@abhinavg.net>
category      : Network
build-type    : Simple
cabal-version : >=1.10
description   :
    This package implements a low-level client client library to interface
    with <http://kafka.apache.org/ Apache Kafka> 0.7.
    .
    __Kafka 0.8 and newer are not yet supported.__
extra-source-files:
    README.md
    CHANGES.md
    examples/*.hs

library
  exposed-modules  : Kafka
                   , Kafka.Internal
                   , Kafka.Internal.Request
                   , Kafka.Internal.Response
                   , Kafka.Internal.Transport
                   , Kafka.Internal.Types
  hs-source-dirs   : src
  ghc-options      : -Wall
  build-depends    : base       >= 4.7   && < 4.9

                   , bytestring >= 0.10
                   , cereal     >= 0.4
                   , digest     >= 0.0.1
                   , dlist      >= 0.7
                   , network    >= 2.4
                   , snappy     >= 0.2
                   , time       >= 1.4
                   , zlib       >= 0.5

                   -- Test suite-only dependencies:
                   -- Workaround for ghc-mod #339. Uncomment while developing.
                   -- , containers
                   -- , hspec
                   -- , hspec-discover
                   -- , process
                   -- , temporary
                   -- , QuickCheck
  default-language : Haskell2010

test-suite spec
  type             : exitcode-stdio-1.0
  ghc-options      : -Wall
  hs-source-dirs   : test test-lib
  main-is          : Spec.hs
  other-modules    : Kafka.Internal.TypesSpec
                   , Test.Kafka.Arbitrary
  build-depends    : base

                   , bytestring
                   , cereal
                   , hspec          >= 2.0
                   , hspec-discover >= 2.1
                   , QuickCheck     >= 2.5
                   , time

                   , kafka-client
  default-language : Haskell2010

flag integration
  default     : False
  description : Enable integration tests.

test-suite integration-test
  if flag(integration)
    buildable      : True
  else
    buildable      : False
  type             : exitcode-stdio-1.0
  ghc-options      : -Wall
  hs-source-dirs   : integration-test test-lib
  main-is          : IntegrationTest.hs
  other-modules    : KafkaSpec
                   , Test.Kafka.Arbitrary
                   , Test.Kafka.Managed
  build-depends    : base

                   , bytestring
                   , cereal
                   , containers
                   , hspec          >= 2.0
                   , hspec-discover >= 2.1
                   , network        >= 2.4
                   , process        >= 1.2
                   , QuickCheck     >= 2.5
                   , temporary      >= 1.2
                   , time

                   , kafka-client
  default-language : Haskell2010


source-repository head
    type: git
    location: git://github.com/abhinav/kafka-client.git